After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 658640 - Drag and drop between windows via Overview not working
Drag and drop between windows via Overview not working
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 659071 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-09-09 09:42 UTC by MT
Modified: 2011-09-14 16:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
workspace: Fix activating windows from xdnd operations (1.53 KB, patch)
2011-09-09 23:02 UTC, Florian Müllner
committed Details | Review

Description MT 2011-09-09 09:42:13 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.
Comment 1 drago01 2011-09-09 16:09:56 UTC
(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?
Comment 2 MT 2011-09-09 22:25:48 UTC
(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.
Comment 3 Florian Müllner 2011-09-09 23:02:53 UTC
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)
Comment 4 drago01 2011-09-10 06:43:37 UTC
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.
Comment 5 drago01 2011-09-14 08:01:00 UTC
Attachment 196151 [details] pushed as 1cf64b5 - workspace: Fix activating windows from xdnd operations
Comment 6 Jasper St. Pierre (not reading bugmail) 2011-09-14 16:32:19 UTC
*** Bug 659071 has been marked as a duplicate of this bug. ***