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 77517 - no kbd navigation in logout dialog
no kbd navigation in logout dialog
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
1.5.x
Other All
: High major
: 2.0.0
Assigned To: Session Maintainers
Session Maintainers
: 87494 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-03 17:55 UTC by Alexander Kirillov
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
logout key nav workaround (2.27 KB, patch)
2002-07-03 14:40 UTC, Glynn Foster
none Details | Review

Description Alexander Kirillov 2002-04-03 17:55:14 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.
Comment 1 Mark McLoughlin 2002-04-10 16:20:17 UTC
Wow, this is horrible. You can't tab around, but shortcut keys work
Comment 2 Luis Villa 2002-04-12 01:01:58 UTC
Wouldn't quite call this urgent but yeah it sucks :)
Comment 3 jacob berkman 2002-04-12 17:41:25 UTC
a possibly related thing - cpu usage goes to 100% when the dialog is
showing (i can tell cause my laptop fan comes on)
Comment 4 jacob berkman 2002-04-23 23:23:35 UTC
btw this also exists in gnome 1.
Comment 5 Glynn Foster 2002-04-23 23:36:16 UTC
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);
Comment 6 jacob berkman 2002-04-24 00:12:37 UTC
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
Comment 7 Tomy 2002-06-26 10:16:24 UTC
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


Comment 8 Glynn Foster 2002-07-03 14:40:17 UTC
Created attachment 9611 [details] [review]
logout key nav workaround
Comment 9 Glynn Foster 2002-07-03 14:42:22 UTC
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]
Comment 10 jacob berkman 2002-07-08 14:58:04 UTC
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...
Comment 11 Glynn Foster 2002-07-08 17:43:41 UTC
yeah, forgot about those options and remembered at the weekend but
promptly forgot to update the patch [sigh]
Comment 12 jacob berkman 2002-07-08 20:18:10 UTC
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)
Comment 13 Mark McLoughlin 2002-07-29 04:51:09 UTC
*** Bug 87494 has been marked as a duplicate of this bug. ***