Many UI elements (list box, drop down) don't work at all in kf5 environment

Bug #1944113 reported by Simon Czentnár
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
Medium
libreoffice (Ubuntu)
Fix Released
High
Rico Tzschichholz

Bug Description

Many UI elements (list box, drop down) don't work at all in kf5 environment. This makes LO unusable.
For example, try to insert a table from standard toolbar in LO Writer – nothing inserted.
Same happens with other drop down elements (styles, font family, font size, font color, font highlight, etc).

Bug reports at LO's bug tracker:
https://bugs.documentfoundation.org/show_bug.cgi?id=144037
https://bugs.documentfoundation.org/show_bug.cgi?id=144562
https://gerrit.libreoffice.org/c/core/+/122116

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.11.0-34-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4310U CPU @ 2.00GHz
Memory: 7,7 GiB

Version: 7.2.1.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Ubuntu package version: 1:7.2.1~rc2-0ubuntu0.20.04.1~lo3
Calc: threaded

Tags: kf5 ppa
Revision history for this message
In , Arojas-8 (arojas-8) wrote :

Description:
In 7.2.1, and using the KF5 VCL on Wayland, button popus don't open (or rather close immediately, making them unusable).

Like bug 144037, this is a regression from 9dcf5816c90e9819861332f11e014ef7b78e2fe7, but a1a83b6b3b4459de353e0cdc8cdf402370c0a5c4 does NOT fix this.

Steps to Reproduce:
1.Open Writer on Wayland with the KF5 VCL
2. Try to insert a table via the toolbar button

Actual Results:
Button popup disappears

Expected Results:
Button popup opens and can be used

Reproducible: Always

User Profile Reset: Yes

OpenGL enabled: Yes

Additional Info:
Version: 7.2.1.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+wayland)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
7.2.1-2
Calc: threaded

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

Yeah, they are rather wonky: they do open upon the second click, but are not placed below their parent element.

Arch Linux 64-bit
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 88a6ac9f75a4375b72111af5a3e004bef4226455
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 15 September 2021

Revision history for this message
In , Arojas-8 (arojas-8) wrote :

In kwin it doesn't open at all, no matter how many times I click.

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

