Dragging multiple items to external applications [FIXED]

Questions, glitches, bugs and crashes
Locked
sasha
Posts: 168
Joined: Wed Feb 17, 2016 4:59 pm

Dragging multiple items to external applications [FIXED]

Post by sasha » Tue Oct 11, 2016 7:15 pm

Dragging multiple items to external applications doesn't work properly. Examples:

- Select multiple items in NC panel, start to drag them. The mouse cursor gets a red tool tip saying "0". It only changes into the correct number of items when dragged over to the other panel
nc_dragging.png
nc_dragging.png (86.93 KiB) Viewed 7511 times
- Dragging those items to a Finder window adds a green "+" to the cursor, but the tool tip remains "0". Yet, all items are copied correctly :) Using keyboard modifiers like CMD while dragging changes the tool tip (remove green "+"), but the items aren't copied or moved at all.

- Dragging the same items to a bunch of other applications only handles the first item. Example: Messages.app. Here, only the first item is dropped correctly, the others are ignored.

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

Re: Dragging multiple items to external applications

Post by mike » Thu Oct 13, 2016 1:58 am

Gosh, this drag & drop system is an endless source of issues :)
Ok, will get check this when a new UI will become usable.

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

Re: Dragging multiple items to external applications

Post by mike » Sat Dec 24, 2016 2:17 am

Finally, update on this issue, after two days of reverse engineering there's some progress :)
This drag&drop system is the most obscure and irrelevant subsystem in macOS, to the level at which you have to write code the opposite way that documentation says :evil:
sasha wrote: - Select multiple items in NC panel, start to drag them. The mouse cursor gets a red tool tip saying "0". It only changes into the correct number of items when dragged over to the other panel
- Dragging those items to a Finder window adds a green "+" to the cursor, but the tool tip remains "0". Yet, all items are copied correctly Using keyboard modifiers like CMD while dragging changes the tool tip (remove green "+"), but the items aren't copied or moved at all.
Fixed (I actually don't know when, but currently it shows the right numbers).
sasha wrote:- Dragging the same items to a bunch of other applications only handles the first item. Example: Messages.app. Here, only the first item is dropped correctly, the others are ignored.
Fixed, tested on Messages.app, now works both with native drags and vfs drags (like from archives).

Also, dragging into VLC now works everywhere (in both playlist and media library).
Will be available in next preview build.

User avatar
darek
Posts: 179
Joined: Thu Jul 16, 2015 4:50 pm
Location: Warsaw, Poland
Contact:

Re: Dragging multiple items to external applications

Post by darek » Sat Dec 24, 2016 6:29 am

That sounds good, because dragging was reliably unreliable. To the point where I usually preferred to switch to Finder only to do the dragging part.

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

Re: Dragging multiple items to external applications

Post by mike » Tue Dec 27, 2016 4:08 am


Locked