Running Fedora 40 Pre-release on my Samsung Galaxy Book 2 Pro with a screen size of 15.6 inches and a resolution of 1920x1080 at 125% scaling with KDE Plasma 6 v6.0.2, icons in toolbars and dialog boxes in all LibreOffice applications are rendered very large. Using 100% scaling in KDE Plasma settings, the icons and menubars are rendered proportionately to the application, however the dialog boxes are still not scaled properly. Running LibreOffice v24.2.1.2. Reproducible: Always Steps to Reproduce: 1.Open any LibreOffice application Actual Results: Icons in toolbars and contents of dialog boxes are huge and extend past the boundries of their windows. Expected Results: Icons and dialog boxes are properly scaled.
Created attachment 2021897 [details] LibreOffice Writer at 125% scaling
Created attachment 2021898 [details] LibreOffice Settings dialog box at 125% scaling
Created attachment 2021899 [details] LibreOffice Writer at 100% scaling
Created attachment 2021900 [details] LibreOffice Writer settings dialog box at 100% scaling
UPDATE- Installing libreoffice-kf5 package and starting LibreOffice with SAL_USE_VCLPLUGIN=kf5 libreoffice --writer fixes the issue. Seems to be a bug in the current kf6 package.
Also `WAYLAND_DISPLAY= libreoffice --writer` should work. See #2268500 I've posted a message in Fedora KDE matrix channel about that.
Ok, this is fixed by https://github.com/LibreOffice/core/commit/86abb6fd8a8f680f9fc5ff1db775845c9f4e254b As per the commit message, it can already by applied with QT_SCALE_FACTOR_ROUNDING_POLICY="Round"
If i understand correctly, that is on track to be released with 24.2.2; but if that doesn't happen please consider backporting the fix to get this in Fedora 40 before release @libreoffice-sig
Thank you, I'll get out builds with this patch today.
FEDORA-2024-5f94556a31 (libreoffice-24.2.1.2-5.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5f94556a31
FEDORA-2024-5f94556a31 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5f94556a31` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5f94556a31 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-5f94556a31 (libreoffice-24.2.1.2-5.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.