Drag & drop from Trash not possible [CLOSED]

Questions, glitches, bugs and crashes
babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Drag & drop from Trash not possible [CLOSED]

Post by babmo » Thu Feb 04, 2021 1:50 pm

v3532 nothing happens if I drag a file from Trash.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Drag & drop from Trash not possible

Post by mike » Thu Feb 04, 2021 10:18 pm

babmo wrote:
Thu Feb 04, 2021 1:50 pm
v3532 nothing happens if I drag a file from Trash.
I can't reproduce this behaviour. Could you provide any details?

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Drag & drop from Trash not possible

Post by babmo » Thu Feb 04, 2021 10:56 pm

I delete a file or a folder, open Trash in Finder, drag a file out and drop it on a panel in NC. The file makes this animation where it flies back to its place in the Trash. Dragging from Trash to Finder works as expected. Dragging files from Finder to NC works as expected.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Drag & drop from Trash not possible

Post by mike » Tue Feb 09, 2021 10:34 pm

Some detail is missing here.
I just checked this again and dragging from Trash to NC worked as expected...
Could you compose an exact set of steps with their context?

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Drag & drop from Trash not possible

Post by babmo » Wed Feb 10, 2021 5:51 pm

I’m really not sure how I can describe it better. I’ve recorded a video https://streamable.com/mvprpw
You see how I delete files and try to drag them from the Trash, it doesn’t work. Then I drag them on a Finder window and it works.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Drag & drop from Trash not possible

Post by mike » Tue Feb 16, 2021 11:18 pm

Thank you, I was finally able to reproduce the issue on my side.
The "missing link" is the origin of NC - seems that sandboxed versions (i.e. coming from MacAppStore) are affected, while a standalone version works as expected.
I'll fix the problem.

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Drag & drop from Trash not possible

Post by babmo » Wed Feb 17, 2021 8:52 pm

Glad I you could reproduce it. But my NC is not from the App Store, it’s the standalone from the homepage.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Drag & drop from Trash not possible

Post by mike » Wed Feb 17, 2021 9:59 pm

Huh, that was unexpected :)
Anyway, it has become clear what's happening - NC can't accept items dragged from Trash when it doesn't have a "Full Disk Access" (System Preferences->Security & Privacy).
The sandboxed-regular thing was another way to trigger this difference in my case, but not the source.
All versions behave the same way in fact - when the full disk access is provided they work as expected, and vice versa.
I'll try to at least show some message box in the case of missing rights.
Screenshot 2021-02-17 at 21.56.14.png
Screenshot 2021-02-17 at 21.56.14.png (160.96 KiB) Viewed 6173 times

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Drag & drop from Trash not possible

Post by babmo » Thu Feb 18, 2021 2:22 am

Oh man, Apple and their stupid right management. That was it, after granted full disk access it works as expected. Thank you!

JayB
Posts: 192
Joined: Sun Jan 08, 2017 4:38 pm

Re: Drag & drop from Trash not possible

Post by JayB » Thu Feb 18, 2021 7:29 pm

Two general notes: (1) your file manager should always be on the FDA list ; (2) your file manager should never be macOS Finder. :D

Locked