Bug 147216

Summary: LibreOffice seems to be properly scaled only for the primary screen (kf5 + wayland)
Product: LibreOffice Reporter: Luca Carlon <carlon.luca>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dinumarina, guykeogh, hamilton.tim, jan.public, m.weghorn
Priority: medium    
Version: 7.3.0.3 release   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=140388
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 90796, 100156, 102495, 104160    
Attachments: UI properly scaled with 2x scaling on the highdpi screen.
UI with 2x scaling on another screen that has 1x screen scaling.
Image showing incorrect UI scaling on primary screen, and correct scaling on secondary

Description Luca Carlon 2022-02-05 11:41:04 UTC
I tested the new fixes for the KF5 Wayland user interface on highdpi screens. It seems to be properly scaled only for one of the two screens. If the second screen has a different scaling factor, that scaling factor is never used and there does not seem to be a factor change when the LO window is moved from one screen to the other.
Comment 1 Luca Carlon 2022-02-05 11:41:55 UTC
Created attachment 178079 [details]
UI properly scaled with 2x scaling on the highdpi screen.
Comment 2 Luca Carlon 2022-02-05 11:42:36 UTC
Created attachment 178080 [details]
UI with 2x scaling on another screen that has 1x screen scaling.
Comment 3 Luca Carlon 2022-02-05 11:51:26 UTC
More info about the setup:

OS: Manjaro Linux
Environment: KF5 on Wayland
Hardware: Intel HD with 4K laptop screen and 1080p external screen
KDE Plasma: 5.23.5
Qt: 5.15.2
Comment 4 Guy 2023-03-05 19:17:01 UTC
I'm also experiencing this, with LibreOffice version 7.4.5.1

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.14-1-MANJARO (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® Graphics

With a 1920x1080 monitor set as Primary within KDE, and a 2880x1800 laptop screen; that Primary monitor is set at 100% scale and the laptop screen is at 200%. Scaling is correct for the laptop screen but the UI is huge on the Primary screen.
Comment 5 Guy 2023-03-05 19:22:56 UTC
Created attachment 185776 [details]
Image showing incorrect UI scaling on primary screen, and correct scaling on secondary
Comment 6 Guy 2023-03-07 11:39:00 UTC
To add; I'm noticing this is sometimes the other way around, so that the Primary display scaling is fine but the UI is very small when I move the window to the laptop monitor. It looks like LibreOffice just can't handle having different scaling factors per window.
Comment 7 Stéphane Guillou (stragu) 2023-03-28 10:34:59 UTC
*** Bug 150677 has been marked as a duplicate of this bug. ***
Comment 8 Michael Weghorn 2023-03-31 11:57:59 UTC
There is already bug 141578 about issues when using different scale factors in a multi-screen setup on Wayland.
-> closing as duplicate

*** This bug has been marked as a duplicate of bug 141578 ***