I still can reproduce this issue in Pharo 30807 (last image). I'm trying to workaround it with some problems.
I ignore if this is already reported in fogbugs. Steps to reproduce:
a) do it:
TreeModel new
roots: (1 to: 2);
whenSelectedItemsChanged: [ :items | self logCr: items ];
openWithSpec.
=> in Transcript I see:
b) during initial do it:
#()
c) after a click on 2:
#()
an OrderedCollection(2)
d) after a click on 1:
an OrderedCollection(2)
an OrderedCollection(2)
an OrderedCollection(1)
Cheers,
MArt�n