I recently upgraded plasma using arch packages, not sure where i came from (likely 5.4 or 5.5). I have a high resolution display, and was using: 1. Desktop scaling set to 2x 2. Force fonts DPI to 192 This meant that most applications looked right. UI elements were for most things I used correctly sized, and fonts looked right. Now that I've updated to 5.6, things no longer look right. Suppose that I don't force fonts DPI to 192, so it defaults to 96, but I have scaling at 2x. In that case, native KDE programs like dolphin and system settings look right -- correct font size, correct element sizes. But many things have small fonts, such as: chromium, the application launcher menu. If I then increase the font size to 192 with scaling at 2x, other programs (like Chromium) start to look right, but now the native programs like dolphin and system settings have huge fonts, as does the lock screen. If I set font size to 192 with scaling at 1x, then most things look close to right, but the icons in dolphin and system settings are too small. The application launcher looks right, with the right sized icons (where 'right' means they appear to be double scaled). It seems to me that some programs are scaling their fonts as a result of the scaling option along with their UI elements, while others are not scaling either. Then, when I scale the font size, *some* applications are getting a double dose of font sizing (adding it to that which they already do from the desktop scaling option), while others are not. Reproducible: Always
screenshots please. Also what version of Qt?
Created attachment 98202 [details] DPI forced to 192, no scaling
Created attachment 98203 [details] DPI forced to 192, 2x scaling
Created attachment 98204 [details] Default Font DPI, 2x scaling
Created attachment 98205 [details] Default Font DPI, no scaling
I created these screenshots via a fresh user account, so that there weren't strange old settings doing something funny. You may also notice in the screenshots that the window title bar is affected by the different settings. Right now for the programs I tend to use, I've found that the most tolerable settings are to have no scaling, and force font dpi 192. Qt versions installed (arch): Name : qt4 Version : 4.8.7-7 Name : qt5-base Version : 5.6.0-2 Please let me know if I can provide you with any more information
I've made some progress, based on reading https://blog.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6/ By setting the following environment variables, the icon sizes of kde 5 programs is much improved: export QT_AUTO_SCREEN_SCALE_FACTOR=1 export GDK_SCALE=2 export GDK_DPI_SCALE=0.5 The GDK stuff does not affect Qt apps, but including for completeness, since DPI needs to be halved because of (presumably) my forced dpi setting. This is with scaling in systemsettings set to 1x, and force font dpi in systemsettings to 192. It's not perfect with these settings. The UI elements look a bit too large compared to normal (that is, how it looked before I updated), but it's much nicer than the small icons that I had before. Will attach a screenshot to hopefully illustrate a little.
Created attachment 98231 [details] password request with large elements relative to font
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!