Bug 464846 - Multi-monitor setup tricks sddm
Summary: Multi-monitor setup tricks sddm
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-26 09:26 UTC by Gergely HORVÁTH
Modified: 2023-01-27 17:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gergely HORVÁTH 2023-01-26 09:26:29 UTC
Hi,

when having a multi-monitor setup, sddm shows the initial login screen on both windows, and when I start typing only one of the textfields gets populated. After hitting ENTER, the password typed into the textbox selected is used. So if I type my password into one textfield, select the other one and press ENTER my password is rejected.

Real world use-case:
- system boots with multi-monitor, sddm focuses one of the textboxes, let's say on screen A.
- I type my password into the already focused textbox.
- Than I reach for the mouse and shake it to find the cursor.
- If I shake it too much, it gets to the other screen, onto screen B.
- I change between X11 and Wayland (typically from X11 to Wayland) on the drop-down menu of screen B as it is closer to my cursor.
- Now my cursor is closer to the textbox of screen B, so I click on it and press ENTER.
- My login attempt fails.

I see multiple solutions:
1) to synchronize all the textboxes on all the screen, so when typing into one, the others gets populated with the same text. This way, it doesn't matter where I want to login.
2)  When trying to login, check all the typed textbox password for login. This may ease brute-force attempts but I'm not sure if that is an actual problem.

Thanks if you look into it!
Best regards,
Gergely

Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Kernel Version: 6.1.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-11370H @ 3.30GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro 14 Gen6
Comment 1 Nate Graham 2023-01-27 17:35:01 UTC
This is an SDDM bug, and technically SDDM isn't a KDE project. Please report it at https://github.com/sddm/sddm/issues. Thanks!

Personally I think SDDM should gain some smarts so it can know which screen is marked as "Primary", and only display the UI on that screen, if it's available.