[Libreoffice-bugs] [Bug 138520] Toolbars and page too small with Wayland fractional scaling and Qt5 plugin

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 19 11:43:15 UTC 2021


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

--- Comment #2 from whyhollis+aibei at gmail.com ---
I'm facing the same issue under plasma 5.21.4, libreoffice 7.1.2.2, Arch Linux,
wayland, display scale set to 135%. The text and icons are too small that
libreoffice is unusable.

It is pretty confident that this issue is caused by vcl component [0] in
libreoffice. If environment variable SAL_USE_VCLPLUGIN is set to gtk3, this
would force VCL to use gtk for the UI. Somehow gtk supports fractional HiDPI
(?) and the gui does not suffer from blurry rendering. This have some
shortcomings:

1. It's GTK. Feels alien in KDE
2. This does not register toolbar to KDE's global menu

Another solution would be setting environment variable SAL_FORCEDPI. It seems
that this options force VCL to render larger text. Setting it to 170 works for
me. Writing the following script in
~/.config/plasma-workspace/env/libreoffice.sh and re-login make the force dpi
patch permanent after re-login:

```
export SAL_FORCEDPI=170
```

Here are environment variables for controlling VCL if you're interested:
https://github.com/LibreOffice/core/blob/master/vcl/README.vars

[0]: What is VCL TL;DR explained in arch wiki,
https://wiki.archlinux.org/index.php/LibreOffice#Theme

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210419/8cbcea01/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list