Page 1 of 1

Drag and drop in 1.2.2 [DONE]

Posted: Tue Aug 08, 2017 11:53 am
by sasha
Here are some drag and drop issues that still exist in version 1.2.2:

Creating links within NC:
- select multiple items
- drag to other panel with Ctrl pressed
- "link arrow" is displayed at cursor
- nothing happens, no links created
(btw, this works nicely with one item)

Moving to Finder:
- select one or multiple items in NC
- drag to Desktop/Finder with Cmd pressed
- "green Plus" disappears from cursor for moving
- nothing happens, nothing is moved

Moving from Finder:
- select one or multiple items on Desktop/Finder
- drag to NC with Alt pressed
- "green Plus" disappears from cursor for moving
- nothing happens, nothing is moved

Keyboard shortcuts:
During drag and drop, most keyboard shortcuts that change between copy/move/link are different from Finder's. Maybe it's a good idea to make Finder's shortcuts default?

Re: Drag and drop in 1.2.2

Posted: Thu Aug 10, 2017 6:18 am
by mike
There's no progress with these issues in 1.2.2, I haven't touched that code yet.

Re: Drag and drop in 1.2.2

Posted: Sat Aug 19, 2017 1:12 pm
by mike
Ok, finally:
sasha wrote:
Tue Aug 08, 2017 11:53 am
Creating links within NC:
- select multiple items
- drag to other panel with Ctrl pressed
- "link arrow" is displayed at cursor
- nothing happens, no links created
Done.
sasha wrote:
Tue Aug 08, 2017 11:53 am
Moving to Finder:
- select one or multiple items in NC
- drag to Desktop/Finder with Cmd pressed
- "green Plus" disappears from cursor for moving
- nothing happens, nothing is moved
Done.
sasha wrote:
Tue Aug 08, 2017 11:53 am
Moving from Finder:
- select one or multiple items on Desktop/Finder
- drag to NC with Alt pressed
- "green Plus" disappears from cursor for moving
- nothing happens, nothing is moved
Done.
sasha wrote:
Tue Aug 08, 2017 11:53 am
Keyboard shortcuts:
During drag and drop, most keyboard shortcuts that change between copy/move/link are different from Finder's. Maybe it's a good idea to make Finder's shortcuts default?
Done, I've removed a manual modifiers detection, now NC relies on macOS regarding this task.
On my system it works as following:
  • No modifiers - move or copy depending on the context.
  • Alt - copy always
  • Cmd - move if possible, copy otherwise
  • Ctrl or Alt+Cmd - make a symlink link if possible
Changes will be available in the next preview build.

Re: Drag and drop in 1.2.2 [DONE]

Posted: Thu Aug 31, 2017 1:41 pm
by sasha
All drag and drop issues mentioned now work nicely for me. Thanks for fixing this, Mike.