[Bug 47945] dinput:mouse regression on Wine

WineHQ Bugzilla wine-bugs at winehq.org
Wed Oct 16 17:07:32 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47945

--- Comment #2 from Alistair Leslie-Hughes <leslie_alistair at hotmail.com> ---
Technically not a true regression.

Running it locally, its an intermittent error. 

The patch only added checks to functions prior the current failure to provide
insight on the actual failure of
mouse.c:178: Test failed: GetDeviceData() failed: 00000000 cnt:0

The basic test case

Create Window 1 and assign dinput

Create Windows 2 (Gains focus, which removes dinput from windows 1, as
expected)
Set Focus back to windows 1
Window 1 - Acquire dinput (passes)

Run mouse_event(MOVE).

dinput Unacquire (Fails - Focus has been set to Window 2).

Hiding or Destroying the window prior to Unacquire test, allows all tests to
pass.

The failure only occurs when the mouse goes over the second window.

Why the mouse movement calls, are causing the second window to get focus is the
 reason of the failure.

-- 
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