MusicBrainz Picard version: 2.9.2
OS: Linux Arch (EndeavourOS)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.1.54-1-lts (64-bit)
Graphics Platform: X11 (KDE Plasma may go full blown Wayland soon with v 6)
I am having trouble seeing the small fonts and tiny Icons in MBP on my 4k monitor. I canāt find any size settings in the options. I read a post here about it being too big, and some way to reduce it, but although the solution was given, it was rather vague as to where to make the changes (Something about QT display size), and it sounds to me the solution was to raise the UI size in QT5, so all QT5 apps.
I donāt want to change the whole screen resolution, nor the UI elements in QT in general though, because many apps I use are at an agreeable size, and I donāt want them too big.
Would be nice if there were per app settings or if the program were resolution aware, given that so many people are using 4k monitors, and Iām sure they are just going to get even higher in the near future.
Many Linux desktop environments have settings for screen scaling. E.g. KDE plasma has this under System Settings > Display and Monitor > Display Configuration > Global Scale. Qt5 is then supposed to pick up those settings.
If this does not get picked up try setting the environment variable QT_AUTO_SCREEN_SCALE_FACTOR=1. If this does not give proper results you can set a global scale factor with QT_SCALE_FACTOR or per-screen with QT_SCREEN_SCALE_FACTORS.
As far as I can tell in Qt5 the global QT_SCALE_FACTOR does not allow specifying fractional scaling, but QT_SCREEN_SCALE_FACTORS does. E.g. starting Picard with:
QT_SCREEN_SCALE_FACTORS=1.5 picard
on a system with a single screen will have the UI scaled 1.5 times. If you have more than one screen you can specify different scaling factors, e.g. QT_SCREEN_SCALE_FACTORS="1.5;2".
Scaling factors configured in the system + setting the environment variables can result in odd results, so you probably have to experiment a bit. The Arch wiki recommends to turn off QT_AUTO_SCREEN_SCALE_FACTOR if setting the scale factor manually via the environment variables to avoid issues.
Also check if any of those variables are already globally set on your system. If they are try to unset them. Maybe the default settings work better overall.
For details see the Qt documentation for High DPI Displays and the Arch wiki entry for HiDPI.
Well, that didnāt work. I also tried to put the Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=1.5 picard Under āEnvironment variablesā, but it didnāt work, nor at 1.5, 2 either.
Here are the original Desktop file contents (As installed but sans the irrelevant lines):
Sorry, I just noticed that I pasted the wrong variable name into the commands in my initial posts. The proper variable to set scaling factors for separate monitors is QT_SCREEN_SCALE_FACTORS.
So in case of 2 monitors you should try the following two commands:
QT_SCREEN_SCALE_FACTORS="1;2" picard
Check the Picard window on both monitors. If it is scaled up on the 4k monitor then you can now adjust the 2 and set a factor that suits your taste.
If it is scaled up on the 1080p monitor then turn around the factors:
QT_SCREEN_SCALE_FACTORS="2;1" picard
Also if you have currently QT_AUTO_SCREEN_SCALE_FACTOR=0 set you could alternatively try how things behave if you start Picard with:
QT_AUTO_SCREEN_SCALE_FACTOR=1 picard
This turns on Qt setting the scale factor automatically. If this works and follows the scaling factors you have configured per monitor in KDEās settings that would maybe be the preferable solution, as you donāt need to deal with monitor order.
Indeed, if I try it on KDE Plasma the QT_SCREEN_SCALE_FACTORS only partially scales. Under GNOME the same setting scales everything. But for me scaling works properly if I configure scaling in KDE settings globally.
Also under KDE if I use QT_SCALE_FACTOR instead it scales everything, and works even with fractional scaling (which doesnāt work on GNOME with this variable):