[Bug 52534] ListView: multi select never sends LVN_ODSTATECHANGED
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Feb 11 09:38:44 CST 2022
https://bugs.winehq.org/show_bug.cgi?id=52534
--- Comment #2 from Angelo <winehq-bugs at angelohaller.com> ---
Updated tester with more debug output:
https://github.com/szanni/Windows-classic-samples/blob/a670d65e47e399fe9f6dc10378ea5035a76b9fd5/Samples/Win7Samples/winui/controls/common/vlistvw/a.exe?raw=true
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.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list