https://bugs.documentfoundation.org/show_bug.cgi?id=163648
--- Comment #3 from Andrew <[email protected]> --- I have a workaround. TL;DR: "SAL_USE_VCLPLUGIN=gtk3" in your shortcut's "Environment variables" The bug seems to be in LibreOficce's VCL (Visual Class Library), specifically how it works ("welds") with KDE. I have high confidence in this because the bug is perfectly reproducible even with the minimal "VCL weld" demo https://wiki.documentfoundation.org/Development/VCL/minweld by running "./bin/run minweld" in my local build. VCL respects a number of environment variables, one can change which backend is used for UI construction. https://wiki.documentfoundation.org/Development/Environment_variables#VCL On KDE, I found these options useful: 1. SAL_USE_VCLPLUGIN=gtk3 this one straight up forces gtk3 instead, I find it scales correctly in terms of UI elements and modal windows, but can be more or less blurry at certain scales. was pefectly crisp for me on my big screens, blurry on the smaller laptop screen. I find this the most useful. 2. SAL_USE_VCLPLUGIN=qt6 QT_SCALE_FACTOR=0.5 if you are experiencing this on KDE Wayland, the first part is likely redundant. The second part with QT_SCALE_FACTOR seems to not actually to do with part of LibreOffice, nor VCL per se, it's a feature of KDE in general, should work on any KDE application. Modifies whatever scaling is applied to the entire app. Since the issue we are having is LibreOffice scalling UP too much, fractional value like 0.5 makes everything smaller back again. Looks perfectly good on the screen where issue existed before. The downside? It's always applying this modifier even on previously correct screens, making my laptop screen show office for ants. How to apply these and forget? On KDE desktop, go to your "start menu" widget ("Application Launcher"/"Application Dashboard"/"Application Menu" or what have you), and right click on each LibreOffice item -> "Edit application". Add the desired workaround in "Environment variables:" field and hit "Save". This should create the right files in the right places with the right changes for you, otherwise you would have to do it manually in ~/.local/share/applications/. Once I did this, every single time a document is opened with LibreOffice, it looks correctly scaled for my needs. Hope this gets a proper fix sooner than later, for now at least we can have usable office! -- You are receiving this mail because: You are the assignee for the bug.
