http://bugs.winehq.org/show_bug.cgi?id=13404
Summary: Reparented windows not getting WM_MOUSEDOWN Product: Wine Version: 1.0-rc2 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: joshudson@gmail.com
Created an attachment (id=13312) --> (http://bugs.winehq.org/attachment.cgi?id=13312) Demo source code and compiled executable
My best guess is the bug is in user32, but I'm not quite sure.
It seems that with reparented windows, child windows within them are getting WM_MOUSEUP but not WM_MOUSEDOWN.
Here is a demo app. Yes it is in VB .NET, but it outright calls the SetParent API call so the fact that it is .NET shouldn't matter.
Behavior on WinXP:
Press down on the button, display changes to MouseDown Release the button, display changes to MouseUp and a message box comes up.
Bheavior on Wine 1.0rc2:
Press down on the button, nothing happens. Release the button, display changes to MouseUp.
Wine version to emulate is set to 2000 as that is the only one for which .NET works.
http://bugs.winehq.org/show_bug.cgi?id=13404
Joshua joshudson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor OS/Version|other |Linux Platform|Other |PC
http://bugs.winehq.org/show_bug.cgi?id=13404
--- Comment #1 from Joshua joshudson@gmail.com 2008-05-26 20:36:24 --- Ok, there is no WM_MOUSEDOWN. It seems to WM_LBUTTONDOWN that is being dropped.
A possible match is #9333, but I kind of doubt it is a real one.
http://bugs.winehq.org/show_bug.cgi?id=13404
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
--- Comment #2 from Lei Zhang thestig@google.com 2008-05-28 15:17:55 --- Is there a "real" application that needs this?
http://bugs.winehq.org/show_bug.cgi?id=13404
--- Comment #3 from Joshua joshudson@gmail.com 2008-05-30 11:38:42 --- I have a commercial app sitting here that is doing exactly that.
Removing that construct from the app would be extremely difficult as it depends on the side effects of doing so.
http://bugs.winehq.org/show_bug.cgi?id=13404
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=13404
Mike pmike2001@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pmike2001@gmail.com
--- Comment #4 from Mike pmike2001@gmail.com 2008-08-04 03:09:21 --- I'm second to this bug. I use commercial app (Automated Bank System), were mouse clicks doesn't work at all in child windows. But main menu and keyboard navigation works fine.
http://bugs.winehq.org/show_bug.cgi?id=13404
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Austin English austinenglish@gmail.com 2009-02-07 03:16:50 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=13404
--- Comment #6 from Austin English austinenglish@gmail.com 2010-07-18 06:35:17 --- Still in 1.2.
http://bugs.winehq.org/show_bug.cgi?id=13404
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ocean04@suomi24.fi
--- Comment #7 from ocean04@suomi24.fi 2011-06-21 01:56:50 CDT --- Still in 1.3.22
Message gets "eaten" in user32, message.c, process_mouse_message:
case 0: if (!FOCUS_MouseActivate( hwndTop )) eatMsg = TRUE;
http://bugs.winehq.org/show_bug.cgi?id=13404
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #8 from Dmitry Timoshkov dmitry@baikal.ru 2011-06-21 03:27:15 CDT --- The bug 13951 has a (committed) test case, an explanation of the problem, and a possible solution.
*** This bug has been marked as a duplicate of bug 13951 ***
http://bugs.winehq.org/show_bug.cgi?id=13404
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com 2011-07-07 16:15:23 CDT --- Closing.