On Tue Mar 3 10:12:36 2026 +0000, Thomas Csovcsity wrote:
I had a deeper look at the app behavior and tried to write a small app reproducing it without success. Following code flow and app behavior triggers the error, but i am not sure which additional conditions are necessary to reproduce this. - the app is actively deleting child items from node, after receiving TVN_ITEMEXPANDINGW - without changing `item->state |= TVIS_EXPANDED;` the next mouse click triggers a toggle, but this code still assumes that the node is expanded, therefore it takes the wrong branch. If i follow the rules https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guidelines, i am stuck here to write a small app to reproduce the bug or to write a test for this case. Any hint is appreciated or please close this MR otherwise with a note. I would suggest writing a test that takes the code to execute on the wrong path, thus reproducing the bug.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9442#note_131083