GNOME Bugzilla – Bug 77517
no kbd navigation in logout dialog
Last modified: 2004-12-22 21:47:04 UTC
Logout dialog (the one you get when select "logout" in hte menu) doesn't allow keyboard navigation. You can't hit tab or arrows to change selected button from "yes" to "no"; you can't even hit enter to press the selected button.
Wow, this is horrible. You can't tab around, but shortcut keys work
Wouldn't quite call this urgent but yeah it sucks :)
a possibly related thing - cpu usage goes to 100% when the dialog is showing (i can tell cause my laptop fan comes on)
btw this also exists in gnome 1.
Um, this seems to fix it for me ;) - gdk_keyboard_grab (invisible->window, FALSE, GDK_CURRENT_TIME); + gdk_keyboard_grab (box->window, FALSE, GDK_CURRENT_TIME);
committed this and anotehr little change. thanks. 2002-04-23 jacob berkman <jacob@ximian.com> * logout.c (display_gui): fix a typo that's been there since '99 and remove a hack that's not needed any more fixes #77517
I tested with 19th June build on Intel/Spark Solaris. I could reproduce the problem as follows. 1) Select Actions->log out 2) Press tab (once) to focus Save Current Setup check box 3) Press Space bar to select this check box. 4) After this I am not able to use keyboard to select OK or Cancel button Could you please reopen this bug
Created attachment 9611 [details] [review] logout key nav workaround
Now, if I could figure out why this is happening, I'd be a happy man. I only had a brief look at the code [less than 3 mins], but above is a work around patch [ugly]
glynn, the patch doesn't fix if you tab to the reboot/shutdown radio buttons and hit space. btw this should really have been a new bug - it's not the same thing as before...
yeah, forgot about those options and remembered at the weekend but promptly forgot to update the patch [sigh]
as recommended by owen, i added an XSetInputFocus() call and it seems to fix it: 2002-07-08 jacob berkman <jacob@ximian.com> * logout.c (display_gui): call XSetInputFocus() on our window to fix #77517 again (thanks, owen)
*** Bug 87494 has been marked as a duplicate of this bug. ***