https://bugs.winehq.org/show_bug.cgi?id=55068
Bug ID: 55068 Summary: msctf:inputprocessor fails systematically on gitlab-win10-21h2 (GitLab CI) Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: msctf Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
msctf:inputprocessor fails systematically on gitlab-win10-21h2 (GitLab CI). The failures happen in multiple test functions:
--- test_startSession() inputprocessor.c:1714: Test failed: Expected OnActivated callback
--- test_TfGuidAtom() inputprocessor.c:1988: Test failed: ITfCategoryMgr_IsEqualTfGuidAtom failed inputprocessor.c:1989: Test failed: Equal value invalid
--- test_ClientId() inputprocessor.c:2015: Test failed: Id for CLSID_FakeService not matching tid
--- test_KeystrokeMgr() inputprocessor.c:1492: Test failed: ITfKeystrokeMgr_AdviseKeyEventSink failed inputprocessor.c:1493: Test failed: KeyEventSink_OnSetFocus not fired as expected, in state 1 inputprocessor.c:1495: Test failed: Wrong return, expected CONNECT_E_ADVISELIMIT inputprocessor.c:1503: Test failed: ITfKeystrokeMgr_PreserveKey failed inputprocessor.c:1506: Test failed: ITfKeystrokeMgr_PreserveKey improperly succeeded inputprocessor.c:1510: Test failed: ITfKeystrokeMgr_IsPreservedKey failed inputprocessor.c:1514: Test failed: ITfKeystrokeMgr_UnpreserveKey failed inputprocessor.c:1524: Test failed: ITfKeystrokeMgr_UnadviseKeyEventSink failed
See: https://test.winehq.org/data/patterns.html#msctf:inputprocessor
https://bugs.winehq.org/show_bug.cgi?id=55068
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55068
--- Comment #1 from François Gouget fgouget@codeweavers.com --- There are some more related failures indicating that the activation just arrives unexpectedly late:
inputprocessor.c:750: Got OnActivated: {dwProfileType 00000002, langid 00000409, clsid {00000000-0000-0000-0000-000000000000}, catid {34745c63-b2f0-4784-8b67-5e12c8701a31}, guidProfile {00000000-0000-0000-0000-000000000000}, 04090409, dwFlags 00000002} inputprocessor.c:1012: TextService_Activate inputprocessor.c:1013: Test failed: Activation came unexpectedly inputprocessor.c:750: Got OnActivated: {dwProfileType 00000001, langid 00000409, clsid {ede1a7ad-66de-47e0-b620-3e92f8246bf3}, catid {34745c63-b2f0-4784-8b67-5e12c8701a31}, guidProfile {ede1a7ad-66de-47e0-b620-3e92f8246bf3}, 00000000, dwFlags 00000003} inputprocessor.c:759: Test failed: OnActivated: Activation came unexpectedly inputprocessor.c:840: Got OnActivated: {clsid {ede1a7ad-66de-47e0-b620-3e92f8246bf3}, guidProfile {ede1a7ad-66de-47e0-b620-3e92f8246bf3}, activated 1} inputprocessor.c:1020: TextService_Deactivate inputprocessor.c:1021: Test failed: Deactivation came unexpectedly
A comment indicates that Windows 7 may need a 2 second pause in order for the registrations to take effect:
test_RegisterCategory(); Sleep(2000); /* Win7 needs some time before the registrations become active */
Maybe something similar happens on gitlab-win10-21h2?