Bug 126771 - SVG icons have visual glitches after upgrading to 6.3.0
Summary: SVG icons have visual glitches after upgrading to 6.3.0
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-08 14:09 UTC by stripe4
Modified: 2019-09-27 17:51 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (120.70 KB, image/png)
2019-08-08 14:17 UTC, stripe4
Details
Rendered icons with OpenGL enabled (56.03 KB, image/png)
2019-09-27 11:46 UTC, stripe4
Details
Rendered icons with OpenGL disabled (44.63 KB, image/png)
2019-09-27 11:46 UTC, stripe4
Details
Options, OpenGL enabled (7.43 KB, image/png)
2019-09-27 11:47 UTC, stripe4
Details
Options, OpenGL disabled (7.54 KB, image/png)
2019-09-27 11:47 UTC, stripe4
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stripe4 2019-08-08 14:09:05 UTC
Description:
No matter which SVG icon theme I choose, all of them have the same issue.

I tried to delete icon cache, and that helped for the duration of first session. After I closed LibreOffice apps and reopened them again, icons became corrupted again. I'm running 64 bit Windows 10 Pro 1903, Intel UHD Graphics 620, and DPI scaling is set to 150%.

Steps to Reproduce:
1. Open LibreOffice options, select any SVG icon theme.
2. Close LibreOffice apps, open any LibreOffice app again.

Actual Results:
Toolbar and menu icons contain visual gitches.

Expected Results:
Icons look normal.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Comment 1 stripe4 2019-08-08 14:17:09 UTC
Created attachment 153231 [details]
Screenshot
Comment 2 BogdanB 2019-08-08 15:01:59 UTC
Try this: from the menu Help - Restart to Safe Mode - and choose Reset to Factory settings. Apply and restart.

It works?
Comment 3 stripe4 2019-08-08 20:18:09 UTC
Ticked both checkboxes under "Reset to factory settings", but unfortunately that did not help. This time icons became glitchy immediately after I changed the icon theme to SVG variant, didn't even have to restart Writer.
Comment 4 Xisco Faulí 2019-09-26 12:06:38 UTC
hello,
Does it work fine if you change the DPI to 100% ?
Comment 5 stripe4 2019-09-26 14:52:06 UTC
Tested switching to 100% DPI on LibreOffice 6.3.2, but the issue persists.

Here are the steps I performed:
- changed DPI to 100%
- deleted everything in %appdata%\LibreOffice\4\cache
- opened Writer
- switched to Collibre (SVG) icon theme
-- at this step icons did not have artifacts
- closed Writer
- opened Writer
-- icons contain artifacts

A bug in video driver, the library responsible for icon rendering?
Comment 6 Tomaz Vajngerl 2019-09-27 07:28:20 UTC
"OpenGL enabled: Yes"

Disable it and flush the icon cache... does it help?
Comment 7 stripe4 2019-09-27 11:46:12 UTC
Created attachment 154592 [details]
Rendered icons with OpenGL enabled
Comment 8 stripe4 2019-09-27 11:46:35 UTC
Created attachment 154593 [details]
Rendered icons with OpenGL disabled
Comment 9 stripe4 2019-09-27 11:47:13 UTC
Created attachment 154594 [details]
Options, OpenGL enabled
Comment 10 stripe4 2019-09-27 11:47:47 UTC
Created attachment 154595 [details]
Options, OpenGL disabled
Comment 11 stripe4 2019-09-27 11:57:50 UTC
(In reply to Tomaz Vajngerl from comment #6)
> "OpenGL enabled: Yes"
> 
> Disable it and flush the icon cache... does it help?

Hey, that was it! Thank you!

Actually, svg icons rendered without OpenGL enabled look really nice. I never liked how they were rendered using OpenGL in 6.2.x, but they were still a bit nicer than upscaled non-svg icons. You can see that for yourself in attached screenshots. I also attached corresponding screenshots with options I had enabled while I took those icon screenshots. "Options, OpenGL enabled" is what I had enabled up until now.

I have a question though - should OpenGL be enabled by default on Windows if rendered svg icon quality is so much better without it?
Comment 12 Tomaz Vajngerl 2019-09-27 13:57:51 UTC
OpenGL enabled usually works fine, but sometimes there are OpenGL drivers that are buggy, like in your case. I wonder why you didn't see problems elsewhere in LibreOffice, not just in icons.