GNOME Bugzilla – Bug 689060
Initial selection is disregarded if it's made before realize
Last modified: 2012-12-10 15:50:59 UTC
Created attachment 229870 [details] test-sel, a very dumb test case that shows the behavior See the attached test case. This is sort of a big bug in gnome-initial-setup, as we use the currently selected child to change the user's locale. This is because of egg_list_box_real_focus, which gets called when the window is shown, which tries to focus the first child. I don't know the full story of the focus logic there, but it looks like there's logic to focus the first child if coming from another widget; which seems wrong if there's a user selection anyway. Focusing into the container shouldn't change the selected item; it should only allow you to keynav with up/down arrows from then on.
Fixed by http://git.gnome.org/browse/egg-list-box/commit/?id=bb1b6ef425d17bb95de0127b6f3e1470c0303b68