Bug 457874 - Screen lock password input no longer captures first keystroke
Summary: Screen lock password input no longer captures first keystroke
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: greeter (show other bugs)
Version: 5.25.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-08-14 09:30 UTC by Frederick Zhang
Modified: 2022-08-19 13:35 UTC (History)
2 users (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 Frederick Zhang 2022-08-14 09:30:12 UTC
SUMMARY
When screen lock was displaying wallpaper slideshow with no password input yet, I used to be able to type right away and the first keystroke would bring up password input *and* be captured as the first character of my password.

Now the first keystroke only brings up the password input and the input will be empty.


STEPS TO REPRODUCE
1. Enable screen lock (with slideshow wallpaper)
2. Lock screen
3. Start typing password

OBSERVED RESULT
First keystroke is not captured in password input

EXPECTED RESULT
First keystroke is captured by password input

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.19.1-arch2-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-08-15 17:57:48 UTC
Works for me. Do you by any chance have a multi-monitor setup? If so, does it work if you remove all but a single monitor?
Comment 2 Frederick Zhang 2022-08-16 09:12:51 UTC
@Nate I tested single monitor but got the same result.

Though I realised that this actually happens only when the password input shows up for the first time. For example,

1. Keyboard shortcut to lock screen
2. Start typing password
3. First character is not captured
4. Esc to make password input disappear, or clear password and wait for timeout
5. Start typing again
6. First character is captured this time
Comment 3 Nate Graham 2022-08-17 15:58:35 UTC
Is your monitor sleeping at the moment when you type the first keystroke, out of curiosity?
Comment 4 Frederick Zhang 2022-08-18 01:30:34 UTC
@Nate Nope.
Comment 5 Nate Graham 2022-08-18 15:22:58 UTC
Ok, then it's not what I was thinking of.

I can't reproduce the issue with the default Breeze screen locker theme. Does it happen with other screen locker themes? Typically you need to change your Plasma theme to get one.
Comment 6 Frederick Zhang 2022-08-19 09:13:07 UTC
@Nate You were right. It was an issue introduced by a recent update of Papirus Materia KDE. I don't have this issue either using Breeze.

I filed an issue to them at https://github.com/PapirusDevelopmentTeam/materia-kde/issues/149.
Comment 7 Nate Graham 2022-08-19 13:35:21 UTC
Great!