(In reply to Antonio Rojas from comment #2)
> In kwin it doesn't open at all, no matter how many times I click.

It does for me, just not for you.

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1944113

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

(In reply to Buovjaga from comment #1)
> Yeah, they are rather wonky: they do open upon the second click, but are not
> placed below their parent element.

That's what I get as well w/ current master in a Plasma Wayland session on Debian testing (plasma-desktop 4:5.21.5-2, kwin-wayland 4:5.21.5-2).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libreoffice (Ubuntu):
status: New → Confirmed
Revision history for this message
David Gow (david-ingeniumdigital) wrote :

I can confirm this, and add that it's pretty critical as it breaks most of the formatting toolbar.

As a workaround, LibreOffice can be started with another VCL backend with:

SAL_USE_VCLPLUGIN=gtk3 lowriter

(or SAL_USE_VCLPLUGIN=gen, if you don't have the libreoffice-gtk3 package and/or prefer the old-school style)

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/a928bab9fb68ff8fe45aca212b3c794799db31f6

tdf#144585 Qt5 restore old VCL popup handling

It will be available in 7.2.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

Fixed by reverting the involved commits on the 7-2 branch for now. Let's leave this bug report open until there's a fix on the master branch, too.

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "libreoffice-7-2-2":

https://git.libreoffice.org/core/commit/dac5a26ae1108d9ad29e09a800601247fe8c50d6

tdf#144585 Qt5 restore old VCL popup handling

It will be available in 7.2.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
Rik Mills (rikmills) wrote :

Thank you for taking the time to report this bug and trying to help make Ubuntu better. However, it seems that you are not using a software package provided by the official Ubuntu repositories. Because of this the Ubuntu project can not support or fix your particular bug. Please report this bug to the provider of the software package. Thanks!

If you are interested in learning more about software repositories and Ubuntu, check https://help.ubuntu.com/community/Repositories.

NOTE: The latest Libre Office in the official repositories for 20.04 is at version 6.4.7 https://launchpad.net/ubuntu/+source/libreoffice

Changed in libreoffice (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Rik Mills (rikmills) wrote :

Adding tag PPA, as this is against the PPA packages and not the supported archive builds.

tags: added: ppa
Changed in libreoffice (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Rico Tzschichholz (ricotz) wrote (last edit ):

This still affects wayland environments

https://bugs.documentfoundation.org/show_bug.cgi?id=144585

Changed in libreoffice (Ubuntu):
status: Incomplete → Triaged
assignee: nobody → Rico Tzschichholz (ricotz)
importance: Undecided → High
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Fix Released
Changed in libreoffice (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libreoffice - 1:7.2.1-0ubuntu3

---------------
libreoffice (1:7.2.1-0ubuntu3) impish; urgency=medium

  * debian/patches/tdf-144412-Qt5-reset-m_nModKeyCode-on-key-input.patch
    - Qt5 reset m_nModKeyCode on key input
  * debian/patches/tdf-144585-Qt5-restore-old-VCL-popup-handling.patch
    - Qt5 restore old VCL popup handling (LP: #1944113)

libreoffice (1:7.2.1-4) unstable; urgency=medium

  [ merge from Ubuntu ]
  * debian/patches/arm-fp-mode.diff: Explicitly set fpu mode on armhf.
  (closes: #994698)

libreoffice (1:7.2.1-3) unstable; urgency=medium

  * debian/control.ure.in:
    - also add Breaks: to << 1:7.2.0 libreoffice-cores to ure...
      (closes: #994624)

libreoffice (1:7.2.1-2) unstable; urgency=medium

  * debian/control.in.
    - bump ure dependency for libreoffice-core to (>= 1:7.2.0~)
      (closes: #994624)

 -- Rico Tzschichholz <email address hidden> Mon, 27 Sep 2021 10:21:05 +0200

Changed in libreoffice (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

This is fixed in the 7-2 branch, but issue still exists on master (Wayland-only). Reopening the ticket, s.a. discussion in tdf#144037.

@Jan-Marek: Do you think it makes sense to revert the corresponding commits for master as well for now, until a better solution has been found?

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 144993 has been marked as a duplicate of this bug. ***

Changed in df-libreoffice:
status: Fix Released → Confirmed
Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 146942 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Edtoml (edtoml) wrote :

With kde plasma 5.24 and libre office 7.3.0.3 (up to date arch install) this is still happening. It is the only shows topper bug I have encountered here when using kde & wayland (with any application).

Revision history for this message
In , Ybx332 (ybx332) wrote :

Same problem using Debian kde 5.23.5 with wayland. My libreoffice version is 7.3.1. A temporary solution is to set the environment variable QT_QPA_PLATFORM=xcb before running libreoffice. So the command is QT_QPA_PLATFORM=xcb libreoffice. And this will make the program work just fine. Anyway hope the developer fix the issue soon.

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 147172 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

*** Bug 147534 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Christian Meyer (chrimy) wrote :

The same problem here on Arch Linux with KDE Plasma 5.2.4 Wayland session. Since libreOffice-fresh version 7.3.x the drop-down list controls doesn't respond to mouse or keyboard input (list doesn't drop down).
Libreoffice-still version 7.2.3 the drop-down list controls work, but this older version got the tiny toolbar problem.

Revision history for this message
In , Gjunk (gjunk) wrote :

Confirm issue on Arch using Wayland.

Xcb is a not great workaround; at least for me on 4k monitor, it looks pretty icky. Fonts render quite poorly.

Packages provided by Arch repo:

Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
7.3.0-5
Calc: threaded

qt5-base 5.15.2+kde+r301-1
lasma-desktop 5.24.1-1

Revision history for this message
In , shenlebantongying (slbtty) wrote :

Can confirm still exist in

Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-CA (en_CA.UTF-8); UI: en-US
7.3.0-6
Calc: threaded

Revision history for this message
In , Giorgio Cerina (giors-00) wrote :

Same on

Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 4; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+wayland)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
7.3.0-7
Calc: threaded

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

*** Bug 147745 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

(In reply to GeneC from comment #16)
> Xcb is a not great workaround; at least for me on 4k monitor, it looks
> pretty icky. Fonts render quite poorly.

Another option is to use the more mature gtk3 VCL plugin by setting environment variable SAL_USE_VCLPLUGIN=gtk3

Revision history for this message
In , Gjunk (gjunk) wrote :

Seems that SAL_USE_VCLPLUGIN=gtk3 doesn't understand HiDpi (4k) monitor and creates very large window with giant fonts.

I tried using it together with GDK_DPI_SCALE=2.0 and SAL_FORCEDPI=200 but neither has any effect on the crazy large window.

Be nice if this menu bug could be fixed

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

*** Bug 147957 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Robby-engelmann-c (robby-engelmann-c) wrote :

*** Bug 147832 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 147888 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

*** Bug 148222 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 147172 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fbf739198aa7f02975d531521c6525073783c7f1

tdf#144585 Qt fix Wayland LO fake popups

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/c309ddb6d9cd61f3024ffeee33fce1a0e173d9cc

tdf#144585 Qt fix Wayland LO fake popups

It will be available in 7.3.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Changed in df-libreoffice:
status: Confirmed → Fix Released
Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 147777 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

Verified, thanks

Revision history for this message
In , Gjunk (gjunk) wrote :

confirm that the daily 7.3.3 is fixed.

thank you!

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 148562 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Hasezoey (hasezoey) wrote :

if i understand correctly, a fix has been but into place in master and should be in the daily builds, but i had tried (yesterday) a appimage named "LibreOfficeDev-7.4.0.0.alpha0_2022-01-23-x86_64.AppImage" which should have been based on the latest master, but the problem still occurred for me, the appimage is from https://libreoffice.soluzioniopen.com/daily-version/ (which i were linked to from https://www.libreoffice.org/download/appimage/ for daily appimage builds)

Appimage information:
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

(In reply to hasezoey from comment #33)
> if i understand correctly, a fix has been but into place in master and
> should be in the daily builds, but i had tried (yesterday) a appimage named
> "LibreOfficeDev-7.4.0.0.alpha0_2022-01-23-x86_64.AppImage" which should have
> been based on the latest master, but the problem still occurred for me, the
> appimage is from https://libreoffice.soluzioniopen.com/daily-version/ (which
> i were linked to from https://www.libreoffice.org/download/appimage/ for
> daily appimage builds)

It's not based on the latest master, but from January as you can see from the date: 2022-01-23
Unfortunately the appimage guy has been busy, so has not updated the packages.
You can create your own ones: https://wiki.documentfoundation.org/Installing_in_parallel/Linux#Automated_installation

Revision history for this message
In , Hasezoey (hasezoey) wrote :

> It's not based on the latest master, but from January as you can see from the date: 2022-01-23

oops, didnt check the actual file name, assumed that what was listed was actually the latest version based on the master branch (i guess i just checked the version), sorry for the confusion

Revision history for this message
In , Michael Weghorn (michaelweghorn) wrote :

*** Bug 148765 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Hasezoey (hasezoey) wrote :

can confirm that with the 7.3.3 version in manjaro the issue is fixed

Revision history for this message
In , Fil7racket (fil7racket) wrote :

Confirmed that this fixed the issue on KDE Neon on Wayland of duplicated bug https://bugs.documentfoundation.org/show_bug.cgi?id=148765

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

*** Bug 148090 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

*** Bug 148047 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dyma (dvs-1111) wrote :

*** Bug 144993 has been marked as a duplicate of this bug. ***

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.