http://bugs.winehq.org/show_bug.cgi?id=34056
Bug #: 34056 Summary: Nabeta Jisho: Can't input Japanese characters with Input Method. Product: Wine Version: 1.6-rc5 Platform: x86 URL: http://www.nabeta.tk/nabeta550.zip OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sagawa.aki+winebugs@gmail.com CC: slash@ac.auone-net.jp Classification: Unclassified Regression SHA1: dc02e4d1a7c35b4205f6109ad71deee5fdddd750
Nabeta Jisho is a dictionary software which built with C++Builder6 CLX Library. In the search box, I can't input any Japanese characters. Reverting commit dc02e4 fixes the issue.
In detail, I input some Japanese characters through the input method, then hit the Enter key. Both of candidate characters and result strings are not shown in the edit box. However, I can input ASCII characters and paste some Japanese characters.
I'm using mozc 1.3.975.102 and IBus 1.4.1 as input method in Ubuntu 12.04. Of course, I can input Japanese characters in the notepad application.
http://bugs.winehq.org/show_bug.cgi?id=34056
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com 2013-07-14 12:10:56 CDT --- In my investigation, the application expects WM_CHAR or WM_IME_CHAR for inputting Japanese characters.
After the commit dc02e4, ImmSetOpenStatus isn't called under IBus XIM. Because IBus XIM server doesn't support PreEditStateNotify. Thus, UIWnd member isn't initialized. When the user finish selecting candidate, WM_IME_COMPOSITION is sent. However UIWnd is still NULL, it isn't relayed in DefIME_WindowProc. So, the application can't receive WM_IME_CHAR and WM_CHAR messages.
Before the commit dc02e4, it works well because every XIMPreEditStartCallback initialize UIWnd member by ImmSetOpenStatus.
http://bugs.winehq.org/show_bug.cgi?id=34056
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=34056
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=34056
lilydjwg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lilydjwg@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34056
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34056
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34056
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 33921 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34056
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 35073 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34056
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Nabeta Jisho: Can't input |Multiple applications have |Japanese characters with |a problem with typing |Input Method. |Chinese/Japanese with IME | |(Nabeta Jisho for Japanese, | |YY and Netease POPO for | |Chinese)
https://bugs.winehq.org/show_bug.cgi?id=34056
yorks yorks.yang@163.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yorks.yang@163.com
https://bugs.winehq.org/show_bug.cgi?id=34056
--- Comment #4 from Sagawa sagawa.aki+winebugs@gmail.com --- No response from the author for years. So, I'll revert the change after 1.8 release. Any comments?
https://bugs.winehq.org/show_bug.cgi?id=34056
kz_hz zj3519@163.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zj3519@163.com
https://bugs.winehq.org/show_bug.cgi?id=34056
--- Comment #5 from Austin English austinenglish@gmail.com --- *** Bug 39894 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34056
--- Comment #6 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 54544 --> https://bugs.winehq.org/attachment.cgi?id=54544 proposed patch
Could you try this patch? I verified this patch fixes Nabeta Jisho issues. However, I'm not sure about Chinese applications. So, I'd like to see whether or not there is an error in the patch before posting again. Thanks in advance.
https://bugs.winehq.org/show_bug.cgi?id=34056
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=34056
--- Comment #7 from lilydjwg@gmail.com --- (In reply to Sagawa from comment #6)
Created attachment 54544 [details] proposed patch
Could you try this patch? I verified this patch fixes Nabeta Jisho issues. However, I'm not sure about Chinese applications. So, I'd like to see whether or not there is an error in the patch before posting again. Thanks in advance.
I can confirm that, with this patch I can input Chinese fine with POPO and latest YY.
https://bugs.winehq.org/show_bug.cgi?id=34056
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32
--- Comment #8 from Sagawa sagawa.aki+winebugs@gmail.com --- Thanks for testing. I'm happy to hear that. Now, I resent the patch, https://source.winehq.org/patches/data/122618 .
https://bugs.winehq.org/show_bug.cgi?id=34056
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |911d269be86051cf88337a2b1af | |e9aa49c3bc6e1
--- Comment #9 from Sagawa sagawa.aki+winebugs@gmail.com --- The revised fix is now committed as 911d269be86051cf88337a2b1afe9aa49c3bc6e1. Thanks for reviewing and testing!
https://bugs.winehq.org/show_bug.cgi?id=34056
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.18.