GNOME Bugzilla – Bug 684458
alt-tab doesn't block message tray dwell
Last modified: 2012-09-22 18:50:31 UTC
rest your mouse at the bottom edge. hit alt-tab, and tab around for a while. suddenly, the message tray jumps out at you. I think a mode like the alt-tab popup should inhibit that.
Same for polkit dialogs and the like
Created attachment 224874 [details] [review] messageTray: Don't show when in 'modalMode' When alt-Tab, the workspace switcher, a PK dialog or anything similar is open we should not show the messagetry as this would result into a rather weird state.
Review of attachment 224874 [details] [review]: Did you test this at all? toggleAndNavigate is not used for dwell.
Created attachment 224875 [details] [review] messageTray: Clean up commented code a bit Since we changed the grabHelper.grab call to be in a conditional, it's been a little clear what the comment has been referring to.
Created attachment 224876 [details] [review] messageTray: Don't open the tray from a dwell if we're in a modal grab If we're in an alt-tab popup or modal dialog, we shouldn't pop up the tray at all.
Review of attachment 224876 [details] [review]: ::: js/ui/messageTray.js @@ +2030,2 @@ _showTray: function() { + if (Main.modalCount > 0) { This has to be "Main.modalCount > 0 && !Main.overview.visible" otherwise the try won't show up in the overview.
Review of attachment 224875 [details] [review]: OK.
Created attachment 224977 [details] [review] messageTray: Don't open the tray from a dwell if we're in a modal grab If we're in an alt-tab popup or modal dialog, we shouldn't pop up the tray at all.
Review of attachment 224977 [details] [review]: Looks good, fine to push with RT approval.
Attachment 224875 [details] pushed as 7df7cd0 - messageTray: Clean up commented code a bit Attachment 224977 [details] pushed as a87ba46 - messageTray: Don't open the tray from a dwell if we're in a modal grab