[Bug 54760] New: imm32:imm32 - The 32-bit test_ImmActivateLayout() fails on Windows
https://bugs.winehq.org/show_bug.cgi?id=54760 Bug ID: 54760 Summary: imm32:imm32 - The 32-bit test_ImmActivateLayout() fails on Windows Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: imm32 Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com imm32:imm32 - The 32-bit test_ImmActivateLayout() fails on Windows: imm32.c:4154: Test failed: 3: got hkl E020047F, himc 00020249, MSG_IME_UI msg 0x282, wparam 0x6, lparam 0 imm32.c:4154: Test failed: 4: got hkl E020047F, himc 00020249, MSG_IME_UI msg 0x282, wparam 0x7, lparam 0 imm32.c:4154: Test failed: 5 (missing): hkl E020047F, himc 00020249, MSG_IME_UI msg 0x282, wparam 0x7, lparam 0 imm32.c:4171: Test failed: 2: got hkl E020047F, himc 00020249, MSG_IME_UI msg 0x285, wparam 0, lparam 0xe020047f imm32.c:4171: Test failed: 3: got hkl 04090409, himc 00020249, IME_SELECT select 0 imm32.c:4171: Test failed: 5 (missing): hkl 04090409, himc 00120203, IME_SELECT select 0 imm32.c:4333: Test failed: 3 (missing): hkl E020047F, himc 00020249, MSG_IME_UI msg 0x282, wparam 0x2, lparam 0 imm32.c:4371: Test failed: 2: got hkl E020047F, himc 00020249, MSG_IME_UI msg 0x285, wparam 0, lparam 0xe020047f imm32.c:4371: Test failed: 3: got hkl 04090409, himc 00020249, IME_SELECT select 0 imm32.c:4371: Test failed: 5 (missing): hkl 04090409, himc 00100229, IME_SELECT select 0 See https://test.winehq.org/data/patterns.html#imm32:imm32 This is specific to the 32-bit tests and impacts all Windows 8+ versions. However the failures don't happen when the test is run on its own so they are probably caused by interference from another test. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54760 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54760 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |42f3cf1bf3a48ce62b8f4241348 | |f3139fbeeff76 Keywords| |regression --- Comment #1 from François Gouget <fgouget(a)codeweavers.com> --- The source of interference is d3d8:device and the failures started with the commit below: commit 42f3cf1bf3a48ce62b8f4241348f3139fbeeff76 Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Wed Mar 29 15:06:51 2023 +0200 imm32/tests: Test IME UI creation with the installed IME. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54760 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|imm32:imm32 - The 32-bit |imm32:imm32 - |test_ImmActivateLayout() |test_ImmActivateLayout() |fails on Windows |fails on Windows --- Comment #2 from François Gouget <fgouget(a)codeweavers.com> --- These failures can also happen in the 64-bit tests. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54760 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon(a)codeweavers.com --- Comment #3 from Rémi Bernon <rbernon(a)codeweavers.com> --- Seems to be caused by d3d8:device calling SetForegroundWindow(GetDesktopWindows()), but then calling it directly in imm32 before the test doesn't cause the same failures. SetForegroundWindow is notoriously brittle, especially when giving foreground to non-test processes, so I think d3d8 should not do that, but replacing all the calls requires a bit of care, as some are then expecting specific messages from the foreground process loss. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54760 --- Comment #4 from François Gouget <fgouget(a)codeweavers.com> --- This set of failures changed a little bit but it's probably not worth a new bug report: -imm32.c:4154: Test failed: 5 (missing): hkl E020047F, himc 00020249, MSG_IME_UI msg 0x282, wparam 0x7, lparam 0 +imm32.c:4552: Test failed: 5: got hkl E020047F, himc 019301E1, MSG_IME_UI msg 0x282, wparam 0x7, lparam 0 +imm32.c:4552: Test failed: 6 (missing): hkl E020047F, himc 019301E1, MSG_IME_UI msg 0x282, wparam 0x7, lparam 0 This change is caused by the commit below: commit 7d03937abe899db810c983779f2566b94d787e8a Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Fri Mar 31 11:32:52 2023 +0200 imm32/tests: Init INPUTCONTEXT status in ImeSelect. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54760 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c11ed566cb762850f2fe84e6802 | |5c8f9071b2244 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Rémi Bernon <rbernon(a)codeweavers.com> --- I think this is fixed with c11ed566cb762850f2fe84e68025c8f9071b2244. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54760 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.8. -- 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.
participants (1)
-
WineHQ Bugzilla