After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 447435 - Can not type anything into unlock keyring dialog when accessibility enabled.
Can not type anything into unlock keyring dialog when accessibility enabled.
Status: RESOLVED NOTGNOME
Product: gnome-keyring
Classification: Core
Component: prompting
unspecified
Other All
: Normal major
: ---
Assigned To: Patrick Wade
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-06-14 08:32 UTC by Emily chen
Modified: 2008-01-11 02:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Emily chen 2007-06-14 08:32:15 UTC
Please describe the problem:
When accessibility is enabled, can not type password into Gnome-keyring dialog to unlock. 

Steps to reproduce:
On Solaris neveda, Gnome_2.19 

1. Launch Gaim/Pidgin, and create a account
2. Make sure check 'remember password' while input password for this account
3. Gnome keyring will start, ask user to set password for this keyring, then the Gaim account will get connected.  
4. Enable accessibility 
5. Logout and login 
6. Start Gaim again, will pop out a dialog 'Unlock Keyring', ask you to input the password for the keyring. 



Actual results:
Can not input anything into this dialog. The only thing you can do is click 'Deny'. But if you turn off accessibility, no problem to input the keyring password.

Expected results:
Can input password into this dialog.

Does this happen every time?
Yes

Other information:
This is only happened when accessibility is enabled.
Comment 1 Emily chen 2007-06-14 08:33:25 UTC
Li Yuan, would you take a look at this accessibility related bug? Thanks 
Comment 2 Stef Walter 2007-06-14 16:04:09 UTC
Odd. I can't duplicate this bug. I checked the 'Accessibility enabled' checkbox in  gnome-at-properties

Comment 3 Patrick Wade 2007-06-14 21:20:27 UTC
I can reproduce this bug with Pidgin 2.0.1 and gnome-keyring-2.19.2.

Note that when the problem occurs, it is not just the gnome-keyring-ask dialog that refuses input - other running applications like gedit and gnome-terminal refused input too, which suggests that this erroneous 'embargo' on user text input is in some sense general.

Also, when I cancelled the gnome-keyring-ask dialog and quit pidgin, and then restarted pidgin, the subsequently reappearing gnome-keyring-ask dialog (and other applications on my desktop) started receiving input correctly again.
Comment 4 Patrick Wade 2007-06-14 21:33:16 UTC
I suspect the problem is in pidgin, not gnome-keyring.
Comment 5 Patrick Wade 2007-06-14 23:18:25 UTC
This issue seems to be in relation to the gnome_keyring_find_network_password_sync() call in the gaim_account_get_password_from_keyring function() in 
"pidgin-2.0.1/libpurple/account.c"
Comment 6 Stef Walter 2007-07-24 02:36:12 UTC
Can you still duplicate this? Shall I close this bug as a pidgin bug?
Comment 7 Patrick Wade 2007-08-14 18:36:48 UTC
Can still be reproduced.
Comment 8 Li Yuan 2007-08-15 03:18:05 UTC
I think this is because when applications (vino, pidgin) popup the gnome-keyring dialog, gnome-keyring blocks the application, thus application can not answer CORBA calls from at-spi-registryd, so the CORBA call never returns.

Is there a way to make applications can handle CORBA calls when the gnome-keyring dialog popups?
Comment 9 Stef Walter 2007-08-15 16:01:43 UTC
If the application using gnome-keyring uses the 'sync' version of the gnome keyring calls, then of course it'll block. GUI applications should use the asynchronous version of the gnome-keyring calls.

Comment 10 Harry Lu 2008-01-10 05:58:46 UTC
Yeah, this is an application bug, not gnome-keyring bug. Close as NOTGNOME.
Comment 11 Willie Walker 2008-01-10 14:13:54 UTC
Thanks!  Has anyone logged a bug against Pidgin for this?  I just want to make sure the thing actually gets fixed.  :-)
Comment 12 Li Yuan 2008-01-11 02:49:37 UTC
Pidgin doesn't support gnome-keyring originally, we made a internal patch to make it support gnome-keyring on opensolaris. And also we have made another patch to fix this bug :)