nlist icon indicating copy to clipboard operation
nlist copied to clipboard

Impossible to drag'n'drop onto active NListtree node

Open Futaura opened this issue 1 year ago • 0 comments

Consider the situation where you wish to drop some item from another object onto a NListtree object. This works as expected, unless you drop onto an active node entry (or any children), due to the following code:

https://github.com/amiga-mui/nlist/blob/a48723de109b7b235bb7fc4df50c64744e3f5d58/nlisttree_mcc/NListtree.c#L6090

The code is understandable if you are drag sorting within the NListtree, but not when the source is a different object.

Additionally, MUIM_NListtree_DropType allows an application to modify the drop type and position. However, it completely ignores any changes made to the position.

Futaura avatar Apr 01 '23 16:04 Futaura