Description: I’ve just changed my laptop and my new one has a 4k display. It runs Windows 10. When I try to set icons on personal toolbars, pictures in both the dialog and the toolbar are not rendered as expected. It’s hardly possible to select an icon. See attached screenshot. This applies with all icon size selection in options). Is it a bad resolution detection ? I’ve tried changing the zoom factor on Windows settings, but this has no effect. I’m used to do the same on 3 other computers, and without any issue… Steps to Reproduce: 1.Select a custom toolbar 2.Try to change icon (icons rendering in selection panel is wrong) 3.Select an icon (selected icon is not rendered with right size) Actual Results: Icon rendering provides tiny unreadable pictures. Expected Results: Icons should be rendered with the right size. Reproducible: Always User Profile Reset: No Additional Info: ?
Created attachment 174031 [details] Screenshot with icon selection panel and toolbar
I can't to reproduce the error because the reproduction steps are not detailed enough. For example, how specifically I need to change the icon (point 2)?
As you can see in the screenshot, the panel with the list of all available icons is not correct : size and rendering of icons make difficult/impossible the selection of the wanted icon since you can hardly see the real picture. When an icon is selected (any icon from the panel), it's not rendered with the right size in the toolbar. In the screenshot, the last icon is a very little right oriented arrow that should be bigger. I guess that the screen resolution (3840x2160) may impact this rendering. For now I've not detected any other effect in Calc. I've tried changing the zoom (scale factor) in the Windows's configuration, but it just impacts the global size of the windows and their content, icons are never displayed as expected. The same dialog works as expected on all my other computers with lower screen resolution, and the same Calc version.
[Automated Action] NeedInfo-To-Unconfirmed
Created attachment 174083 [details] Other screenshot with right rendering on other PC
Created attachment 174084 [details] Other screenshot with bad rendering
I've added 2 new screenshots. One is from another computer with a correct rendering. The other one highlights the bad rendering on exactly same dialog and same icons.
The LibreOffice UI does respond to UI Scaling on Windows. However, the icon sets are provided in small 16px and large 24px and extra large 32px sizes--clearly too small for use with a 4K HiDPI laptop. Instead, use the Tools -> Options -> View and select the 'Colibre (SVG)' icon style (or one of the other SVG icon themes). The SVG based icons will be scaled to a size more appropriate for the UI scale in use and written out to PNG images held in LO user cache. Eventually for bug 115439 we'll be defaulting to SVG icon themes, possibly no longer rasterizing them to bitmap. Also, Windows UI scaling with the default Display Settings -> Scale and Layout listbox seems more troublesome than Windows 'Advanced scaling settings' and setting a 'Custom scaling' value between 100% - 500%, set something about 225% and logout/login of Windows--then relaunch LibreOffice with 'Colibre (SVG)' icon theme in use. Should get better icon rendering from resampled SVG for use on Toolbars, Menus, Sidebar and Notebook Bar or in the displayed icon customize dialog.
(In reply to V Stuart Foote from comment #8) > The LibreOffice UI does respond to UI Scaling on Windows. However, the icon > sets are provided in small 16px and large 24px and extra large 32px > sizes--clearly too small for use with a 4K HiDPI laptop. > > Instead, use the Tools -> Options -> View and select the 'Colibre (SVG)' > icon style (or one of the other SVG icon themes). The SVG based icons will > be scaled to a size more appropriate for the UI scale in use and written out > to PNG images held in LO user cache. > > Eventually for bug 115439 we'll be defaulting to SVG icon themes, possibly > no longer rasterizing them to bitmap. > > Also, Windows UI scaling with the default Display Settings -> Scale and > Layout listbox seems more troublesome than Windows 'Advanced scaling > settings' and setting a 'Custom scaling' value between 100% - 500%, set > something about 225% and logout/login of Windows--then relaunch LibreOffice > with 'Colibre (SVG)' icon theme in use. > > Should get better icon rendering from resampled SVG for use on Toolbars, > Menus, Sidebar and Notebook Bar or in the displayed icon customize dialog. I've tried switching to one of SVG theme, but this doesn't change anything : both in the dialog panel and the toolbar it self my selected icon is not correctly rendered. I don't understand why icons already assigned to actions in toolbars are displayed with a right size, and why toolbars customized icons are not.