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?