https://bugs.winehq.org/show_bug.cgi?id=50795
Bug ID: 50795 Summary: Listview with mulitple items, if page down before selection, wrong item selected Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mfc Assignee: wine-bugs@winehq.org Reporter: ws@danhinsley.com Distribution: ---
Created attachment 69601 --> https://bugs.winehq.org/attachment.cgi?id=69601 App that shows the problem.
If you have enough items in a listview control and you page down using the scrollbar before selecting an item, then select one, it picks the wrong one (it selects the relative item in the first page).
https://bugs.winehq.org/show_bug.cgi?id=50795
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mfc |-unknown
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Could you attach the source code for this demo too?
https://bugs.winehq.org/show_bug.cgi?id=50795
--- Comment #2 from Dan Hinsley ws@danhinsley.com --- Created attachment 69602 --> https://bugs.winehq.org/attachment.cgi?id=69602 source code for test app
https://bugs.winehq.org/show_bug.cgi?id=50795
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Version|unspecified |6.3 Component|-unknown |comctl32
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- I'm going to mark this as ListView issue. I couldn't reproduce this with unmanaged test program, don't know why WinForms case would be different. I suspect it's something about initial focus change to ListView window that for some reason triggers EnsureVisible for focused item = 0, scrolling all the way before making selection change.