https://bugs.kde.org/show_bug.cgi?id=372046
Bug ID: 372046 Summary: plasma5 show tiny icons in HiDPI screens Product: plasmashell Version: 5.8.3 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: k...@davidedmundson.co.uk Reporter: gh...@mageia.org CC: bhus...@gmail.com, plasma-b...@kde.org Target Milestone: 1.0 Created attachment 102018 --> https://bugs.kde.org/attachment.cgi?id=102018&action=edit don't force disabling automatic scaling When plasma5 runs in a HiDPI screen (e.g. a 4k screen with 3820x2160 pixels of resolution), and the screen DPI is set at the proper values in X11 (e.g. using DisplaySize in xorg.conf or forcing the -dpi argument in either xrandr or Xorg executable), the icons aren't scaled proportionally but remains super-tiny, and thus almost unreadable. The same happens to widgets. The higher is the resolution, the smaller and unbalanced are the icons. For instance for a 4k monitor at 15.6" you'll have near to 282 dpi, which is almost 3 times the typical average DPI choosen at 96x96. The result is shown in the screenshots here https://bugs.mageia.org/attachment.cgi?id=8587. As you can see (the image is scaled for convenience) the icons of the Plasma's "System Settings" are almost unreadable, while instead the text scales proportionally. Apparently plasma is able to scale everything proportionally to DPI without the need of extra tweaking, or playing with env var or xrdb entries, but in this case it fails. The problems seems in the line: QT_AUTO_SCREEN_SCALE_FACTOR=0 of the script /usr/bin/startkde, which forces QT_AUTO_SCREEN_SCALE_FACTOR to 0, and thus "disables the automatic scaling based on the pixel density of the monitor for QT applications". IMHO this shouldn't be forced in the startup script, but should be left to system decide whether to apply or not, because if a user decide to force the QT_AUTO_SCREEN_SCALE_FACTOR=1 somewhere in startup scripts, those entries will be overridden by the startkde override. Removing it, would fix the problem, and Plasma will have the right behaviour, i.e. scale the icons, the widgets and the text, proportionally when requested, as you can see here: https://bugs.mageia.org/attachment.cgi?id=8586, I attach the fix. -- You are receiving this mail because: You are watching all bug changes.