http://bugs.winehq.org/show_bug.cgi?id=30282
Bug #: 30282 Summary: treeview: OnExpanding is incorrectly sent to items with no children Product: Wine Version: 1.4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: djelinski1@gmail.com Classification: Unclassified
Created attachment 39560 --> http://bugs.winehq.org/attachment.cgi?id=39560 simple delphi app monitoring TreeView events
See the attached Delphi application. It creates a new subitem in OnExpanding event handler. Clicking under the second + sign sends OnExpanding event to the third item. Double-clcking the third item does the same. With native comctl32 it is possible to expand only the first two items.
http://bugs.winehq.org/show_bug.cgi?id=30282
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-05-17 01:39:26 CDT --- Confirming. Problem seems to be in user input code path, directly sent message shouldn't expand item with no children. TREEVIEW_Expand() is most likely to blame.
http://bugs.winehq.org/show_bug.cgi?id=30282
Daniel Jelinski djelinski1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9933f5e44639c5a3ca05c6ebe84 | |032d5884573d1 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Daniel Jelinski djelinski1@gmail.com 2012-10-16 23:22:32 CDT --- Works now. Marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=30282
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2012-10-16 23:36:35 CDT --- Probably a duplicate of bug 23591, but well.
http://bugs.winehq.org/show_bug.cgi?id=30282
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-10-26 13:29:39 CDT --- Closing bugs fixed in 1.5.16.