http://bugs.winehq.org/show_bug.cgi?id=35896
Bug ID: 35896 Summary: Switching to Chinese input method after typing some English will fail. Product: Wine Version: 1.7.15 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hwei.sy@gmail.com
== Steps to reproduce ==
1. Open notepad in wine. 2. Make sure input method is English. 3. Type something (e.g. H, A, SPACE), then the notepad will display it (e.g. "ha "). 4. Switch to Chinese input method. 5. Type something (e.g. H, A, SPACE), then the notepad dose not receive anything (e.g. should display "哈").
This bug will only appear when input something in English before Chinese. But if you input Chinese before any English character (i.e. remove step 2, 3), every thing is going well.
== How to fix it ==
In the source file "dlls/imm32/imm.c", function "ImmProcessKey", after "if (imc) data = imc; else return FALSE;", insert one line "data->immKbd = IMM_GetImmHkl(hKl);".
Then it seems fixed. But I don't know will this cause other problems.
----
I am not sure this bug is same to Bug 34056.
https://bugs.winehq.org/show_bug.cgi?id=35896
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Austin English austinenglish@gmail.com --- A good start would be to try wine's tests (especially imm32's):
cd dlls/imm32/tests make test
https://bugs.winehq.org/show_bug.cgi?id=35896
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=35896
--- Comment #2 from Huang Wei hwei.sy@gmail.com --- (In reply to Austin English from comment #1)
A good start would be to try wine's tests (especially imm32's):
cd dlls/imm32/tests make test
imm32 test passed. Then?
https://bugs.winehq.org/show_bug.cgi?id=35896
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to Huang Wei from comment #2)
(In reply to Austin English from comment #1)
A good start would be to try wine's tests (especially imm32's):
cd dlls/imm32/tests make test
imm32 test passed. Then?
http://wiki.winehq.org/SubmittingPatches
https://bugs.winehq.org/show_bug.cgi?id=35896
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=35896
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hwei.sy@gmail.com, | |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=35896
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with current wine(4.0-rc2)?
https://bugs.winehq.org/show_bug.cgi?id=35896
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- Still a bug with wine-4.19?