Bug 357393 - Password field randomly does or doesn't have focus, when screen locks
Summary: Password field randomly does or doesn't have focus, when screen locks
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: 5.4.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-01 15:06 UTC by Dan Barrett
Modified: 2016-01-01 17:44 UTC (History)
3 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 Dan Barrett 2016-01-01 15:06:54 UTC
When the screen locks due to inactivity, and then I press a key (like SHIFT) to unblank the screen, the "Password" field sometimes has focus and sometimes does not.

So sometimes, you can just type your password immediately, and other times you have to click in the Password field first.

Reproducible: Sometimes

Steps to Reproduce:
1. Set up the screen locker to require a password.
2. Let the screen lock after inactivity.
3. Press the Shift key a few times so the screen unblanks.
4. See if the password field has focus or not. Sometimes it does, and sometimes it doesn't.

Actual Results:  
Sometimes the password field has focus, and sometimes it doesn't.

Expected Results:  
The password field should always have focus when the screen unblanks. This was the case in earlier versions of KDE (say, Kubuntu 14.04 LTS).
Comment 1 Dan Barrett 2016-01-01 15:08:16 UTC
I am using sddm 0.11.0-0ubuntu11, if that matters.
Comment 2 Kai Uwe Broulik 2016-01-01 17:44:28 UTC
This should be fixed in Plasma 5.5. The reason was that when an application requested focus, the screen locker received a focus out event although it grabbed the keyboard.

Note that the the lock screen is not provided by sddm, this is only the login screen.