GNOME Bugzilla – Bug 602741
please support drag&drop
Last modified: 2009-11-23 18:19:12 UTC
The window list applet supports drag & drop, bringing the window that you hover over while dragging to the front. It would be very nice if that could be supported in the window selector applet (i.e. open menu, hover to bring up window) because I use that as my main window navigation apart from keybindings which don't work while dragging (which could be regarded as a separate bug, maybe). I'm happy to work on this if given pointers on how to achieve the effect (even "look at the source" might work if specific enough as to which source)
Unfortunately, the selector is a menu and drag & drop with a menu is something that is not working well with GTK+ (it should generally be avoided). I don't really understand what you'd like to achieve, though. Can you elaborate? If you want to look at that, please look at the libwnck code (libwnck/selector.c file).
Sure. Say I have an email in evolution, which is full-screen, displayed in the preview pane. I can now save an attachment by dragging it to a folder. However, the folder. Say I also have already opened the folder. However, when I go to evolution, the nautilus folder window hides behind evolution. What I really want is to be able to drop the attachment into the folder. If I have a window list applet, then I can drag the file from evolution over the folder window, which causes the folder window to pop up, and I can then drop the file into the folder. Since I don't have a window list applet, there's no way I can drop the file into the folder now. What I tend to do is mark the folder window as "always on top", but that's quite a bit more work than it could be, I think. If I just want to drop a file to the desktop, I can also hover over the "show desktop" applet for a while, and it activates hiding all windows. But there's no way to reach an arbitrary window without the window list applet while dragging.
Ah, okay. So this is a duplicate of bug 148944 :-) *** This bug has been marked as a duplicate of bug 148944 ***
Ah yes, indeed, sorry. My offer to look at the code still stands -- any more hints than libwnck/selector.c?
(In reply to comment #4) > Ah yes, indeed, sorry. My offer to look at the code still stands -- any more > hints than libwnck/selector.c? Not really, it's really all there. The code is quite self-contained, and should be relatively easy to understand. But drag and drop on menus are really not fun, as I previously said :-)