[PATCH] imm32: Added some unit test cases

Michael Jung mjung at iss.tu-darmstadt.de
Wed Jan 2 16:42:45 CST 2008


With builtin imm32 Excel 2003 Viewer hangs when clicking on a cell in an 
open spreadsheet. Excel Viewer calls ImmNotifyIME to cancel the 
composition string, which causes builtin imm32 to post a 
WM_IME_COMPOSITION messages, which causes Excel Viewer to call 
ImmNotifyIME again...

Turns out native imm32 does not post a WM_IME_COMPOSITION message if the 
composition string being canceled is empty (Tested on Vista with the 
attached testcase).

I've got a simple fix for this problem in my git tree. However, being 
totally ignorant of languages that use non ascii symbols besides the 
german umlauts, I don't know a thing about IME or XIM.

Aric, since it seems you are at it at the moment anyway, would you mind 
having a look on how to fix this properly?

Thanks,
-- 
Michael Jung
mjung at iss.tu-darmstadt.de

---
  configure.ac                 |    1 +
  dlls/imm32/tests/Makefile.in |   13 +++
  dlls/imm32/tests/imm32.c     |  222 
++++++++++++++++++++++++++++++++++++++++++
  3 files changed, 236 insertions(+), 0 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-imm32-Added-some-unit-test-cases.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080102/b2f56628/attachment-0001.txt 


More information about the wine-patches mailing list