[Bug 33542] New: EnableWindow calls ReleaseCapture when mouse captured on child window

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 7 15:18:18 CDT 2013


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 at winehq.org
        ReportedBy: orzhvs at 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.



More information about the wine-bugs mailing list