Bug 191532 - krdc can't type password into kwallet or password dialogs
Summary: krdc can't type password into kwallet or password dialogs
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
: 200351 249498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-03 23:28 UTC by Brandon Rader
Modified: 2012-01-04 19:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 4.8
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Rader 2009-05-03 23:28:53 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

When trying to connect to a vnc server with krdc, the password gets put into Kwallet.  Then when I try to open it later, it asks for the Kwallet password to open the wallet.  But I can't type into the Kwallet dialog. This only happens with krdc. My work around has been to open the wallet before using kdrc, but when I forget, it is an annoying problem. If I click cancel, a normal password dialog comes up but I can't type into that either.
Comment 1 Urs Wolfer 2009-05-04 22:18:01 UTC
Into which KWallet dialog are you not able to type?

Can you reproduce this issue all the time? Using VNC or RDP?
Comment 2 Brandon Rader 2009-05-04 22:37:51 UTC
The KWallet dialog is the KWallet Service dialog. It tells me krdc wants to access a wallet and requests that wallet's master password. The bug happens most of the time, once in a while it does not. Even if I can type open the wallet, I can never type in krdc's password box to store the password. I don't have an RDP server anywhere, but I am able to type the password to open the wallet.  I tried deleting all my history and bookmarks in krdc to see if manually typing it would fix it, but this didn't work.

If I have an RDP password stored in the wallet, I can open the wallet... but I can't actually store any VNC passwords because krdc still won't let me enter a password in it's own password dialog.
Comment 3 Urs Wolfer 2009-05-16 13:31:54 UTC
Can you reproduce such a behavior with any other app using KWallet?
Comment 4 Brandon Rader 2009-05-16 22:10:51 UTC
No, I haven't had this problem with any other program. The only other program I regularly use Kwallet for is the Network Management plasma applet, which has never given me this bug.
Comment 5 Urs Wolfer 2009-07-15 20:06:47 UTC
*** Bug 200351 has been marked as a duplicate of this bug. ***
Comment 6 Jay MacDonald 2009-07-15 20:10:22 UTC
why is this still unconfirmed if two people are having the "same" problem?
Comment 7 Urs Wolfer 2009-07-15 20:16:35 UTC
It's not confirmed yet because I was not able to reproduce, but I'll mark it as confirmed now because two people are having the same issue. Thanks for your report.
Comment 8 Cade Robinson 2009-09-16 17:22:11 UTC
This happens when "Grab all keys" is enabled.
It happens to me in 4.3.1 as well.

I just have to cancel the kwallet dialog and then disable "Grab all keys" and then try again.

I can type the password into the kwallet dialog then.

Also I have seen other issues similar to bug 200351 when a krdc session is open with "Grab all keys" enabled where things do not behave correctly in other windows.  Again disabling "Grab all keys" or closing krdc fixes all that.

It would be nice if "Grab all keys" only grabbed them when krdc was the active window, but it seems like it does it all the time.
Comment 9 Cade Robinson 2009-09-16 17:26:55 UTC
I should also add this is only in VNC connections.
It looks like in RDP "Grab all keys" doesn't stay enabled on new connections to the same host.

In VNC it stays enabled.

Maybe always disable "Grab all keys" on new connections?
Comment 10 Urs Wolfer 2012-01-04 19:24:50 UTC
*** Bug 249498 has been marked as a duplicate of this bug. ***
Comment 11 Urs Wolfer 2012-01-04 19:29:00 UTC
SVN commit 1271602 by uwolfer:

Restore key grabbing action status after sucessful connection.
Fixes keyboard blocking which prevented users for example to enter any passwords in KRDC or KWallet.


 M  +8 -3      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1271602
Comment 12 Urs Wolfer 2012-01-04 19:40:44 UTC
SVN commit 1271606 by uwolfer:

Backport to 4.8 branch:

Restore key grabbing action status after sucessful connection.
Fixes keyboard blocking which prevented users for example to enter any passwords in KRDC or KWallet.

FIXED-IN: 4.8

 M  +8 -3      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1271606