http://bugs.winehq.org/show_bug.cgi?id=2147
Summary: ComboBox keeps getting WM_LBUTTONDOWN after one click, never stops. Product: Wine Version: 20040309 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-gui AssignedTo: wine-bugs@winehq.org ReportedBy: patrik.simons@neotide.fi
I have an older application (copyright 1996-1998) that works in wine_0.0.20020411 (Debian stable) but not in any later Debian version, wine_0.0.20040309 included.
When I click on a combobox in this app it behaves as if I were clicking on it like mad, and the only way to stop it is to shut down wine.
Running wine --debugmsg +combo app gives the following: (Wine_0.0.20020411 gets WM_LBUTTONUP instead of WM_CANCELMODE, otherwise they are very similar up to that point)
trace:combo:ComboWndProc_common [0x1007f]: msg WM_NCHITTEST wp 00000000 lp 01820293 trace:combo:ComboWndProc_common [0x1007f]: msg WM_SETCURSOR wp 0001007f lp 02000001 trace:combo:ComboWndProc_common [0x1007f]: msg WM_MOUSEMOVE wp 00000001 lp 000d007d trace:combo:ComboWndProc_common [0x1007f]: msg WM_NCHITTEST wp 00000000 lp 01820293 trace:combo:ComboWndProc_common [0x1007f]: msg WM_NCHITTEST wp 00000000 lp 01820293 trace:combo:ComboWndProc_common [0x1007f]: msg WM_MOUSEACTIVATE wp 00010026 lp 02010001 trace:combo:ComboWndProc_common [0x1007f]: msg WM_SETCURSOR wp 0001007f lp 02010001 trace:combo:ComboWndProc_common [0x1007f]: msg WM_LBUTTONDOWN wp 00000001 lp 000d007d trace:combo:CBDropDown [0x1007f]: drop down trace:combo:ComboWndProc_common [0x1007f]: msg CB_GETCOUNT wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETCOUNT wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [018b] trace:combo:ComboLBWndProc_common [0x10080]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 4074f478 trace:combo:ComboLBWndProc_common default on msg [0046] trace:combo:ComboLBWndProc_common [0x10080]: msg WM_CHILDACTIVATE wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [0022] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETCURSEL wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [0188] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_SETTOPINDEX wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [0197] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_CARETON wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [01a3] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETCOUNT wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [018b] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETITEMHEIGHT wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [01a1] trace:combo:ComboLBWndProc_common [0x10080]: msg WM_WINDOWPOSCHANGING wp 00000000 lp 4074f9fc trace:combo:ComboLBWndProc_common default on msg [0046] trace:combo:ComboLBWndProc_common [0x10080]: msg WM_WINDOWPOSCHANGED wp 00000000 lp 4074f9fc trace:combo:ComboLBWndProc_common [0x10080]: msg WM_MOVE wp 00000000 lp 01900217 trace:combo:ComboLBWndProc_common default on msg [0003] trace:combo:ComboLBWndProc_common default on msg [0047] trace:combo:ComboWndProc_common [0x1007f]: msg WM_PAINT wp 00000000 lp 00000000 trace:combo:ComboWndProc_common [0x1007f]: msg WM_ERASEBKGND wp 00000074 lp 00000000 trace:combo:COMBO_Paint hdc=0x74 trace:combo:CBPaintText trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETCURSEL wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [0188] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETTEXTLEN wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [018a] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETTEXT wp 00000000 lp 4047471c trace:combo:ComboLBWndProc_common default on msg [0189] trace:combo:ComboWndProc_common [0x1007f]: msg WM_PAINT wp 00000000 lp 00000000 trace:combo:ComboWndProc_common [0x1007f]: msg WM_ERASEBKGND wp 00000074 lp 00000000 trace:combo:COMBO_Paint hdc=0x74 trace:combo:CBPaintText trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETCURSEL wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [0188] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETTEXTLEN wp 00000000 lp 00000000 trace:combo:ComboLBWndProc_common default on msg [018a] trace:combo:ComboLBWndProc_common [0x10080]: msg LB_GETTEXT wp 00000000 lp 404755e4 trace:combo:ComboLBWndProc_common default on msg [0189] trace:combo:ComboWndProc_common [0x1007f]: msg WM_CANCELMODE wp 00000000 lp 00000000 trace:combo:ComboWndProc_common [0x1007f]: msg WM_CAPTURECHANGED wp 00000000 lp 00000000 trace:combo:ComboWndProc_common [0x1007f]: msg WM_NCHITTEST wp 00000000 lp 01820293 trace:combo:ComboWndProc_common [0x1007f]: msg WM_MOUSEACTIVATE wp 00010026 lp 02010001 trace:combo:ComboWndProc_common [0x1007f]: msg WM_SETCURSOR wp 0001007f lp 02010001 trace:combo:ComboWndProc_common [0x1007f]: msg WM_LBUTTONDBLCLK wp 00000001 lp 000d007d trace:combo:ComboWndProc_common [0x1007f]: msg WM_NCHITTEST wp 00000000 lp 01820293 trace:combo:ComboWndProc_common [0x1007f]: msg WM_MOUSEACTIVATE wp 00010026 lp 02010001 trace:combo:ComboWndProc_common [0x1007f]: msg WM_SETCURSOR wp 0001007f lp 02010001 trace:combo:ComboWndProc_common [0x1007f]: msg WM_LBUTTONDOWN wp 00000001 lp 000d007d trace:combo:CBRollUp [0x1007f]: sel ok? [1] dropped? [1]
And it continues in the same style with repeated WM_LBUTTONDOWN and strangely enough WM_LBUTTONDBLCLK messages.