Bug 280982

Summary: On first login attempt, first keypress ignored
Product: kdm Reporter: Robin Green <greenrd>
Component: generalAssignee: kdm bugs tracker <kdm-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: cfeck, christopher.m.braeuer, kde, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Robin Green 2011-08-29 09:11:26 UTC
Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

If the user you want to login as, is preselected, then the first character entered into the password field will be ignored, the first time you try. If that login fails because you didn't notice the problem, on the second login attempt, the bug does not occur.

Reproducible: Always

Steps to Reproduce:
1. Reboot
2. Enter password into kdm

Actual Results:  
First keypress (first character of password) is ignored, and therefore login fails, unless you notice the problem.

Expected Results:  
First keypress should be accepted.
Comment 1 Oswald Buddenhagen 2011-12-04 12:47:29 UTC
sounds related to bug 287231.
is there a difference between themed and classical greeter?
Comment 2 Christoph Feck 2012-11-22 01:37:43 UTC
*** Bug 310043 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2012-11-22 01:42:11 UTC
I am seeing this, too, and do not use openSUSE packages for KDE (but for Qt, X, etc.).

From what I see in the strace of "kdmgreet", the delay is caused by KDE icon theme lookup. Not sure, why the input is discarded, while it scans the icon directories.
Comment 4 Christoph Feck 2012-11-22 01:50:06 UTC
To clarify: The icon scanning happens when typing the first character. If this is a KLineEdit, it could be caused by loading the "Clear" icon (even I do not see it?). If this is no KLineEdit, but plain QLineEdit, we have to find out how starting to enter stuff into it could trigger icon loading.
Comment 5 Christoph Feck 2013-01-21 23:19:33 UTC
*** Bug 294987 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2018-04-16 20:24:15 UTC
KDM is unmaintained and not used in KDE Plasma 5.

SDDM is the login manager used in KDE Plasma 5. If you still have this same issue with SDDM, please file an issue on the SDDM bugtracker (after doing a search for existing issues first!): https://github.com/sddm/sddm/issues/