GNOME Bugzilla – Bug 326482
dragging operation can't be cancelled once a menuitem is dragged
Last modified: 2020-11-06 20:22:40 UTC
Normally a dragging operation can be cancelled with ESC, it should be aswell. Other information: Tried on Ubuntu Breezy and Dapper.
Sorry, forgot to add that I mean the Places and System menu on the panel.
Agree. I don't know why it doesn't work, though. If someone can look at it...
Still not working on Ubuntu Hardy with Gnome 2.22.2. Not only annoying but also possible data loss or crash, as user has no option to cancel the drag'n'drop operation: - as soon as the drag operation begins, the menu disappears, no way to let object fall on its current place (to abort the drag) - ESC does not work - ALT modifier (which would offer a context menu and a cancel option) does not work - pressing simultaneously right or middle mouse button has no effect Imagine, you picked the root directory in the Places menu; only open window is nautilus full screen with you home directory; so you release the mouse button over the nautilus window after trying in vain to stop the operation; the copy operation that starts now cannot be stopped - there is no associated window; you only can wait until your disks are filled (or reset the computer) ... ctrl-alt-fx to switch to a different console doesn't work neither ... So please let drag'n'drop operations from the panel be canceled by - ESC - ALT+release of mouse button: context menu - pressing an additional mouse button and please, set severity at least to normal - being unable to cancel a drag'n'drop operation is a clear violation of the hig guidelines (see http://developer.gnome.org/projects/gup/hig/2.0/input.html#drag-drop) and a disturbing user experience - this is not only cosmetic! and please set gnome version to 2.x!
Any news?
> Agree. I don't know why it doesn't work, though. If someone can look at it... > Vincent Unz: I think I find the cause. While dragging from the panel, the last focused window has the focus! E.g. try to start firefox, open its preferences, start a drag and press ESC. The preferences window disappears, and the drag is not cancelled, because the panel did not catch the keypress!
Bug still exists in Ubuntu 9.04/Gnome 2.26.1. Vin is right about panel not getting the keypress.
Could gdk_keyboard_grab () when starting the drag help this?
*** Bug 365711 has been marked as a duplicate of this bug. ***
Posting the last comment on duplicate; can somebody confirm this? --- Marcus Carlson 2009-09-04 21:29:45 UTC --- This seems to be fixed with the latest version of gtk (?) - probably due to csw and I can't reproduce any longer. Version from Ubuntu Karmic ii libgtk2.0-0 2.17.10-0ubuntu1 ii gnome-panel 1:2.27.91-0ubuntu2
Just tried again on my karmic desktop and this time I cannot cancel the drag by hitting ESC.
It's still impossible to cancel a drag in Nautilus 3.3.90.
Sorry, wrong component. My comment was about Nautilus, not gnome-panel.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.