Bug 86347 - kwallet password window does not get focus when it pops up
Summary: kwallet password window does not get focus when it pops up
Status: RESOLVED DUPLICATE of bug 113057
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kwallet (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: George Staikos
URL:
Keywords:
: 104965 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-31 20:11 UTC by Ferdinand Gassauer
Modified: 2006-02-28 13:18 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 Ferdinand Gassauer 2004-07-31 20:11:22 UTC
Version:            (using KDE 3.2.92 (3.3 beta2), compiled sources)
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.5-7.95-smp

Hi!
accessing a page with password stored in kwallet opens the password window for the wallet, but the focus has to be set manually to be able to enter the password
IMHO the cursor should be placed in password field
cu
ferdinand
Comment 1 Lubos Lunak 2004-08-04 14:21:49 UTC
Current CVS: I don't see any problem, the lineedit in the dialog indeed has the focus?!
Comment 2 Ferdinand Gassauer 2004-08-04 18:41:28 UTC
Hmm
now it works for me too
Comment 3 Arkadiusz Miskiewicz 2005-03-20 13:28:15 UTC
I see this in kde 3.4! It never gets focus which is annoying since app looks like it is frozen.
Comment 4 Andrew Kohlsmith 2005-11-14 19:17:02 UTC
It is still not fixed in 3.5beta2 compiled from source.  It *sometimes* gets focus, but not always.  Can we not make this like pinentry-qt which FORCES focus on itself?  This is important stuff, you can inadverdently enter your password into an IRC session or instant message.

The window is at the front, but it does NOT have keyboard focus.

If there is any way I can help prove this I will be happy to do so.
Comment 5 Andrew Kohlsmith 2005-11-14 19:18:35 UTC
*** Bug 104965 has been marked as a duplicate of this bug. ***
Comment 6 Andrew Kohlsmith 2005-11-14 19:20:09 UTC
Misclick on VERIFIED instead of reopen
Comment 7 George Staikos 2005-11-14 20:28:23 UTC
Dont' know what to say from a kwallet perspective.  I'm doing what I was told is the correct thing for this to work.  Lubos?
Comment 8 Lubos Lunak 2005-11-14 22:02:04 UTC
Please provide specific instructions how to reproduce the problem.
Comment 9 Andrew Kohlsmith 2005-11-14 22:11:32 UTC
There aren't really any instructions.  Have your kmail pop3/imap passwords in a wallet, sit in an IRC session in a shell, start up kontact and go back to the shell.

The password popup will come up, but the shell will still have focus *most* of the time.

An easy (I think?) fix would be to have a timer fire off every 100ms or so to force the password entry window to have keyboard focus, and to also make sure it's at the very front.  The only way to lose focus then would be to dismiss the window, which would be exactly how pinentry-qt seems to operate.
Comment 10 John Myers 2005-11-14 22:18:19 UTC
I also experience this problem.

The most common time I experience it is when logging in. KMail and Kopete stay in my session, so when I log in, they need to open the wallet to get their respective passwords. From time to time, I will also have other programs in my session which are text entry areas, such as Kate or Konsole. If the Konsole window appears after the KWallet window, my KWallet password, or parts of it, will often end up in the clear in the Konsole. I check the KWallet window *before* I start typing, but if another window steals focus *as* I type, my password ends up displayed in the clear. Occasionally, I will actually end up hitting enter before realizing that my password is in the Konsole, causing it then to appear in my .bash_history .

Luckily for me, no-one else is here to look over my shoulder.
Comment 11 Marcus Ilgner 2006-01-24 17:04:33 UTC
I'm having this problem, too.
The worst thing is the fact that the dialog shows a blinking cursor, suggesting that it really has focus, even if it doesn't.
This once caused me to type my password and hitting enter only to realize that I had just sent my password over ICQ. Spent the next half hour or so to change my password everywhere where I had been using this one. :/
Comment 12 Lubos Lunak 2006-02-28 13:18:58 UTC

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