GNOME Bugzilla – Bug 708887
Can no longer drag items through the overview
Last modified: 2013-10-11 18:17:31 UTC
In GNOME 3.8 and earlier; it was possible to click and drag items (such as files) to the top left hand corner of the screen; which entered the Overview screen, and you can then hover over any app to focus it, and ultimately end the drag operation. This is very useful on small screens or when you prefer using maximised windows. In the latest version (3.10.0.1); dragging the item to the top left hand corner still activates the overview; but when you attempt to drag down over an app, as soon as the mouse leaves the top bar; the overview quits. For obvious reasons, this makes it impossible to drag objects between windows in this manner.
I can reproduce this but only if I move the mouse fast enough i.e if I "sit" in the corner until the animation finishes it works.
Created attachment 255914 [details] [review] overview: Ignore dragEnd while the animation is still in progress Moving the mouse fast enough during xdnd will trigger a xdnd-leave event because the input shape is not updated until after the animation is done. So simply ignore the leave events while the animation is in progress.
Review of attachment 255914 [details] [review]: OK.
Thanks :).
Attachment 255914 [details] pushed as 80a3bb8 - overview: Ignore dragEnd while the animation is still in progress
Seems like the bug still can be triggered with that patch applied.
It also feels like you need way too much pressure / acceleration to activate the overview when you are dragging something. Plus you have to hit the window corner spot on to tirgger overview mode. Afair you only had to drag something over the "Activities" label before.
Created attachment 257041 [details] [review] Revert "overview: Ignore dragEnd while the animation is still in progress" This reverts commit 80a3bb85aa4a66ed55b3d7465500e1c1f7cade6c. -- This patch was wrong.
Created attachment 257042 [details] [review] layout: Flush region update in showOverview We cannot wait for the queued update region to fire when xdnd is being used because a wrong input shape can result into a xdnd leave event when the user moves the pointer fast.
Review of attachment 257041 [details] [review]: .
Review of attachment 257042 [details] [review]: OK.
Attachment 257041 [details] pushed as 13e6a6d - Revert "overview: Ignore dragEnd while the animation is still in progress" Attachment 257042 [details] pushed as f601086 - layout: Flush region update in showOverview