I have been unable to nail down a repeatable set of steps to duplicate the collapse/expand bug.
I can say that the button’s state and what it does can be a bit confusing because the state of the button changes after an operation, but does not reflect the state of the item on which the cursor lies. Perhaps more specialized usae of the expand/collapse button functions would help….i.e. becoming:
Toggle Fold (Button)——->and a separate combobox for View, OR current item under the cursor OR current item under the cursor and all it’s children.
For me, that type of option is almost impossible to misinterpret and covers 99% of all usage cases for which I can think.