[Bug 33542] New: EnableWindow calls ReleaseCapture when mouse captured on child window
http://bugs.winehq.org/show_bug.cgi?id=33542 Bug #: 33542 Summary: EnableWindow calls ReleaseCapture when mouse captured on child window Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: orzhvs(a)gmail.com Classification: Unclassified Created attachment 44392 --> http://bugs.winehq.org/attachment.cgi?id=44392 WINEDEBUG=+relay,+message wine /usr/local/vboxvm/vmshare/Spy.exe 2>&1 | grep -E SetCapture\|ReleaseCapture\|LBUTTONDOWN\|LBUTTONUP\|EnableWindow > out.txt When EnableWindow disabling a window in Wine, mouse capture in its child window gets lost. As far as I tested in windows, capture is released only when disabling the exact captured window, rather than its parent window. There's a tool named 'Spy32' ( download at http://www.woodmann.com/RCE-CD-SITES/Protools/files/utilities/spy.zip ), please try picking window by dragging the 'target' icon to target window, it will misbehave like the mouse button never released. In further debug info ( attached ) I saw it disable its main window to avoid picking itself, it indeed plans to re-enable the window when mouse button is up but it dose not as capture has been released and no WM_LBUTTONUP is received. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 --- Comment #1 from Guo Jian <orzhvs(a)gmail.com> 2013-05-07 15:22:09 CDT --- Created attachment 44393 --> http://bugs.winehq.org/attachment.cgi?id=44393 To simplify it, I've wrote a demo to simulate the logic of Spy's window picker. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 --- Comment #2 from Guo Jian <orzhvs(a)gmail.com> 2013-05-07 15:23:28 CDT --- Created attachment 44394 --> http://bugs.winehq.org/attachment.cgi?id=44394 Also a built exe is avaliable. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, source, testcase CC| |fracting(a)gmail.com --- Comment #3 from Qian Hong <fracting(a)gmail.com> 2013-05-07 15:38:24 CDT --- Thanks for the report. Would you want to rewrite your test case in plain C and integrate to Wine's test framework? I think you may want to have a look at dlls/user32/tests/msg.c and dlls/user32/tests/win.c Cheers! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44393|0 |1 is patch| | Attachment #44393|text/x-c++src |text/plain mime type| | --- Comment #4 from Qian Hong <fracting(a)gmail.com> 2013-05-07 15:39:42 CDT --- Comment on attachment 44393 --> http://bugs.winehq.org/attachment.cgi?id=44393 To simplify it, I've wrote a demo to simulate the logic of Spy's window picker. Please check the 'patch' option when attaching patches to bugzilla, and make sure MIME Type is text/plain. Thanks! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 --- Comment #5 from Qian Hong <fracting(a)gmail.com> 2013-05-07 15:40:55 CDT --- What's your wine version? Please set the 'Version' field to what you tested. Thanks! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 --- Comment #6 from Guo Jian <orzhvs(a)gmail.com> 2013-05-07 15:48:37 CDT ---
Thanks for the report.
Would you want to rewrite your test case in plain C and integrate to Wine's test framework?
I think you may want to have a look at dlls/user32/tests/msg.c and dlls/user32/tests/win.c
Cheers!
Thanks, I'll have a try then.
Comment on attachment 44393 [details] To simplify it, I've wrote a demo to simulate the logic of Spy's window picker.
Please check the 'patch' option when attaching patches to bugzilla, and make sure MIME Type is text/plain. Thanks!
I'll remember next time, thank you for reminding me :)(In reply to comment #3) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 Guo Jian <orzhvs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.5.29 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33542 Julian Rüger <jr98(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98(a)gmx.net -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=33542 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- 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.
https://bugs.winehq.org/show_bug.cgi?id=33542 --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- Is this still an issue in 1.7.36? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=33542 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #8 from joaopa <jeremielapuree(a)yahoo.fr> --- I do not understand the bug? Does the bug still occur with current wine(4.0-rc1)? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=33542 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44393|1 |0 is patch| | -- 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.
https://bugs.winehq.org/show_bug.cgi?id=33542 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair(a)hotmail.com Keywords|patch | -- 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.
participants (1)
-
wine-bugs@winehq.org