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 326482 - dragging operation can't be cancelled once a menuitem is dragged
dragging operation can't be cancelled once a menuitem is dragged
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: general
2.26.x
Other All
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 365711 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-10 16:04 UTC by Peter Vegh
Modified: 2020-11-06 20:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Peter Vegh 2006-01-10 16:04:15 UTC
Normally a dragging operation can be cancelled with ESC, it should be aswell.

Other information:
Tried on Ubuntu Breezy and Dapper.
Comment 1 Peter Vegh 2006-01-10 16:05:42 UTC
Sorry, forgot to add that I mean the Places and System menu on the panel.
Comment 2 Vincent Untz 2006-01-11 21:09:11 UTC
Agree. I don't know why it doesn't work, though. If someone can look at it...
Comment 3 Heinz Repp 2008-07-06 19:19:41 UTC
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!
Comment 4 vincenzo_ml 2009-04-22 15:26:14 UTC
Any news?
Comment 5 vincenzo_ml 2009-07-07 13:22:37 UTC
> 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!

Comment 6 Bp 2009-07-28 02:14:45 UTC
Bug still exists in Ubuntu 9.04/Gnome 2.26.1. Vin is right about panel not getting the keypress.
Comment 7 Marcus Carlson 2009-08-16 15:05:28 UTC
Could gdk_keyboard_grab () when starting the drag help this?
Comment 8 André Klapper 2009-12-19 22:17:30 UTC
*** Bug 365711 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2009-12-19 22:18:11 UTC
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
Comment 10 Marcus Carlson 2009-12-19 23:06:02 UTC
Just tried again on my karmic desktop and this time I cannot cancel the drag by hitting ESC.
Comment 11 Julien Olivier 2012-02-22 12:11:06 UTC
It's still impossible to cancel a drag in Nautilus 3.3.90.
Comment 12 Julien Olivier 2012-02-22 12:11:54 UTC
Sorry, wrong component. My comment was about Nautilus, not gnome-panel.
Comment 13 André Klapper 2020-11-06 20:22:40 UTC
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.