GNOME Bugzilla – Bug 778797
joinDialog: Add some basic key handling to name entry
Last modified: 2017-02-18 21:08:47 UTC
See patches.
Created attachment 346022 [details] [review] joinDialog: Set :activates-default again Since commit 4aec23aacf, the name entry no longer reacts to the Enter key. It is still unclear what the correct behavior will be once we implement filtering, for now just making it activate the default widget again seems the most reasonable.
Created attachment 346023 [details] [review] joinDialog: Handle Escape in name entry Now that the entry has been changed to a SearchEntry, it consumes Escape key presses itself for the ::stop-search keybinding signal rather than letting it bubble up to the dialog. Not being able to dismiss the dialog via keyboard is inconvenient, so handle Escape manually to clear the entry if it contains any text, or dismiss the dialog otherwise.
Review of attachment 346022 [details] [review]: looks good to me
Review of attachment 346023 [details] [review]: looks good to me
Attachment 346022 [details] pushed as 052acc4 - joinDialog: Set :activates-default again Attachment 346023 [details] pushed as 321640b - joinDialog: Handle Escape in name entry