Bug 452359 - SDDM: Password field's text on 2nd monitor is slightly misplaced with mixed-DPI screens on X11
Summary: SDDM: Password field's text on 2nd monitor is slightly misplaced with mixed-D...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (other bugs)
Version First Reported In: 5.24.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-07 10:46 UTC by postix
Modified: 2023-04-10 21:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Picture of the issue (270.66 KB, image/jpeg)
2022-04-07 10:46 UTC, postix
Details
KWin support information (6.09 KB, text/plain)
2022-04-07 10:47 UTC, postix
Details
Picture of the HDMI's sddm screen: Scales wrongly 200% instead of 100%. (229.64 KB, image/jpeg)
2022-04-07 10:51 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-04-07 10:46:34 UTC
Created attachment 148016 [details]
Picture of the issue

SUMMARY

Two monitors are attached, FullHD@100% (HMDI) and 4k@200% (DP). SDDM's settings have been synchronized. Yet, when the computer is booted, the login screen on the DP monitor looks like in the picture: The password field's text misses the left-top margin. Same for the entered password. The issue does not exist on the HDMI screen.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220404
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.17.1-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 postix 2022-04-07 10:47:41 UTC
Created attachment 148017 [details]
KWin support information
Comment 2 postix 2022-04-07 10:48:37 UTC
```
cat /etc/sddm.conf.d/kde_settings.conf 
[Autologin]
Relogin=false
Session=default.desktop
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=breeze
CursorTheme=breeze_cursors
Font=Noto Sans,10,-1,5,50,0,0,0,0,0,Regular

[Users]
MaximumUid=60000
MinimumUid=1000

[X11]
ServerArguments=-dpi 192
```
Comment 3 postix 2022-04-07 10:51:53 UTC
Created attachment 148018 [details]
Picture of the HDMI's sddm screen: Scales wrongly 200% instead of 100%.
Comment 4 postix 2022-04-07 18:47:06 UTC
I have re-synchronized SDDM's settings again and now it looks fine for the DP screen. Will re-open whenever the issue appears again.
Comment 5 postix 2022-04-08 07:54:08 UTC
Today when I booted, it happened again. 

* I have also noticed, that the HDMI screen, which is in the Wayland session on the left, is now logically on the right.  (I.e. the cursor on the DP screen needs to leave on the right edge to go to the HDMI screen).

Real + Wayland: HDMI | DP
SDDM: DP | HDMI


* The password field's dots on the DP screen are actually only missing the left margin. The place holder field lacks both left and top margin.
Comment 6 Nate Graham 2023-04-10 21:39:25 UTC
If you sync your setting while logged into a Wayland session, it will sync the screen arrangements too.

Unfortunately this bug is unfixable on X11 because X11 doesn't support mixed-dpi screen arrangements. What's needed to fix it is to boot the SDDM session itself into Wayland. This is a technical thing that you can't easily do yourself. I've done it and verifies that this bug is fixed in that state.