|
|
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: https://www.fltk.org/str.php?L3432
Version: 1.4.0
To replicate, apparently one must drag an item UPWARDS from a position
lower than the new destination.
If one drags an item DOWNWARD from a higher position in the tree, the bug
doesn't happen.
So to replicate the bug in the test/tree program (1.4.x):
1) Open test/tree
2) Change "Selection Mode:" to Single+drag
3) Under ROOT->Bbb->child-01:
a) Click and hold on '333'
b) Drag it upwards and hover over the "Child-01" label
c) Release mouse button to drop
Result is the '333' item ends up one level above the folder instead of
inside it at the top.
Interestingly, if you try dragging an item that is higher up the tree
downward using the same technique, it works fine, e.g.
1) Click the 'Aaa' item
2) Drag it DOWNWARD and hover over the 'child-01' label
3) Release the mouse button to drop
..that works fine, no matter where the "draw-line" is.
Link: https://www.fltk.org/str.php?L3432
Version: 1.4.0
[ Direct Link to Message ] | |
|
| |