Bug 145710 - LibreOffice apps become blurry when moved to a different DPI monitor on Windows
Summary: LibreOffice apps become blurry when moved to a different DPI monitor on Windows
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL: https://www.reddit.com/r/libreoffice/...
Whiteboard:
Keywords:
Depends on:
Blocks: HiDPI Multimonitor
  Show dependency treegraph
 
Reported: 2021-11-16 06:35 UTC by Joel
Modified: 2023-04-03 09:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc moved from 100% scaling primary display to 125% secondary (95.56 KB, image/png)
2021-11-16 06:44 UTC, Joel
Details
Calc moved from 125% scaling primary display to 100% secondary; slightly fuzzy (64.30 KB, image/png)
2021-11-16 06:45 UTC, Joel
Details
Calc moved from 100% scaling primary display to 300% secondary; pixelated (90.81 KB, image/png)
2021-11-16 06:45 UTC, Joel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel 2021-11-16 06:35:39 UTC
Description:
LibreOffice is not properly handling the DPI change when being moved between HiDPI and LowDPI monitors.  It always looks good on my primary display (as set in Windows), but on my secondary it looks fuzzy or pixelated.  Changing my primary monitor and restarting LibreOffice results in it looking good on whichever one is primary and bad on the other.

Changing the Windows compatibility settings on LibreOffice to override scaling behavior to "application" results in LibreOffice always looking sharp, but not scaling to the correct DPI.

I see this problem with versions 7.1.7, 7.2.2, and 7.3.0.0 alpha 1.

Steps to Reproduce:
1. On a computer with dual monitors, set one to 100% scaling and the other to 125% scaling.
2. Open any LibreOffice program, such as Calc.
3. Move the program to the secondary monitor.

Actual Results:
Every single part of the UI is blurry, including all text, icons (svg), menus, and dialogs.  The only part that's not blurry is the title bar drawn by Windows itself.

Expected Results:
I expect the program adjust its scaling when moved to a different DPI monitor to keep everything sharp.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 16; OS: Windows 10.0 Build 22000; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 Joel 2021-11-16 06:44:30 UTC
Created attachment 176276 [details]
Calc moved from 100% scaling primary display to 125% secondary
Comment 2 Joel 2021-11-16 06:45:14 UTC
Created attachment 176277 [details]
Calc moved from 125% scaling primary display to 100% secondary; slightly fuzzy
Comment 3 Joel 2021-11-16 06:45:42 UTC
Created attachment 176278 [details]
Calc moved from 100% scaling primary display to 300% secondary; pixelated
Comment 4 V Stuart Foote 2021-11-16 14:29:54 UTC
Believe this is expected.  LO is not aware of other displays that may be present when it is launched--it is configured for its home display. When you move the app frame from one display to another the os/DE is doing the scaling, not LibreOffice.

As you note if you relaunch the application homed on a display with different os scaling LibreOffice will use that DPI and scaling for building its app frame, including HiDPI handling if appropriate.

Simply put this would be an enhancement and need native code cross platforms to implement, but not likely to get dev effort it would need.
Comment 5 bugzilla2 2022-09-01 16:06:57 UTC
I understand that it's not easy to achieve, but having different screens with different dpi's is not new in businesses. Of course, as an admin you usually try to avoid such configurations, but in some situations, you NEED different dpi monitors for testing. So that situation will grow in enterprises I think and not go away. So, making LibO behaving well on those situations should be on the agenda in my opinion.
Comment 6 Stéphane Guillou (stragu) 2023-04-03 09:36:41 UTC
Reproduced with LO 7.4.6.2 on Windows 10 using two displays:

- 1920×1080 at 150% scaling
- 1920×1080 at 100% scaling

One of the two will always look blurry compared to the other.
Changing the primary display didn't help.
Changing the settings (hardware acceleration, Skia) in Options > LibreOffice > View didn't help.