https://bugs.kde.org/show_bug.cgi?id=500956

--- Comment #5 from Benjamin Dedieu <benjaminded...@protonmail.com> ---
Keeping my alias /usr/local/bin/libreoffice to set up the environment variables
like this:
```
#!/bin/bash
env <env_variables> /usr/bin/libreoffice "$@"
```
I tested different <env_variables> configurations:
1. With xwayland:
- QT_QPA_PLATFORM=xcb SAL_USE_VCLPLUGIN=gtk3: Task bar grouping works, scaling
in multiple display and different dpi works.
- WAYLAND_DISPLAY= SAL_USE_VCLPLUGIN=gtk3: Task bar grouping does not work,
scaling in multiple display and different dpi works.
- QT_QPA_PLATFORM=xcb SAL_USE_VCLPLUGIN=kf6: Task bar grouping does not work,
scaling in multiple display and different dpi works.
- WAYLAND_DISPLAY= SAL_USE_VCLPLUGIN=kf6: Task bar grouping does not work,
scaling in multiple display and different dpi works.

2. With Wayland:
- SAL_USE_VCLPLUGIN=gtk3: Task bar grouping works, scaling in multiple display
and different dpi works.
- SAL_USE_VCLPLUGIN=kf6: Task bar grouping works, scaling in multiple display
and different dpi does not work.

I get the same results for kf6,kf5,qt6 and qt5. I also tried gtk4 which
provides same results as gtk3, but it has problems scaling the mouse (like all
gtk4 applications in kde for now).

It should also be noted that all the qt backends (kf5/qt5/kf6/qt6) do not scale
properly some icons and texts, while the gtk3 does not seem to have problem
like this. However the gtk3 backend is sometimes buggy with the menu bar, which
can make the whole window freeze sometimes... But all these problems should
better be addressed on another thread in the libreoffice side I guess.

So for now the best configuration I found is wayland with gtk3 backend.

Regarding the taskbar grouping bug, I only get it when forcing the use of
xwayland. What is strange is that:
- with the gtk3 backend, I only find the bug with `WAYLAND_DISPLAY= ` but not
with `QT_QPA_PLATFORM=xcb`,
- with the kf6 backend, I get the bug in both ways.

I did not try for the moment to setup the environment directly in the desktop
files.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to