https://bugs.winehq.org/show_bug.cgi?id=54433
Bug ID: 54433 Summary: user32:input often fails to set the foreground window on w7u-adm, gets 800+ failures Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
user32:input often fails to set the foreground window on w7u-adm, gets 800+ failures. Only the first five are shown below:
input.c:954: Tests skipped: Failed to set foreground window; some tests will be skipped. input.c:872: Test failed: 0 (a4/0): the msg sequence is not complete: expected 0104 - actual 0000 input.c:872: Test failed: 1 (46/0): the msg sequence is not complete: expected 0104 - actual 0000 input.c:872: Test failed: 2 (46/2): the msg sequence is not complete: expected 0105 - actual 0000 input.c:872: Test failed: 3 (a4/2): the msg sequence is not complete: expected 0101 - actual 0000 input.c:872: Test failed: 4 (a2/0): the msg sequence is not complete: expected 0100 - actual 0000
Among the 800+ failures some cause persistent false positives:
input.c:2929: Test failed: 9: Unexpected cursor movement
input.c:2921: Test failed: 10: expected WM_INPUT message input.c:2929: Test failed: 10: Unexpected cursor movement
input.c:2921: Test failed: 11: expected WM_INPUT message input.c:2929: Test failed: 11: Unexpected cursor movement
input.c:2929: Test failed: 12: Unexpected cursor movement
---> the above message look new mostly because of message order issues
input.c:1751: Test failed: expected to get 64 mouse move points but got 5 input.c:1757: Test failed: expected to get 64 mouse move points but got 5
See https://test.winehq.org/data/patterns.html#user32:menu
So the root of the issue is some previous test that messes up the environment; most likely by triggering a UAC prompt since this only impacts the tests run without elevated privileges. And this test changed behavior on 2023-01-09 since that's when these massive failures started.
Also user32:input should probably be better at skipping tests when that happens.
https://bugs.winehq.org/show_bug.cgi?id=54433
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase