You are not logged in.
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
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
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
kf6 integration is pretty new, possibly a bug in LO somewhere.
Offline
https://bugs.documentfoundation.org/sho … ?id=159915
Upstream entry for the bug (reported on 26/2/2024)
Offline
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
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
Yes, you're right. Presently, either SAL_USE_VCLPLUGIN=qt5 or SAL_USE_VCLPLUGIN=gtk3 restores earlier behaviour and avoids scaling issues.
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
The Wayland scaling issues seem to be fixed with libreoffice-fresh 24.2.1-5
Offline
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.
Offline