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 646178 - Can't close dialogs when using insecure storage for a new keyring
Can't close dialogs when using insecure storage for a new keyring
Status: RESOLVED OBSOLETE
Product: gnome-keyring
Classification: Core
Component: prompting
2.91.x
Other Linux
: Normal normal
: 3.0.1
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
: 647065 647276 648129 648360 648493 651077 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-30 02:54 UTC by Michael Gauthier
Modified: 2011-10-14 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gauthier 2011-03-30 02:54:50 UTC
Using the GNOME 3 live CD distribution.

When I enter my WPA2 PSK GNOME Keyring asks me to create a new keyring. When no password is entered, a dialog to confirm unsafe storage appears.

At this point, the dialog can not be focused and the previous dialog can not be closed. This seems to break GNOME Shell and no other windows can be properly focused.

I'm not sure if GNOME Keyring is creating dialogs wrong, or if Mutter is not handling an edge case properly.
Comment 1 Adam Williamson 2011-04-08 00:02:37 UTC
I have a downstream bug on this which has a backtrace attached:

https://bugzilla.redhat.com/show_bug.cgi?id=693501
Comment 2 Stef Walter 2011-04-20 04:59:12 UTC
*** Bug 648129 has been marked as a duplicate of this bug. ***
Comment 3 Stef Walter 2011-04-22 08:21:39 UTC
*** Bug 648360 has been marked as a duplicate of this bug. ***
Comment 4 Stef Walter 2011-04-22 08:30:50 UTC
*** Bug 647276 has been marked as a duplicate of this bug. ***
Comment 5 Stef Walter 2011-04-23 06:36:44 UTC
*** Bug 648493 has been marked as a duplicate of this bug. ***
Comment 6 Stef Walter 2011-04-24 09:13:33 UTC
This problem was specific to gnome-keyring built with GTK+3. Fixed on gnome-3-0 branch.

commit 9454565c1c17d38a7720da433d9eeb8a436a4ceb
Author: Stef Walter <stefw@collabora.co.uk>
Date:   Sun Apr 24 11:12:12 2011 +0200

    ui: Fix clicking buttons in 'unsafe storage' dialog on GTK+3
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646178
Comment 7 Patrizio 2011-04-26 17:51:23 UTC
the problem still persists when i change the password from seahorse!
Comment 8 Stef Walter 2011-04-26 18:13:15 UTC
You're probably not yet using the new version of gnome-keyring: 3.0.1
Comment 9 Stef Walter 2011-05-09 09:00:28 UTC
*** Bug 647065 has been marked as a duplicate of this bug. ***
Comment 10 Stef Walter 2011-05-28 17:37:52 UTC
*** Bug 651077 has been marked as a duplicate of this bug. ***
Comment 11 Jean-François Fortin Tam 2011-06-30 02:54:30 UTC
I'm still seeing this on 3.0.2 on Fedora.

By looking at 
https://mail.gnome.org/archives/commits-list/2011-April/msg09468.html 

I see a lot of "keyboard grabbing" going on. Pardon my naïveté, but what is that about?

Doesn't simply hiding the parent and creating a new prompt dialog window (then destroying/showing the parent again depending on the final user choice) suffice?
Comment 12 Jean-François Fortin Tam 2011-06-30 17:07:57 UTC
And FWIW, this also happens with metacity, not just with gnome shell.
Comment 13 Tomasz Sterna 2011-06-30 22:26:33 UTC
(In reply to comment #11)
> I see a lot of "keyboard grabbing" going on. Pardon my naïveté, but what is
> that about?

If you do not grab the device, every process running on your X server could eavesdrop your password.
Comment 14 Adam Williamson 2011-08-16 01:23:43 UTC
This is still valid in Fedora 16 Alpha, with very recent GNOME / GTK bits (3.1.4 ish).
Comment 15 Stef Walter 2011-08-30 11:41:06 UTC
I can't duplicate this. Could you try and duplicate this with the following command in the built gnome-keyring directory:

ui/gnome-keyring-prompt-3 < ui/tests/files/prompt-full

In you built gnome-keyring directory make sure not to have configure gnome-keyring with --enable-debug as that affects the behavior.

Please provide output of that command.
Comment 16 Akhil Laddha 2011-10-14 05:19:19 UTC
Jean-François, Adam, can you please provide requested information as per comment#15 ?
Comment 17 Jean-François Fortin Tam 2011-10-14 17:23:40 UTC
I'm now unable to reproduce this on two different computers running Fedora 16 with GNOME 3.2. Someone can prove me wrong, but as far as I'm concerned, the problem has vanished on my end.