The problem may be reproduced in example application in TreeView/First Look in v 2012.1.321.20.
The scenario is as follows:
-enter some text as a filter
-delete text - filter should be off
-add new node by context menu -> "New Node" appears twice in the tree view
I spent a moment with debugger and i found that in TreeNodeView.UpdateView()
when the filter is off the state[StateFiltered] is not set to false, that make the
following TreeNodeView.Insert() add new node to the "view" and "nodes" collection
which refers to the same list.
Is this a known bug? Is there any workaround for this problem?
The scenario is as follows:
-enter some text as a filter
-delete text - filter should be off
-add new node by context menu -> "New Node" appears twice in the tree view
I spent a moment with debugger and i found that in TreeNodeView.UpdateView()
when the filter is off the state[StateFiltered] is not set to false, that make the
following TreeNodeView.Insert() add new node to the "view" and "nodes" collection
which refers to the same list.
Is this a known bug? Is there any workaround for this problem?