Bug 786906 - Dnd from desktop to a nautilus view doesn't work (&lock cursor under wayland)
Dnd from desktop to a nautilus view doesn't work (&lock cursor under wayland)
Status: NEW
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2017-08-28 13:01 UTC by Sebastien Bacher
Modified: 2017-12-07 10:57 UTC (History)
12 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Sebastien Bacher 2017-08-28 13:01:57 UTC
Using nautilus 3.25.90 on Ubuntu/GNOME/wayland, desktop rendering is enabled, doing a dnd from a file on the desktop to an open nautilus view doesn't copy the file and the cursor gets stucked in dnd mode until the session is restarted
Comment 1 Carlos Soriano 2017-08-28 13:27:26 UTC
It works on X, so reassigning for now to gtk+
Comment 2 Strangiato 2017-09-07 14:30:24 UTC
maybe related
https://bugzilla.gnome.org/show_bug.cgi?id=785902

In my case the cursor gets stucked in dnd mode too, but it back to normal after some time, I dont need restart my session.
Comment 3 Aldo Giove 2017-09-28 14:45:59 UTC
(I post here the same comment I posted for Ubuntu bug #1716277 in Launchpad.net):

Same issue on my Ubuntu 17.10 beta (GNOME on Wayland), freshly installed (no upgrade).

This happens by dragging any file from desktop to any other window of nautilus.

Dragging from nautilus to desktop works.
Dragging from nautilus to another nautilus windows works.
Cut/Paste from/to desktop works.

It's the dragging action from desktop that looks flawed.

If useful, here is a screen recording that shows the issue (well, the initial mouse drag and subsequent click attempts are not clearly visible but I think that one can get the idea of the problem):

https://www.dropbox.com/s/kjzqucqb7hdcnvy/Screencast_drag_issue_ubuntu-17-10-beta.mp4?dl=0
Comment 4 Sebastien Bacher 2017-10-31 14:03:49 UTC
That issue seems to be hitting quite some users and force they to restart their session which is annoying. It's not specific to the desktop view, some reports mention doing a dnd between thunderbird and nautilus leading to the same lock situation
Comment 5 Matthias Clasen 2017-11-01 14:33:12 UTC
debugging and patches welcome
Comment 6 mateus_rachid 2017-11-11 21:06:30 UTC
(In reply to Aldo Giove from comment #3)

Also affects me with the same behavior as showed in your video.

The same happens when dragging items (like images) from Firefox to Nautilus, either to a folder window or to the desktop - in this case, the cursor gets stuck in the "hand cursor" when it is over Firefox window, like it is when the cursor is over the desktop in the video.

When dragging files both from and to Nautilus, killing Nautilus makes the mouse cursor work again. When dragging from Firefox to Nautilus, killing Firefox also solves it. 

I am running Ubuntu 17.10 fully updated as of the time of this comment, Nautilus version is 3.26.0.

---

I do not know if I am supposed to comment a "me also" type of comment here, but I did not find any button for this. Sorry if I am not supposed to. Thanks.
Comment 7 mateus_rachid 2017-11-11 21:08:11 UTC
(In reply to mateus_rachid from comment #6)

Forgot to say, I am using the default Wayland session.

Note You need to log in before you can comment on or make changes to this bug.