Bug 106682 - UI icons appear jagged due to (probably) wrongly applied HIDpi scaling
Summary: UI icons appear jagged due to (probably) wrongly applied HIDpi scaling
Status: RESOLVED DUPLICATE of bug 115439
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.3.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-21 16:55 UTC by Marcin Grzesiak
Modified: 2018-03-07 16:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Grzesiak 2017-03-21 16:55:58 UTC
Description:
In Libreoffice 5.3.0 and 5.3.1 all icons in the UI appear jagged (in all toolbars, sidebars, menus, and Libroffice specific cursors). This is regardles of which icon set is used (Breeze, Tango, Sifr, Oxygen - all look the same).

Using on Lenovo Thinkpad T460p with 14 inch Full HD IPS screen and integrated Intel Skylake graphics card. The OS is Windows 10 PRO. The problem did not exist with previous 5.2.x series, or any other series I've used (and have used all of them).

After some poking around and researching on the internet I've come to suspect that the problem may be with HDPI scaling / caching. 

I have found a following work-around:

I entered the folder: "\Program Files\LibreOffice 5\share\config" and copied all the zipped icon sets to some other, non-system folder. There I unpacked them. Next I copied the contents of the unpacked folders to their respective subfolders in the LibreOffice subdirectory of the \AppData of each user, e.g. \AppData\Roaming\LibreOffice\4\cache\breeze\150 for the breeze icon set.

The problem persists even after deleting the %APPDATA%\libreoffice\4\user directories (aka user profiles).








Steps to Reproduce:
1. Install LibreOffcie 5.3.x series
2. Start any of the suite's applications.
3. You'll see. 

Actual Results:  
The interface icons look jagged, the way a bitmap picture looks if you upscale it too much.

Expected Results:
The icons should be smooth, as they have been with all the previous versions.


Reproducible: Always

User Profile Reset: YES

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Marcin Grzesiak 2017-03-21 17:04:30 UTC
I have forgotten to say that after applying the workaround the icons look mostyl as they should, with a few exceptions.

It should also be noted that before pasting the previously unzipped icon sets in the subfolder \AppData\Roaming\LibreOffice\4\cache\icon-set-name-goes-here\150 , the subfolder contained icons which were just as jagged as those in the UI. 

Therefore I suppose that during the installation/configuration LO decides I have a HIDPI screen, and upscales the icons I use, puts them into the user profile in the subfolder called "150" for every icon set and then uses them in the UI.
Comment 2 Buovjaga 2017-03-26 17:39:35 UTC

*** This bug has been marked as a duplicate of bug 105489 ***
Comment 3 Buovjaga 2018-03-07 16:52:05 UTC

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