Red Hat Bugzilla – Bug 492645
Last modified: 2009-03-30 05:27:29 EDT
Try using keynav to toggle the checkboxes in the list. After each toggle, the focus gets yanked out from under me and to the install button. That is wrong, the focus should stay where I put it.
What you are trying to achieve here can at least partially be handled by making the install button the default widget for the window.
The offending code is in gpk_update_viewer_reconsider_info:
/* focus on install button */
widget = glade_xml_get_widget (glade_xml, "button_install");
gtk_window_set_focus (GTK_WINDOW(main_window), widget);
Created attachment 337062 [details]
default widget does not really help after all, since most focus locations in the dialog eat enter anyway. But this is still the right thing to do. The focus belongs to the user.
Author: Matthias Clasen <firstname.lastname@example.org>
Date: Mon Mar 30 10:24:50 2009 +0100
bugfix: don't set the default widget to the install button when we reconsider. Fixes rh#492645