Bug 131946 - Blurred SVG icons on High DPI screen (100% scale) (updated description in comment #8)
Summary: Blurred SVG icons on High DPI screen (100% scale) (updated description in com...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
6.4.2.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-07 00:54 UTC by Stéphane Guillou (stragu)
Modified: 2020-08-28 01:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
blurry, pixelated interface (228.92 KB, image/png)
2020-04-07 00:55 UTC, Stéphane Guillou (stragu)
Details
crisp interface after overwriting the High DPI scaling method (132.43 KB, image/png)
2020-04-07 00:56 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2020-04-07 00:54:47 UTC
Description:
Using Windows 10 and LO 6.4, the interface is blurry on a high DPI screen, even with the default of 100% scale.

Steps to Reproduce:
1. Open a LibreOffice component after default install

Actual Results:
The interface is blurred, pixelated (icons, text, menus... everything, see attachment)

Expected Results:
The interface should be neat.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Deactivating OpenGL did not help.

One way to fix that is the following:

1. Find the executable Program Files\LibreOffice\program\soffice.exe
2. Right click and open "Properties"
3. Go to "Compatibility > Change high DPI settings > High DPI scaling override"
4. Tick "Override high DPI scaling behaviour" and change the scaling option to "System (Enhanced)" in the dropdown.

The interface then looks good after a restart of LibreOffice (see attachment).

This solution was found on AskLO: https://ask.libreoffice.org/en/question/126419/blurry-user-interface-on-windows-10/?answer=141352#post-id-141352

System and software details:

Version: 6.4.2.2 (x64)
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: en-AU (en_AU); UI-Language: en-US
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2020-04-07 00:55:28 UTC
Created attachment 159374 [details]
blurry, pixelated interface
Comment 2 Stéphane Guillou (stragu) 2020-04-07 00:56:10 UTC
Created attachment 159375 [details]
crisp interface after overwriting the High DPI scaling method
Comment 3 m_a_riosv 2020-04-07 21:42:18 UTC
Looks like a dup, please if you are not agree reopen it.

*** This bug has been marked as a duplicate of bug 123305 ***
Comment 4 Stéphane Guillou (stragu) 2020-04-08 10:22:52 UTC
Hi m.a.riosv

Thanks for looking into it, but I believe this is different to bug 123305:

* bug 123305 is about Linux and MacOS, this one about Windows
* I use the same LO version and the same icon theme on both my Windows 10 and Ubuntu 18.04 laptops, using the same external monitor (Dell U2414Hb, 24 inch), and I can see the issue on Windows but not Ubuntu
* The workaround I mentioned is Windows-specific, as I understand it (but I don't know much about HiDPI and Windows, to be honest)

So for now I think it is different.

Unless someone having the issue described in bug 123305 can test turning the application's management of HiDPI off and let the system do that, if that is even possible on Unix systems??
Comment 5 Buovjaga 2020-06-19 15:52:37 UTC
Did you look at the existing ones in the meta bug: https://bugs.documentfoundation.org/showdependencytree.cgi?id=90796&hide_resolved=1
Comment 6 Stéphane Guillou (stragu) 2020-07-25 07:18:29 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2020-08-25 01:41:22 UTC
Sorry, opening again. My previous comment is inaccurate.

The issue is with an external display plugged in. Using the SVG icons does not make a difference in that case: it is still blurry.

Issue still present with:

Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-AU (en_AU); UI: en-US
Calc: threaded

Both displays are at 100% scale, and all icons appear blurry regardless of which display the window is in.
Comment 8 Stéphane Guillou (stragu) 2020-08-25 06:04:36 UTC
I think I am understanding better my issue, which has two aspects:

At 100% scale:
- PNG icons are clear
- SVG icons are blurred

At a higher scaling, e.g. 150%:
- PNG are pixelated
- SVG are clear

So I guess I should also find the relevant bug report for the higher scaling part.

Changing the title again, so I am only talking about the first part.

Updated reproducible steps:

1. Make sure display is / displays are at 100% scale
2. Open a LibreOffice application (e.g. Writer)
3. Go to Tools > Options > View
4. Change icon style to "Colibre (SVG)" and apply: icons are blurred
5. Change icon style to the original "Colibre" and apply: icons are not blurred

The workaround from the original description does not work anymore.
Comment 9 Stéphane Guillou (stragu) 2020-08-28 01:46:19 UTC
I recognise this bug is a total mess, so closing it. Here is the updated, more precise version: Bug 136211