GNOME Bugzilla – Bug 619963
fails to allow password field selection after changing focus
Last modified: 2010-05-28 18:18:06 UTC
From downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=587929 "Description of problem: GDM logon screen fails to allow password field selection after changing focus. Steps to Reproduce: 1. After booting to GUI logon screen, select a userid to login as (do not enter password). 2. Select Universal Access Preferences or Boot Messages icons. 3. Select Close option. 4. Try to select Password field or logon box, and focus will not change. Actual results: At step 4 the only working option is to Cancel the login request. Expected results: Focus should change to the logon box and allow password to be entered. Additional info: If Language or Country options are selected and then closed out of, this bug doesn't occur. Those boxes must handle things differently (correct)." Turns out you can get the focus back by using Alt+F6 but that isn't good enough. Click to focus should still work. The login window is set up with the following: gtk_window_set_position (GTK_WINDOW (login_window), GTK_WIN_POS_CENTER_ALWAYS); gtk_window_set_deletable (GTK_WINDOW (login_window), FALSE); gtk_window_set_decorated (GTK_WINDOW (login_window), FALSE); gtk_window_set_keep_below (GTK_WINDOW (login_window), TRUE); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (login_window), TRUE); gtk_window_set_skip_pager_hint (GTK_WINDOW (login_window), TRUE); gtk_window_stick (GTK_WINDOW (login_window)); gtk_window_set_type_hint (GTK_WINDOW (login_window), GDK_WINDOW_TYPE_HINT_DOCK); gtk_container_set_border_width (GTK_CONTAINER (login_window), 0);
This may be because docks don't automatically take focus on click. The login window was changed to act like a dock with: commit 98a1649b17320957b9a2521af07d15ba51c187c9 <mccann> Author: Ray Strode <rstrode@redhat.com> <mccann> Date: Thu Jul 16 22:02:54 2009 -0400 <mccann> Make greeter login window be a dock <mccann> <mccann> This makes it show up in the same alt-tab window as the panel <mccann> along the bottom and works around lame metacity behavior where <mccann> it shows a dialog at session end about clients that don't set a <mccann> session id on their leader window. <mccann> <mccann> See http://bugzilla.gnome.org/show_bug.cgi?id=587732
Sigh, looks like a dup of bug 592183 *** This bug has been marked as a duplicate of bug 592183 ***