-
-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KDE applications over-scaled on HiDPI display #96055
Comments
There were changes upstream to HiDPI support in Qt 5.14. The linked changelog suggests some environment variables you could try. In particular, you might make sure that This is somewhat strange, but on my physical HiDPI display, I don't see any overscaling. Actually, I have to enable global scaling to get readable text, but I tried it with global scaling disabled for debugging. The only scaling problem I have is that the desktop (including tray icons and cursor) doesn't seem to be scaled correctly. 🤔 |
Actually, I do see some overscaling, but it's not consistent. Some applications seem to be OK, some are underscaled, and some are overscaled. I want to see if this persists in Plasma 5.18; I think that Plasma handles scaling itself and disables Qt auto-scaling, and I wonder if Plasma 5.17 just isn't compatible with Qt 5.14 (which is much newer). |
Yeah... For me, just Dolphin and Konsole have the issue, which can be most common used apps.
They are both not set (also not occur in nixpkgs or wrappers). And I did some other tests on
|
I also have overscaling in window title bars and desktop panels, but in both those places, only the fonts are overscaled, not icons as in other applications.
It is off by default on my desktop, and I still see overscaling. 🤔
|
Played with Well, I don't know the detail about how global settings work. I can't discover
Do you check it by |
I check the settings by
There is no hidden configuration, just the environment. However, it is possible that programs will get a different environment depending on how they are started because some things are launched via D-Bus and inherit the environment from there. The environments are supposed to be synchronized, but it's hard to rule out a problem. There is a lot of good information in this blog post. It looks like this is not a NixOS specific issue, but something that many people are struggling with using Plasma and Qt >= 5.14. |
As always, ArchWiki has lots of information. On the "bad" configuration, I have:
On the "good" configuration, I have:
The really weird thing is that |
Seem to be fixed in latest nixos-unstable (6152513). |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-to-correct-nvidia-driver-resolution/14183/2 |
Describe the bug
Some KDE applications like Dolphin and Konsole get GUI over-scaled on current master. But they works fine before #84232 .
To Reproduce
Steps to reproduce the behavior:
5be356a9
)build-vm
:de1c8a03^
(the parent of the merge commit of staging branch, actuallyeac5ef8a
) and repeat steps above.Expected behavior
Font size, icon size and menu height should be smaller and be the same as previous.
Screenshots
Note that for comparison, "System Settings" has correct GUI scale in both screenshots, but "Dolphin" does not.
Title bar always has correct font size.
Current master: (Dolphin GUI is too large)

Expected: (Previous. Tested on

eac5ef8aa9c0ddd948b20e83d9d7b37cd0132a81
)Additional context
In KDE "Display Configuration", "Global scale" is always set to
1.0
. Only xserver dpi is set.Notify maintainers
@petabyteboy
cc @worldofpeace @ttuegel
Metadata
"x86_64-linux"
Linux 5.4.59, NixOS, 20.09pre239318.c59ea8b8a0e (Nightingale)
yes
yes
nix-env (Nix) 2.3.7
"nixos-20.09pre239318.c59ea8b8a0e"
"home-manager, mozilla"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: