[Bug 12466] New: Chinese input method not working in DirectX game World of Warcraft with wine 0 .9.59
http://bugs.winehq.org/show_bug.cgi?id=12466 Summary: Chinese input method not working in DirectX game World of Warcraft with wine 0.9.59 Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P4 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: zhangyi.cn(a)gmail.com Created an attachment (id=12018) --> (http://bugs.winehq.org/attachment.cgi?id=12018) `WINEDEBUG=+x11drv,+imm wine Wow.exe` trace log With the 0.9.59 version(wine_0.9.59-1_i386.deb) in today's Debian sid, the Chinese input methods(both fcitx v3.5 and scim-pinyin v0.5.0) are not functional in the game World of Warcraft. The input box seems normal, but the Chinese charactors could not get into target textbox. Version 0.9.58 dosen't have this problem. The attachment is the output of `WINEDEBUG=+x11drv,+imm wine Wow.exe`(action: after game started, press Ctrl-Space to switch the input mothod on, then try to type some Chinese into the username textbox). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Priority|P4 |P2 --- Comment #1 from James Hawkins <truiken(a)gmail.com> 2008-04-09 11:53:00 --- Please run a regression test: http://wiki.winehq.org/RegressionTesting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 Zhang Yi <zhangyi.cn(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aric(a)codeweavers.com --- Comment #2 from Zhang Yi <zhangyi.cn(a)gmail.com> 2008-04-10 08:50:56 --- dd0c9300f99a9cc4a2ce1178a6fa7e40afe2dc8f is first bad commit commit dd0c9300f99a9cc4a2ce1178a6fa7e40afe2dc8f Author: Aric Stewart <aric(a)codeweavers.com> Date: Wed Apr 2 08:48:22 2008 -0500 imm32: Keep track of context associations between HWND and HIMC. :040000 040000 5fa8a5f30dd144a8125c5216055517ee1b8bcca5 06afebe61003c92cf2fba84e53c1bf5819fe92b3 M dlls -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 Aric Stewart <aric(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 --- Comment #3 from Aric Stewart <aric(a)codeweavers.com> 2008-04-10 11:06:49 --- Could you make sure that your tree it fully updated and try again? It looks like you may have been caught in the middle of my commits. If it still fails then please upload another +x11drv,+xim,+imm log. thanks -aric (In reply to comment #2)
dd0c9300f99a9cc4a2ce1178a6fa7e40afe2dc8f is first bad commit commit dd0c9300f99a9cc4a2ce1178a6fa7e40afe2dc8f Author: Aric Stewart <aric(a)codeweavers.com> Date: Wed Apr 2 08:48:22 2008 -0500
imm32: Keep track of context associations between HWND and HIMC.
:040000 040000 5fa8a5f30dd144a8125c5216055517ee1b8bcca5 06afebe61003c92cf2fba84e53c1bf5819fe92b3 M dlls
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 --- Comment #4 from Zhang Yi <zhangyi.cn(a)gmail.com> 2008-04-10 13:10:40 --- Created an attachment (id=12049) --> (http://bugs.winehq.org/attachment.cgi?id=12049) +x11drv,+xim,+imm log updated and the bug still exists -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 --- Comment #5 from Aric Stewart <aric(a)codeweavers.com> 2008-04-10 13:30:15 --- Can you try this patch and tell me if it solves anything? diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 000052c..379b747 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -383,6 +384,13 @@ HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC) else SetPropW(hWnd,szwWineIMCProperty,(HANDLE)hIMC); } + + if (old) + { + InputContextData *old_data = (InputContextData*)old; + if (old_data->IMC.hWnd == hWnd) + old_data->IMC.hWnd = NULL; + } } if (!hIMC) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 --- Comment #6 from Zhang Yi <zhangyi.cn(a)gmail.com> 2008-04-11 01:27:01 --- I'm glad to say that the patch works well and the bug is gone. Thanks. (In reply to comment #5)
Can you try this patch and tell me if it solves anything?
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 Zhang Yi <zhangyi.cn(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|aric(a)codeweavers.com | Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Zhang Yi <zhangyi.cn(a)gmail.com> 2008-04-19 10:34:11 --- I think I should change it to FIXED. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> 2008-05-02 12:38:15 --- Closing bugs fixed in 0.9.61. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=12466 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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)
-
wine-bugs@winehq.org