https://bugs.winehq.org/show_bug.cgi?id=52534
--- Comment #2 from Angelo winehq-bugs@angelohaller.com --- Updated tester with more debug output:
https://github.com/szanni/Windows-classic-samples/blob/a670d65e47e399fe9f6dc...
Clearer instructions on how to reproduce:
1. Run a.exe included in this comment 2. Click `Item 1` 3. Hold down Shift and click `Item 5`
See the differences in the output log between Windows 7 and wine 7.1. LVN_ODSTATECHANGED does not get signaled on wine 7.1.
I actually discovered the FIXME in the LISTVIEW_SetGroupSelection function. I was looking at the LISTVIEW_AddGroupSelection which does actually work as intended.
Interestingly enough LVN_ODSTATECHANGED is emitted when holding down CONTROL+SHIFT as this uses the code path LISTVIEW_AddGroupSelection instead of LISTVIEW_SetGroupSelection. I can however not discern why there are two entirely different functions seemingly doing the very same thing - just very differently. I must be missing something here.
There is another difference `LVN_ITEMCHANGED: -1` that should be addressed in a different issue though.