GNOME Bugzilla – Bug 696321
[PATCH] Improve XDnD support so that actors can accept XDnD drops and retrieve information about them
Last modified: 2021-07-05 14:23:36 UTC
Created attachment 239489 [details] [review] gnome-shell-3.7.92-xdnd-v3.patch It is currently not possible for actors to accept XDnD drops. This patch allows for actors to accept XDnD drops and retrieve information about them. This can be used to, for example, accept file drops from Nautilus in extensions. I have created patches for both GNOME Shell 3.6.2 and 3.7.92 (attached), along with a simple extension demonstrating its usage. The API is almost identical to regular actor drops except for the additional requestData and acceptData methods. You can find these patches and the extension at the following URL: http://jocketf.se/files/xdnd/ Mailing list thread: https://mail.gnome.org/archives/gnome-shell-list/2013-March/msg00016.html This functionality is required to fix bug 644422.
4 years later; please has anybody looked into this? it would be very nice if we finally have better drag and drop in gnome. Opening files with a drag to the dock app launchers is really missing from the gnome desktop, for when working with a graphic pen this is a must have. thank you so much!
I tried getting some attention to this after I had made the patch, but there seems to be no interest in something like this. I'm afraid I never even managed to get an opinion about adding more complete drag-and-drop support to GNOME Shell.
I want to add that this is a wanted functionality to the highly popular GNOME extension Dash to Dock (1), which now also is in use by Ubuntu (2). It would be very nice to see some progress in this area. (1) https://github.com/micheleg/dash-to-dock/issues/49#issuecomment-93854316 https://github.com/micheleg/dash-to-dock/issues/173#issuecomment-102660375 (2) https://didrocks.fr/2017/09/20/ubuntu-gnome-shell-in-artful-day-13/
Comment on attachment 239489 [details] [review] gnome-shell-3.7.92-xdnd-v3.patch If someone wants to pick that up, this needs to be added in MetaDnd now to work in wayland. Marking as needs-work.
Is there a update on this? This particular fix is critical to Touch Devices as it is a blocker in Extensions like Dash to Dock implementing Drag & Drop PNG to Krita via Dock.
It would be great if this could get some attention, I came here also from Dash-to-dock, as a switcher from OS X, I really miss that.
This is very low priority upstream, given that: - there is no drop target outside the overview, which makes DND a lot less useful/common - there are plans to drop the dash from the overview, which will make DND even less useful/common I don't think it is a coincidence that all recent comments mention dash-to-dock where DND is a much more natural interaction. But as we are unlikely to run out of issues that affect stock GNOME users any time soon, your bets are better placed on an interested party (dash-to-dock upstream/downstream or users) providing a patch than on upstream.
I asked because of this comment in Dash-to-dock: > There is one mayor stopping thing: https://bugzilla.gnome.org/show_bug.cgi?id=696321. Support has to be provided upstream first. I did try patching gnome-shell with the patch attached to that bug and got a proof of concept, but can't go on without upstream support. But my knowledge is by far not deep enough to judge about it.
They are right, this isn't something that can be implemented by an extension. But contributing the feature upstream is a much more promising path than waiting for upstream to run out of higher priority issues (from an upstream POV).
But what's about the initial patch from Joakim Soderlund, does it need to be updated or is it going into a wrong direction?
See comment #4.
Many would be really grateful if somebody with skills can work on this! Thanks in advance!
Any update on this? I desperately wait for this so I can upgrade our second computer as the rest of the family can not cope with the "alt+tab" workaround and need the drag&drop function. Thanks in advance for all attention and work!
It would be great if someone can work on this, the 7th anniversary of this bug has past. Drag & Drop has been dearly missed, see these threads: https://askubuntu.com/questions/1030623/how-to-drag-and-drop-files-to-open-application/1031836#1031836 and https://github.com/micheleg/dash-to-dock/issues/49 Thanks in advance for any contribution!
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.