Bug 433563

Summary: SDDM & Lock screen themes: Password field input not synced across screens
Product: [Plasma] plasmashell Reporter: Dan Dascalescu <ddascalescu+kde>
Component: Theme - BreezeAssignee: visual-design
Status: CONFIRMED ---    
Severity: minor CC: antti.savo, devguy.ca, fanzhuyifan, halftough29a, heri+kde, kde, kiwifruit, kobrar44, nate, openmindead, plasma-bugs, ron, roy-orbitson, stephan.leineweber, veehexx, zimtsui
Priority: HI Keywords: multiscreen, usability
Version: 5.21.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=409226
https://bugs.kde.org/show_bug.cgi?id=432300
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Here is what the login looks like on my screen setup

Description Dan Dascalescu 2021-02-24 23:40:43 UTC
SUMMARY
My laptop is connected to an external monitor, which is designated as the primary screen. The login prompt appears on both screens (which seem to be mirrored), but the input that has focus is on the laptop screen, which is secondary.

Would it be possible to know the primary screen at that stage, or is that information available only after login?

PS: apologies if this is the wrong component. The description also says "Don't use this for reporting bugs about locking the screen or logging out.", but it would be more helpful if it said where to file.
Comment 1 stephan.leineweber 2022-10-21 11:06:35 UTC
yes, I also have a similar problem. My secondary monitor is rotated and the login screen is therefore not really usable on it. I think the login should happen at the primary monitor (if thats possible) or at least what Dan Dascalescu wrote that it gets mirrored on both screen. I hate to say it but Windows does that pretty nicely, where the login screen only appears on the primary screen...
Comment 2 stephan.leineweber 2022-10-21 11:18:43 UTC
Created attachment 153079 [details]
Here is what the login looks like on my screen setup

with the primary screen being the big screen on the right
Comment 3 Nate Graham 2023-04-10 22:15:26 UTC

*** This bug has been marked as a duplicate of bug 390503 ***
Comment 4 duha.bugs 2024-02-08 14:37:51 UTC
*** Bug 481027 has been marked as a duplicate of this bug. ***
Comment 5 fanzhuyifan 2024-02-08 15:39:34 UTC
This should be implemented here: https://invent.kde.org/plasma/kscreenlocker/-/blob/master/greeter/greeterapp.cpp?ref_type=heads#L651
But it seems to have been broken for quite a while.
Comment 6 fanzhuyifan 2024-03-21 17:02:00 UTC
*** Bug 484125 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2024-04-12 20:29:49 UTC
*** Bug 484205 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-06-17 17:34:11 UTC
*** Bug 488525 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2024-08-13 17:00:35 UTC
*** Bug 491655 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2024-09-01 22:08:53 UTC
*** Bug 492502 has been marked as a duplicate of this bug. ***
Comment 11 Dennis Schridde 2024-09-02 07:37:51 UTC
Copied from bug #492502:

SUMMARY

It would be nice if there was (at least) an option to mirror the password field on the screen saver / screen lock across all screens, such that when I type it in, it will be shown on all screens.

This would solve my problem where with multiple screens, when waking up the screens, the first time I enter the password unlocking will fail.

STEPS TO REPRODUCE

1. Allow screen to go to sleep
2. Shake mouse
3. Wait until first screen wakes up and presents the password prompt
4. Start typing the password
5. The 2nd screen will be turned on a second (or so) later
6. Now the 2nd half of the password will be entered on the 2nd screen's password prompt input field
7. When you press enter to unlock the computer, the password will be rejected (part of it was entered into one input field and part of it into the other)

OBSERVED RESULT

Unlock gets rejected.

EXPECTED RESULT

Password gets input into the password field on all screens and unlock succeeds.

SOFTWARE/OS VERSIONS

Operating System: NixOS 24.05
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.2
Kernel Version: 6.10.6 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 6900HS with Radeon Graphics
Memory: 30,6 GiB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION

This is related to following existing reports:
* bug #409226 (this is an alternative way to solve the problem: instead of entering the password on all screens, show the prompt only on one of them)
* bug #488516 (this suggests that there might be 2 problem involved: the password being split, but also the first characters being missing)
Comment 12 Nate Graham 2024-09-07 07:51:39 UTC
*** Bug 492713 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2024-09-19 20:43:18 UTC
*** Bug 492968 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2024-11-13 18:18:16 UTC
*** Bug 496150 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2024-11-13 19:36:13 UTC
*** Bug 494276 has been marked as a duplicate of this bug. ***