17 Apr
2025
17 Apr
'25
5:11 a.m.
Nikolay Sivov (@nsivov) commented about dlls/comctl32/listview.c:
} LISTVIEW_InvalidateList(infoPtr); infoPtr->bNoItemMetrics = TRUE; + + if (!destroy) + { + NotifyWinEvent( EVENT_OBJECT_REORDER, infoPtr->hwndSelf, OBJID_CLIENT, 0 ); + NotifyWinEvent( EVENT_OBJECT_DESTROY, infoPtr->hwndSelf, OBJID_CLIENT, 0 ); + NotifyWinEvent( EVENT_OBJECT_CREATE, infoPtr->hwndSelf, OBJID_CLIENT, 0 ); + }
It's possible LVM_ARRANGE is what's causing REORDER event. But I'm not sure how deep we want to go with this, there are too many paths. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7831#note_101258