GNOME Bugzilla – Bug 682385
bad interaction between dwelling and scrolling when selecting text
Last modified: 2012-09-19 01:39:39 UTC
I got bug 682383 and went to copy the stacktrace to submit the bug report (in a fullscreen terminal), but that move made the message tray appear (as I had the mouse stuck at the bottom of the screen). More importantly it was not possible to get the tray to disappear, and I was able to type in the terminal (and restart the shell). I then reproduced the same issue while selecting text in gedit, there I found that the message tray would disappear when quitting gedit. Perhaps the message tray shouldn't appear when a mouse button is down?
Created attachment 222083 [details] [review] messageTray: fix dwelling during mouse-down If the user has the mouse down - for example when they are selecting text and dragging - then the attempt to get a modal grab will fail. grabHelper: allow the .grab() function to fail and do nothing in this modal case if the grab fails. messageTray: handle grab failure and don't pop up the tray. Change the logic for tray dwelling so that we only try to pop up the tray once while the pointer is in the dwell area - this avoids the possiility that the tray will pop up once the user releases the mouse.
I encountered the same bug today by using an horizontal scrollbar in a maximized browser window. When you move the scrollbar around at the bottom of the screen, the message tray popped up in an inconsistent state; I could still interact with the scrollbars, but couldn't get out of the message tray mode by pressing Escape.
Review of attachment 222083 [details] [review]: This is correct.
Attachment 222083 [details] pushed as 3902e8b - messageTray: fix dwelling during mouse-down
*** Bug 684338 has been marked as a duplicate of this bug. ***