Opened 3 years ago

Closed 3 years ago

#363 closed bug (fixed)

MUIV_Listtree_Remove_TreeNode_All doesn't work correctly

Reported by: Andreas Falkenhahn Owned by: Thore Böckelmann
Priority: normal Milestone: 5.0-2017R4
Component: Listtree.mcc Version: 5.0-2017R3
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:


MUIV_Listtree_Remove_TreeNode_All often removes more entries than it should. Check out the attached sample. Start it and click the button. Do not select anything in the listtree! Just click the button. I'd expect it to just remove nodes "bla3" and "bla4". Instead, it also removes the node "Drei". Now close and start the program again. This time please unfold node "Zwei" so that "bla3" and "bla4" become visible. Now hit the button again. This time it works correctly. So it seems like MUIV_Listtree_Remove_TreeNode_All only works correctly if the corresponding nodes are unfolded…

Attachments (1)

main.c (3.0 KB) - added by Andreas Falkenhahn 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by Andreas Falkenhahn

Attachment: main.c added

comment:1 Changed 3 years ago by Thore Böckelmann

Component: undefinedListtree.mcc
Milestone: future release5.0-2017R4
OS Platform: undefinedAll
Owner: set to Thore Böckelmann
Priority: undecidednormal
Status: newassigned

comment:2 Changed 3 years ago by Thore Böckelmann

Resolution: fixed
Status: assignedclosed

In 6121:

  • mcc/Listtree.c: trying to remove all subnodes of a closed node would have removed the following nodes due to a wrong check whether the node is really visible or not. This closes #363.
Note: See TracTickets for help on using tickets.