GNOME Bugzilla – Bug 685511
login-screen: 'Not listed?' is broken
Last modified: 2012-10-04 19:22:50 UTC
The introduction of default buttons on modal dialogs broke the login-screen's 'Not listed?' option - to reproduce: (1) Click 'Not listed?' (2) Enter username, press Return (3) Get an 'Authentification failed' error before entering the password The first patch fixes the issue, the second one is just nice-to-have (although it does fix a regression introduced by the first patch).
Created attachment 225836 [details] [review] loginDialog: Rely on default button for activation Currently the default action is performed twice when pressing Return in the login dialog, once in response to the entry's 'activate' signal, and again by activating the default button. Usually this is not a problem, as the second invocation is simply ignored, however it breaks the case where multiple consecutive questions are asked (e.g. username and password in the 'Not listed' case). Fix the problem by not handling the 'activate' signal at all.
Created attachment 225837 [details] [review] modalDialog: Add alternative keys to activate default Currently Return is used to activate the default button of a modal dialog if no key is specified. It makes sense to allow alternatives as the keypad's Enter key as well in this case.
This clearly needs fixing for 3.6.1.
Review of attachment 225836 [details] [review]: Sure.
Review of attachment 225837 [details] [review]: Sure.
Attachment 225836 [details] pushed as 20d4ffd - loginDialog: Rely on default button for activation Attachment 225837 [details] pushed as 55284e4 - modalDialog: Add alternative keys to activate default