Popup menu opens even if it fails to obtain the grab
A tricky way to reproduce this bug is:
- manually disable the keyring gnome-shell dialog
- open seahorse and unlock it
- a gtk unlock dialog should appear
- try to open a popup menu (e.g. the session one)
Expected result: The popup menu fails to open
Actual results: The popup menu opens.
Even if doing 1) does not make sense this bug has been reproduced when auto-login is enabled and keyring tries to unlock the dialog before the shell is ready.