GNOME Bugzilla – Bug 658640
Drag and drop between windows via Overview not working
Last modified: 2011-09-14 16:32:19 UTC
I used to be able to drag and drop items, such as selected text, between two windows by dragging the item to the hot corner, hovering it over the target window until it opened and then dropping it. With the latest GNOME Shell from git, I can no longer do this. The windows in the overview are no longer accepted as valid drop targets.
(In reply to comment #0) > I used to be able to drag and drop items, such as selected text, between two > windows by dragging the item to the hot corner, hovering it over the target > window until it opened and then dropping it. Works for me. > With the latest GNOME Shell from > git, I can no longer do this. The windows in the overview are no longer > accepted as valid drop targets. Don't understand this .. the windows in the overview where never drop targets as you said above "hovering it over the target window until it opened and then dropping it." or are you saying it does not switch to the window when hovering over it?
(In reply to comment #1) > Don't understand this .. the windows in the overview where never drop targets > as you said above "hovering it over the target window until it opened and then > dropping it." or are you saying it does not switch to the window when hovering > over it? Yes, sorry, that's what I meant. I can drag an item to the corner to enter the overview, but then bringing the item over a window thumbnail is now not bringing me out of the overview so that I may drop it onto the other window. I'm running Ubuntu 11.04 with the GNOME 3 + ricotz's testing PPA (current shell version 3.1.91+git20110908.092338a4). I've tested this with all extensions disabled.
Created attachment 196151 [details] [review] workspace: Fix activating windows from xdnd operations Commit e5bc3a2ba83 changed the hierarchy of WindowClone, which broke activating windows on hover during xdnd operations. To avoid intrusive changes, just hide the new actor from picks so that DND operations pick the actor actually meant to represent the corresponding window. So, I was able to reproduce that issue - it is a fallout from the invisible border changes. (A simple fix would be to add _windowClone._delegate, but I consider the above patch more elegant and equally simple)
Review of attachment 196151 [details] [review]: OK, now I was able to reproduce (somehow depends on the size of the window whether it works or not). The patch makes sense and fixes it for me.
Attachment 196151 [details] pushed as 1cf64b5 - workspace: Fix activating windows from xdnd operations
*** Bug 659071 has been marked as a duplicate of this bug. ***