Bug 2269756 - LibreOffice Scaling Incorrectly on Fedora 40 KDE Plasma 6
Summary: LibreOffice Scaling Incorrectly on Fedora 40 KDE Plasma 6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: libreoffice-sig
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-16 00:26 UTC by andrewchapleau
Modified: 2024-03-23 00:41 UTC (History)
8 users (show)

Fixed In Version: libreoffice-24.2.1.2-5.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-23 00:41:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
LibreOffice Writer at 125% scaling (66.09 KB, image/png)
2024-03-16 00:33 UTC, andrewchapleau
no flags Details
LibreOffice Settings dialog box at 125% scaling (186.66 KB, image/png)
2024-03-16 00:34 UTC, andrewchapleau
no flags Details
LibreOffice Writer at 100% scaling (45.36 KB, image/png)
2024-03-16 00:36 UTC, andrewchapleau
no flags Details
LibreOffice Writer settings dialog box at 100% scaling (126.13 KB, image/png)
2024-03-16 00:37 UTC, andrewchapleau
no flags Details

Description andrewchapleau 2024-03-16 00:26:31 UTC
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.

Comment 1 andrewchapleau 2024-03-16 00:33:51 UTC
Created attachment 2021897 [details]
LibreOffice Writer at 125% scaling

Comment 2 andrewchapleau 2024-03-16 00:34:24 UTC
Created attachment 2021898 [details]
LibreOffice Settings dialog box at 125% scaling

Comment 3 andrewchapleau 2024-03-16 00:36:12 UTC
Created attachment 2021899 [details]
LibreOffice Writer at 100% scaling

Comment 4 andrewchapleau 2024-03-16 00:37:36 UTC
Created attachment 2021900 [details]
LibreOffice Writer settings dialog box at 100% scaling

Comment 5 andrewchapleau 2024-03-16 01:01:20 UTC
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.

Comment 6 Mattia Verga 2024-03-17 08:32:20 UTC
Also `WAYLAND_DISPLAY= libreoffice --writer` should work. See #2268500

I've posted a message in Fedora KDE matrix channel about that.

Comment 7 Alessandro Astone 2024-03-17 10:46:07 UTC
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"

Comment 8 Alessandro Astone 2024-03-17 11:19:44 UTC
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

Comment 9 Gwyn Ciesla 2024-03-18 14:50:04 UTC
Thank you, I'll get out builds with this patch today.

Comment 10 Fedora Update System 2024-03-18 20:35:20 UTC
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

Comment 11 Fedora Update System 2024-03-19 01:55:07 UTC
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.

Comment 12 Fedora Update System 2024-03-23 00:41:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.