-
Notifications
You must be signed in to change notification settings - Fork 88
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
Cinnamon lock does not respect display scale (not fractional) #449
Comments
Is this fixed?I also am a Gentoo user and I gave up on Cinnamon because exactly same issue on exactly same resolutioned monitor (I think it was 5.8.4) |
Unfortunatelly it is not fixed yet neither there is any response from a dev. The whole scale factor seems a mess in GTK where sometimes it is respected and sometimes not. Unluckily I went back to xfce because these things are annoying enough |
Distribution
Gentoo
Package version
5.8.1
Graphics hardware in use
NVIDIA GeForce RTX 4080
Frequency
Always
Bug description
I have configured my display with a 4K resolution (3840x2160) with a UI scale of 200%, however, when I lock screen, that scaling factor is turned into 50% instead and I see the lock image, text input, etc on the upper left corner halved.
Debug mode said why I see the size halved:
Scale factor of 2 applied. Monitor 0 is 0,0 960 x 540
And this seems to be indeed the problem, digging into the code I found in file libcscreensaver/cs-screen-x11.c in lines 162 and 163:
If I remove those and recompile/reinstall then debug now says "Scale factor of 2 applied. Monitor 0 is 0,0 1920 x 1080" and I can see the lock image in fullscreen again.
I guess this is not the optimal solution (and it is strange that it says monitor is 1920 x 1080 when it is actually 3840 x 2160) but I hope it gives a hint.
Steps to reproduce
Expected behavior
Lock screen occupies all screen instead of just a quarter of it (because it is halved)
Additional information
No response
The text was updated successfully, but these errors were encountered: