You are not logged in.

#1 2024-03-07 05:46:13

vinumoses
Member
Registered: 2021-05-01
Posts: 15

[SOLVED] Libreoffice scaling probems with wayland and KDE6

I'm running a fully updated Arch linux system with KDE6 + Wayland and Display Scale set to 125%.

Libreoffice does not scale proportionately. Icons are enlarged, side panel is enlarged and dialogs are cut-off. See https://pasteboard.co/zWtVzzaawaQb.png

With SAL_FORCEDPI=125, the icons become better, but the side panel shows disproportionate spacing between elements and the dialogs are cut-off. See https://pasteboard.co/GiJZpvurhu74.png

If I reduce the Display Scale to 100%, everything is proportionate once again, but it's too tiny for my preference. See https://pasteboard.co/pb6zW65gyvla.png

Any help in getting libreoffice to work well with wayland and scaling percentages other than 100% would be greatly appreciated. I'm wondering whether I should revert back to X instead of Wayland until this can be sorted out since I use libreoffice a lot.

Thank you!

Last edited by vinumoses (2024-03-07 12:05:27)

Offline

#2 2024-03-07 10:16:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

Which libreoffice style is this, doesn't look like the kf5 vcl plugin? Have you tried some different ones? https://wiki.archlinux.org/title/LibreOffice#Theme FWIW there's also this reccommendation: https://wiki.archlinux.org/title/LibreO … _and_HiDPI

Offline

#3 2024-03-07 12:04:59

vinumoses
Member
Registered: 2021-05-01
Posts: 15

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

Thank you V1Del. Your suggestion worked.

I'm using the Sukapura (SVG) theme. Libreoffice was using the kf6 VCL.

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.7; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
24.2.1-1
Calc: threaded

With SAL_USE_VCLPLUGIN=gtk3 scaling and dialogs work fine, but the fonts and text is not as sharp as with the kf6 or kf5 backends.

With SAL_USE_VCLPLUGIN=kf5 scaling and dialogs work fine and everything is sharp, like with Xorg. I'll stick with this for now, as it seems to work best for me.

I'm changing the topic of this post to [SOLVED]. However, I wonder though, why kf5 works fine with wayland while kf6 does not... would be curious to know. Should I raise a bug?

Offline

#4 2024-03-07 13:00:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

kf6 integration is pretty new, possibly a bug in LO somewhere.

Offline

#5 2024-03-08 10:02:38

vinumoses
Member
Registered: 2021-05-01
Posts: 15

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

https://bugs.documentfoundation.org/sho … ?id=159915

Upstream entry for the bug (reported on 26/2/2024)

Offline

#6 2024-03-15 13:51:11

vinumoses
Member
Registered: 2021-05-01
Posts: 15

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

libreoffice-fresh 24.2.1-2 had disabled vcl6 and solved the problem without having to force vcl5 rendering. the latest liboreoffice update libreoffice-fresh 24.2.1-4 re-enables vcl6 and caused a recurrence of the problem described in the original post. I'm back to using SAL_USE_VCLPLUGIN=kf5 to force kf5 as the vcl backend to get things working properly once again.

Offline

#7 2024-03-18 08:17:42

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

kf5 not working for me (seems it's removed) with the latest libreoffice release, but qt5 works. I'm using wayland right now, not sure it's relevant or not in this case.

Edit:
I switched back to X11 and using default setting with libreoffice it looks good, so it's wayland that causes trouble.

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf6 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
24.2.1-4
Calc: threaded

Last edited by siriusb (2024-03-18 10:33:44)

Offline

#8 2024-03-19 01:51:01

vinumoses
Member
Registered: 2021-05-01
Posts: 15

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

Yes, you're right. Presently, either SAL_USE_VCLPLUGIN=qt5 or SAL_USE_VCLPLUGIN=gtk3 restores earlier behaviour and avoids scaling issues.

siriusb wrote:

kf5 not working for me (seems it's removed) with the latest libreoffice release, but qt5 works. I'm using wayland right now, not sure it's relevant or not in this case.

Edit:
I switched back to X11 and using default setting with libreoffice it looks good, so it's wayland that causes trouble.

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf6 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
24.2.1-4
Calc: threaded

Offline

#9 2024-03-23 11:41:48

vinumoses
Member
Registered: 2021-05-01
Posts: 15

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

The Wayland scaling issues seem to be fixed with libreoffice-fresh 24.2.1-5

Offline

#10 2024-03-25 09:48:59

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] Libreoffice scaling probems with wayland and KDE6

vinumoses wrote:

The Wayland scaling issues seem to be fixed with libreoffice-fresh 24.2.1-5

Yes, I confirm, now it works:

UI render: default; VCL: kf6 (cairo+wayland)
24.2.1-5

Hope it's finally resolved. smile

Offline

Board footer

Powered by FluxBB