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 128664 - Drag behaviour to tasklist doesn't seem to be working
Drag behaviour to tasklist doesn't seem to be working
Status: RESOLVED DUPLICATE of bug 80736
Product: libwnck
Classification: Core
Component: general
2.8.x
Other other
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks: 155908
 
 
Reported: 2003-12-06 13:17 UTC by Sridhar Ratna
Modified: 2005-01-10 17:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Sridhar Ratna 2003-12-06 13:17:40 UTC
Consider a scenario where you want to drag a file from one _window_ to another _window_.

Currently, for this one has to keep both the windows in _view_.

To avoid this inconvinience, when draging to the target window from source window .....

1. Make the target window active (on top) when the drag enters it.

2. If the user drags to the task-button (in taskbar) of the target window bring the target window on top (active) so that the user can drag to the target window which was actually minized before.

I think it makes sense.  Thanks for a great desktop environment.
Comment 1 Elijah Newren 2004-07-17 20:46:19 UTC
I'm not sure where item 1 would be filed (metacity/gtk+?), however item two I
believe should be assigned to libwnck so I'm reassigning this there.

Note that this is related to a discussion on the wm-spec mailing list, and this
kind of functionality should be available at some point in the future.
Comment 2 Zack Cerza 2004-07-26 20:09:18 UTC
Currently, dragging an item to a taskbar button (and hovering for a moment) will:
1. If the corresponding window isn't on the current desktop, move it there.
2. Raise the window.
That seems ideal.

Dragging an item to a window that is obscured in some part (and hovering for a
moment) will not raise the window, even if "Raise selected windows after an
interval" is enabled in 'Window Preferences'. Actually, focus isn't even
transferred to the soon-to-be-recipient window. This looks like a bug to me.

Giving focus to the window might in itself fix this behavior. If that would
work, it kind of seems to me that in this case focus should be given to the
recipient window regardless of the focus-follows-mouse setting. After a delay,
of course.

I could be all wrong; any thoughts?
Comment 3 Elijah Newren 2004-10-19 22:23:53 UTC
For some reason, I can't get dragging to a taskbar button and hovering there to
do anything.  I know this was supposedly fixed as part of bug 80736 (although
see also bug 91406), but either I'm doing something wrong or my system is messed
up.  It doesn't raise or move anything.  Am I doing something wrong?

Zack: As for your other comments, you've misunderstood "raise selected windows
after an interval."  Of course, it's a really poor option to have in the UI and
it's very confusing so I don't think you're supposed to understand.  I've filed
a bug to request that it be removed from the UI (bug 154614).  Bug 112308 is
about enabling the behavior we expect (and for all focus modes) during
drag-and-drop operations between windows--i.e. item 1 that Sridhar requested.

If someone can explain to me what I'm doing wrong with DND to the taskbar, then
we can just mark this bug as a duplicate of bug 80736.  Otherwise, I'll leave
this open.  :-)
Comment 4 Luis Villa 2005-01-03 23:12:58 UTC
Hrm. Elijah, here is what I'm doing (which works fine):

* open two windows, small enough to see desktop, but big enough so that one
obscures the other
* drag from desktop to the taskbar, over the 'obscured' window
* watch as obscured window pops to top.

alternately, ctl+alt+d to hide all windows, then drag from desktop to panel also
works as intended here.
Comment 5 Elijah Newren 2005-01-04 00:55:43 UTC
Whoa, that works here just fine.  I'm pretty sure it didn't before.  Maybe I was
at school or something?  Maybe a certain version broke something, or I had a
nasty local patch that screwed things up?  Let me take a look tomorrow again
when I'm back up at school.
Comment 6 Vincent Untz 2005-01-05 14:31:23 UTC
Elijah: so, was it a problem at school?
Comment 7 Elijah Newren 2005-01-05 16:02:14 UTC
Sorry, I haven't been feeling well.  Flu or cold or something.  Nasty cough and
headache.  Anyway, I haven't been back up to school yet.
Comment 8 Elijah Newren 2005-01-10 17:36:12 UTC
Works on my machine at school just fine.  I must have had a temporary busted
build or nasty patch or something.  So I'll mark as a duplicate of 80736.  (The
second issue mentioned by the reporter, as stated above, is already filed as bug
112308)

*** This bug has been marked as a duplicate of 80736 ***