Bug 263636 - x11/mate with editors/libreoffice: MATE desktop locks (a LibreOffice Calc modal dialogue is not seen)
Summary: x11/mate with editors/libreoffice: MATE desktop locks (a LibreOffice Calc mod...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL: https://www.freshports.org/x11/mate/
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-04-28 19:35 UTC by James B. Byrne
Modified: 2023-01-04 00:16 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (office)
grahamperrin: maintainer-feedback? (gnome)


Attachments
Screenshot: modal dialogue (59.85 KB, image/png)
2023-01-04 00:04 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James B. Byrne 2022-04-28 19:35:17 UTC
FreeBSD-12.3p2
LibreOffice-7.3.2.2

Problem:  If an attempt is made to edit a protected cell the Calc application enters a tight loop condition and locks the entire mate desktop.

How to reproduce:

Open spreadsheet
enter data in a cell
protect the sheet
edit the data in the now protected cell

Expected behaviour:
Display a warning message to the effect that protected cells cannot be editied.

Observed behaviour:
Calc application becomes non-responsive as does the entire desktop.  

Work around applied:
Log onto desktop from remote host and kill oosplash process.
Comment 1 James B. Byrne 2022-08-30 15:56:54 UTC
Bug persists in latest version

pkg info libreoffice
libreoffice-7.3.4.2
Name           : libreoffice
Version        : 7.3.4.2
Installed on   : Thu Jul 21 09:17:41 2022 EDT

This is a really serious bug.  When triggered it locks the entire iser desktop and keyboard.  This means the process can only be terminated by restarting the host or logging on to the affected device from an alternate host and using root privileges to kill the calc process.
Comment 2 Dima Panov freebsd_committer freebsd_triage 2022-09-01 08:49:00 UTC
Cannot reproduce :(

It correctly reports "Protected cell can not be modified"

Screenshot:
https://disk.yandex.ru/d/QrD5zmJWmFWEyg
Comment 3 James B. Byrne 2022-09-01 14:04:28 UTC
Calc shows the modal window stating that protected cells cannot be changed but at the same time it locks the desktop and no further interaction (other than moving the mouse cursor) is possible.  The desktop is Mate.

The OK button on the modal screen is non-operative.  And all other desktop windows are non-responsive.  This indicates to me that there is some interaction with mate that is triggering this.

CPU utilization does not spike.

Logging on to the host system via ssh and killing the soffice.bin pid unlocks the system.

mate-1.26.0 installed Wed Jan 12 11:42:34 2022 EST

libreoffice-7.3.5.2 installed Thu Sep  1 09:53:08 2022 EDT
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2023-01-04 00:04:58 UTC
Created attachment 239242 [details]
Screenshot: modal dialogue

(In reply to James B. Byrne from comment #0)

> Open spreadsheet
> enter data in a cell
> protect the sheet
> edit the data in the now protected cell
> 
> Expected behaviour:
> Display a warning message to the effect that protected cells 
> cannot be editied.

Actual behaviour does match expected behaviour. 

In the pictured dialogue: 

> Information
> 
> Protected cells can not be modified.
> 
> OK


% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #28 main-n259865-b079ca8593ed-dirty: Tue Dec 27 15:57:33 GMT 2022     grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400077 1400077
%
Comment 5 Graham Perrin freebsd_committer freebsd_triage 2023-01-04 00:16:02 UTC
Not reproducible at comment 2, not reproducible at comment 4 (KDE Plasma on FreeBSD 14.0-CURRENT). 

(In reply to James B. Byrne from comment #3)

> … indicates to me that there is some interaction with mate that is 
> triggering this. …

gnome@ can you think of anything? 

Thanks