Description: On high DPI screen (like a 2k screen of Surface Pro 4), margin around icons is too narrow. The resulted UI is ugly and different from the demo screenshot of Notebookbar from https://blog.documentfoundation.org/blog/2018/06/05/libreoffice-interview-andreas-kainz-talks-about-new-icons-and-the-notebookbar/. Steps to Reproduce: Enable notebookbar Actual Results: Icon padding is too narrow Expected Results: Icon padding is wider Reproducible: Always User Profile Reset: Yes Additional Info:
Created attachment 156269 [details] Screenshots from high DPI screen (Large icon)
Created attachment 156270 [details] Notebookbar demo screenshot from official blog
Hi, which icon size do you use (Automatic or something else?). See Burger Menu -> Options -> View Icon size for Notebookbar
Created attachment 156306 [details] Screenshots from high DPI screen (Automatic icon size)
The setting while taking the screenshot was large. After setting icon size to automatic, the problem still exist and furthermore, icons would become too small compared to the demo screenshot. I attached a screenshot with automatic icon size for your reference.
Puh I understood your bug but I don't have a final idea how to fix is. Only for testing can you use standard toolbar and tabbed compact layout. Thanks for the feedback
(In reply to andreas_k from comment #6) > Puh I understood your bug but I don't have a final idea how to fix is. > > Only for testing can you use standard toolbar and tabbed compact layout. > > Thanks for the feedback What icon size do you need for the screenshot?
whatever is best for you on hidpi
Created attachment 156307 [details] Standard toolbar and tabbed compact layout (automatic icon size)
Created attachment 156308 [details] Standard toolbar and tabbed compact layout (large icon size)
(In reply to andreas_k from comment #8) > whatever is best for you on hidpi Attached screenshots for both large and automatic icon size. Thanks.
Any idea what kind of bug it is, Tomaz?
Well in windows we use to manually change the UI elements depending on the scale factor. This approach means we would need to take everywhere the scaling factor into account (for all the margins and whatever). Compared to HiDPI scaling in GTK3, where this is all done in the lower levels so there it looks mostly the same as without HiDPI scaling. We decided some time ago that we would do the same for other backends or generally for VCL, but nobody worked on it yet.
Being a freshly HiDPI User, I sadly can confirm that bug. Lots of spacing and scaling issues. Fixing this on the root cause would be very welcome...
*** Bug 146701 has been marked as a duplicate of this bug. ***
Can someone affected by this issue see if they also see a more extreme symptom in the Shapes sidebar deck, as in attachment 177463 [details] (from bug 146701)?
Created attachment 191394 [details] SB Shapes deck Win10 on 4K display, os/DE scaling 350% (In reply to Stéphane Guillou (stragu) from comment #16) > Can someone affected by this issue see if they also see a more extreme > symptom in the Shapes sidebar deck, as in attachment 177463 [details] (from > bug 146701)? Yes issues of asymmetrical scaling of UI element on Windows os/DE UI scaling. Here the SB Shapes deck on os/DE scaled to 350% on a 4K display. Same system with os/DE UI scaling 125% is comfortable to use all LO UI elements.
(In reply to V Stuart Foote from comment #17) that was with recent build of master against 24.2.0 Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 1a74a87b442857567d20da5dc97bbbc278745afd CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded RenderMethod: vulkan Vendor: 0x10de Device: 0x1380 API: 1.3.260 Driver: 546.4.0 DeviceType: discrete DeviceName: NVIDIA GeForce GTX 750 Ti Denylisted: no On an LG 4K 32" monitor using display port 1.4
Created attachment 191403 [details] Shapes Sidebar, Win10, 4K Display, os/DE scaling 175% Here how it looks on my PC. 4k/27" Display, 175% scaling ...
Created attachment 191407 [details] SB Shapes deck Win10 on 4K display, os/DE scaling 125% (In reply to bugzilla2 from comment #19) > Created attachment 191403 [details] > Shapes Sidebar, Win10, 4K Display, os/DE scaling 175% > > Here how it looks on my PC. 4k/27" Display, 175% scaling ... Correct, and attached clip from 7.5.9.2 on same system as comment 17 with os/DE set to 125% UI scaling. So note, from the vertical separation of rows of shape icons, that the scale factor applied to the icons is not in sync and UI is progressively worse at higher UI scaling factors needed for HiDPI. This issue is for implementing element scaling (not just the SB decks) for the Widows VCL backend, i.e. at a lower-level.