GNOME Bugzilla – Bug 747205
Meta+N does not focus text field in a chat in notification tray
Last modified: 2015-04-16 16:32:22 UTC
In 3.14, Meta+N focused the current notification. In the case of a message from Empathy, you could press Meta+N, reply to your message, and hit enter to send the reply. Since upgrading to 3.16, this functionality is broken. Meta+N focuses the current notification, but the actual text field to reply in does not get focus. This means you have to click on the text field to reply making the Meta+N shortcut useless (for chat messages). This is on Arch Linux x64, gnome-shell 3.16.0-1, empathy 3.12.8-1.
*** Bug 747978 has been marked as a duplicate of this bug. ***
Created attachment 301735 [details] [review] messageTray: Make notification banners unfocusable Unlike entries in the calendar's message list, banners are not subject to the normal keynav chain, and making the banner actor itself unfocusable allows for the focus to be moved to the action area when expanded. This patch should restore the pre-3.16 behavior, though it has implications on accessibility, so we're still figuring out the best approach forward.
I confirm that the patch (attachment 301735 [details] [review]) works. Thanks a lot. Just a little remark : once in the text field it is not possible to leave it by hitting the "escape" key. I have to hit Alt+Tab ; not very intuitive but I will not complain :) Regards
And to confirm what was discussed in #gnome-shell, the patch doesn't have negative implications for accessibility, and in fact makes things more accessible. Orca presents notifications based on role; not the focused object. Orca works fine with this patch, and Orca users need for the text field to have focus so they can type there -- just like any other user. :)
Attachment 301735 [details] pushed as 9917f05 - messageTray: Make notification banners unfocusable OK, let's go with it then ... (I'll also push the patch to gnome-3-16, so that it gets included in 3.16.2 ...)