GNOME Bugzilla – Bug 128664
Drag behaviour to tasklist doesn't seem to be working
Last modified: 2005-01-10 17:36:12 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.
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.
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?
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. :-)
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.
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.
Elijah: so, was it a problem at school?
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.
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 ***