Bug 30447 - Regression: LibreOffice 7.3 can't display dropdown menus properly in Plasma Wayland
Summary: Regression: LibreOffice 7.3 can't display dropdown menus properly in Plasma W...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-18 14:49 CEST by Andrew Piubellini
Modified: 2022-09-05 01:40 CEST (History)
2 users (show)

See Also:
Source RPM: libreoffice-7.3.2.2
CVE:
Status comment:


Attachments
LibreOffice 7.2.5.2 (before the regression was introduced) (158.51 KB, image/png)
2022-05-18 14:54 CEST, Andrew Piubellini
Details
LibreOffice 7.3.2.2 (after the regression was introduced) (167.91 KB, image/png)
2022-05-18 14:56 CEST, Andrew Piubellini
Details

Description Andrew Piubellini 2022-05-18 14:49:55 CEST
Description of problem:

Ever since the upgrade from LibreOffice 7.2.5.2 to LibreOffice 7.3.2.2, LibreOffice has been unable to properly display dropdown menus in Plasma Wayland (it works fine in GNOME Wayland and Plasma X). As a workaround, you can start it from the command line using "QT_QPA_PLATFORM=xcb libreoffice", which forces it to run on XWayland (but we can't expect the average user to figure out something like this).

When running LibreOffice 7.3 on Plasma Wayland, if no popup windows are currently open, then attempting to open a dropdown menu will result in the dropdown being displayed in the centre of the screen, instead of being displayed in the position it should appear (see the attached screenshots for an example). Furthermore, the dropdown menu appears as a window in the Plasma task manager, titled "soffice.bin".

If a popup window (for example, the "Print..." dialog) is currently open, then the dropdown menu (and the associated "soffice.bin" window) will appear for a split second, only to disappear, making it unusable.

This renders many features of LibreOffice unusable in Plasma Wayland (unless started with "QT_QPA_PLATFORM=xcb") - for example, it's impossible to switch to a different printer in the "Print..." dialog.

This issue does NOT affect File/Edit/View/etc. menus, or the dropdown menus in the Open or Save dialogs (presumably because the Open and Save dialogs are provided by Plasma, rather than by LibreOffice).

Perhaps a section should be added to the Mageia 8 Errata, advising Plasma Wayland users to start LibreOffice using "QT_QPA_PLATFORM=xcb libreoffice"?

Version-Release number of selected component (if applicable):

7.3.2.2-1.mga8

How reproducible:

Always (as long as you are using Plasma Wayland, and NOT using "QT_QPA_PLATFORM=xcb")

Steps to Reproduce:

1. Make sure you have the "plasma-workspace-wayland" package installed, and install it if you don't already have it
2. When logging in from your Display Manager, make sure to select "Plasma (Wayland)" as your session (tested in SDDM and GDM - "Plasma (Wayland)" may not be available in lightweight Display Managers)
3. Open LibreOffice Draw (note all LibreOffice applications are affected - I just designed these steps for Draw)
4. In the "Properties" panel to the right, attempt to open any of the dropdown menus (you may need to click several times to get it to open), and observe what happens
5. In the top-left, open the "File" menu, and select "Print..."
6. Attempt to open any of the dropdown menus, and observe what happens

Actual results:

When opening dropdowns in the "Properties" panel, the dropdown appears in the centre of the screen, and a window titled "soffice.bin" appears in the task manager. When attempting to open dropdowns in the "Print..." dialog, they don't stay open.

Expected results:

All dropdown menus should open after only one attempt at clicking on them, should not instantly disappear, and should not spawn a window in the task manager.
Comment 1 Andrew Piubellini 2022-05-18 14:54:01 CEST
Created attachment 13251 [details]
LibreOffice 7.2.5.2 (before the regression was introduced)

Screenshot of the "Format" dropdown menu in LibreOffice Impress 7.2.5.2, before this regression was introduced. Note that the dropdown has appeared in the correct position, and has not spawned a window in the Plasma task manager.
Comment 2 Andrew Piubellini 2022-05-18 14:56:12 CEST
Created attachment 13252 [details]
LibreOffice 7.3.2.2 (after the regression was introduced)

Screenshot of the "Format" dropdown menu in LibreOffice Impress 7.3.2.2, after this regression was introduced. Note that the dropdown has appeared in the centre of the screen, and has spawned a window in the Plasma task manager, titled "soffice.bin".
Comment 3 Marja Van Waes 2022-05-18 21:28:09 CEST
Assigning to our registered libreoffice maintainer

Assignee: bugsquad => thierry.vignaud
Source RPM: (none) => libreoffice-7.3.2.2
CC: (none) => marja11

Comment 4 Jose Manuel López 2022-05-20 13:46:28 CEST
Perhaps, this appears because our plasma version is old and outdated and don't by the new libreoffice version., and we should update to the last lts version 5.24. Can we check if this bug appears in wayland cauldron?. Here in Plasma 5.24 LTS, there are improvemets and bugfixes for wayland environment.

I can add, that in Waylan session of our current plasma, the start button don't work.

Greetings!

CC: (none) => joselp

Comment 5 Andrew Piubellini 2022-09-05 01:40:18 CEST
The bug is now fixed. I'm not sure how long it's been fixed, or which update fixed it. I only discovered the fix today, because I accidentally opened a dropdown menu, and it worked (i.e. dropdown menus look like Attachment 13251 [details] now, like they're supposed to).

@Jose Sorry I never replied to your request - I haven't yet had time to install a Cauldron system.

Anyway, I'm marking this as RESOLVED FIXED.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.