Bug 104965

Summary: popup does not steal keyboard focus
Product: [Unmaintained] kdelibs Reporter: Andrew Kohlsmith <akohlsmith-kde>
Component: kwalletAssignee: George Staikos <staikos>
Status: RESOLVED DUPLICATE    
Severity: normal CC: l.lunak, nino
Priority: NOR    
Version: 1.1   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Kohlsmith 2005-05-02 15:19:22 UTC
Version:           1.1 (using KDE KDE 3.4.0)
Installed from:    Slackware Packages

It is very common when starting up kontact for kwallet's popup not to come up within several seconds; I'm usually in a konsole window doing something else when the popup finally comes up.  The trouble is that while the popup is in front of everything, the keyboard focus is still in konsole.  This is dangerous, since it's all too easy to type in the password and hit enter without realizing the keyboard focus isn't where you expected it to be.

gpg-agent's QT pin entry program (pinentry-qt, from pinentry-0.7.2) does the right thing by focibly stealing keyboard focus.  While it's annoying sometimes when the pinentry window isn't up top, at least I do not compromise my passphrase by entering it into the wrong window.
Comment 1 Nino 2005-05-04 00:04:38 UTC
I've got the same problem when opening several apps at once like kmail/mozilla/konsole. Sometimes kwallet's password dialog pops up just milliseconds before mozilla or konsole happens to open - and then immediately looses focus after I started to type in my password with the same result as described above: my password has been passed to some other application causing unwanted things or showing up plain text in konsole. 
Desired behavior would be to gain focus and to stay on top until I finished password typing by hitting enter, no matter what other applications do. 
(kde 3.4.0 level "a", SuSE 9.2)
Comment 2 Andrew Kohlsmith 2005-11-14 19:18:34 UTC

*** This bug has been marked as a duplicate of 86347 ***