Bug 147290 - HighDPI not working on KDE with LibreOffice 7.3
Summary: HighDPI not working on KDE with LibreOffice 7.3
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HiDPI KDE, KF5
  Show dependency treegraph
 
Reported: 2022-02-08 16:05 UTC by michnovka
Modified: 2024-02-21 00:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc screenshot (56.99 KB, image/png)
2022-02-08 16:12 UTC, michnovka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michnovka 2022-02-08 16:05:57 UTC
Description:
I have updated to LibreOffice 7.3.0.3 30(Build:3) and since then everything is scaled improperly. Font and icons too small, form elements (such as checkboxes, comboboxes) too big. Running on Kubuntu 20.04 with 200% scaling.

Up to version 7.2 everything worked great. Other apps on my system have no issues

Steps to Reproduce:
1. set 200% scaling on system
2. Open LibreOffice (any package, Calc, Writer..)

Actual Results:
Messed up interface

Expected Results:
Proper scaling


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.0~rc3-0ubuntu0.20.04.1~lo1
Calc: threaded

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro K1200/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.103.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 470.103.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.103.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Comment 1 michnovka 2022-02-08 16:12:07 UTC
Created attachment 178146 [details]
Calc screenshot

Calc Screenshot to show what UI looks like now
Comment 2 Mathias Bavay 2022-03-05 15:33:29 UTC
Same issue for me, since the update to Libreoffice 7.3. Running "SAL_USE_VCLPLUGIN=gtk3 libreoffice" produces smooth icons, no scaling issues while as soon as I run "SAL_USE_VCLPLUGIN=qt5 libreoffice" the scaling is wrong for many GUI elements and the icons are very blurry (most probably rendered at the wrong size and then massively scaled to reach the proper size). Please note that I have QT_SCREEN_SCALE_FACTORS=2 for all my screens and QT_AUTO_SCREEN_SCALE_FACTOR=0.
Comment 3 Michael Weghorn 2022-12-03 09:30:17 UTC
Can't reproduce on my non-HiDPI screen on Debian testing, but with QT_SCALE_FACTOR=2 QT_AUTO_SCREEN_SCALE_FACTOR=0 explicitly set to enable scaling. Elements look properly scaled to me at first glance, not like in attachment 178146 [details].

Is this still a problem with LibreOffice 7.4.3 or newer?

(In reply to michnovka from comment #0)
> Running on Kubuntu 20.04 with 200% scaling.

IIUC, Kubuntu 20.04 has Qt 5.12.8, while my Debian testing has Qt 5.15.6, which might play a role if this is an issue in the Qt library rather than LO.

Does explicitly setting environment variable SAL_FORCEDPI=192 as described in bug 137924 comment 14 make a difference? (That bug is about Wayland, but maybe older Qt versions also have some issue.)

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: a611f2fc149153aabea8948f74ee004944acf681
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 4 Stéphane Guillou (stragu) 2023-03-28 10:38:43 UTC
michnovka, do you use multiple monitors with different scaling factors?
And do you use Wayland?
Wondering if this is a duplicate of bug 147216.
Comment 5 QA Administrators 2023-09-25 03:14:02 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-10-26 03:14:59 UTC
Dear michnovka,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp