[Bug 1109602] New: YaST modules and control center have blurry icons on HiDPI displays
http://bugzilla.suse.com/show_bug.cgi?id=1109602 Bug ID: 1109602 Summary: YaST modules and control center have blurry icons on HiDPI displays Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other URL: https://trello.com/c/uAc6Mfnp OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: fvogt@suse.com QA Contact: jsrain@suse.com CC: alarrosa@suse.com, fvogt@suse.com, lnussel@suse.com, terje@nordland-teknikk.no Depends on: 1089886 Blocks: 1083873 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #1089886 +++ It appears like this is unfortunately not enough - the control center uses the QPixmap API in a way that requires Qt::AA_UseHighDpiPixmaps to be set as well. That can easily be seen by running QT_FONT_DPI=192 QT_SCREEN_SCALE_FACTORS=2 su -c "/usr/lib/YaST2/bin/y2controlcenter". A much bigger issue can be found in the partitioner: All of the icons are created by using QPixmap with fixed paths, which include the resolution. This means that a 22x22 icon gets drawn on a 44x44px area on the screen, which is then obviously blurred. This needs to be done letting QIcon choose the proper file from the theme itself. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1109602
http://bugzilla.suse.com/show_bug.cgi?id=1109602#c1
Arvin Schnell
http://bugzilla.suse.com/show_bug.cgi?id=1109602
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1109602
Lukas Ocilka
http://bugzilla.suse.com/show_bug.cgi?id=1109602
http://bugzilla.suse.com/show_bug.cgi?id=1109602#c5
Lukas Ocilka
http://bugzilla.suse.com/show_bug.cgi?id=1109602
http://bugzilla.suse.com/show_bug.cgi?id=1109602#c6
Fabian Vogt
Guys, please, do you have any actual/current screenshots? How bad is that? I don't have any HiDPI to check...
Me neither - I just ran the command written in the post: QT_FONT_DPI=192 QT_SCREEN_SCALE_FACTORS=2 su -c "/usr/lib/YaST2/bin/y2controlcenter" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1109602
http://bugzilla.suse.com/show_bug.cgi?id=1109602#c7
--- Comment #7 from Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1109602
http://bugzilla.suse.com/show_bug.cgi?id=1109602#c11
--- Comment #11 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1109602
http://bugzilla.suse.com/show_bug.cgi?id=1109602#c12
Fabian Vogt
Merged.
SR to OBS: https://build.opensuse.org/request/show/669836 SR to IBS: https://build.suse.de/request/show/182989
Thanks for the fix!
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com