GTK3 Windows IME candidate window is at wrong position
Steps to reproduce
- Install GTK3 using MSYS2
pacman -S mingw-w64-x86_64-gtk3
- Start mingw64\bin\gtk3-demo.exe, run "Application Class" or directly run mingw64\bin\gtk3-demo-application.exe; I think is was built from demos/gtk-demo/application_demo.c
- Test each IME (based on https://docs.microsoft.com/en-us/windows/win32/dxtecharts/installing-and-using-input-method-editors)
- Simplified Chinese Pinyin: type
nihao
, press Enter - Korean IME: type
gks
, press right Ctrl to show candidate window, press Enter - Japanese IME Kana input: type
aa
, press down arrow to select first candidate item, press Enter - Japanese IME Romaji input: type
nihongo
, press down arrow to select first candidate item, press Enter - Traditional Chinese New Zhuyin (New Phonetic): type
su3
, press down arrow to show candidate window, press Enter.
Current behavior
- The IME candidate window is far from caret line (about three lines offset).
- The IME candidate window is moved to right on typing, instead of aligned to the left of pre-edit string.
Expected outcome
The IME candidate window is very close to caret line (either under caret line or filliped above caret line) and doesn't move on typing like them in other applications.
Version information
- latest Windows 10 1909, 10.0.18363.535
- latest MSYS2
- GTK 3.24.13-1
Additional information
Attachment is video for IME in GTK demo and Window Notepad. GTK3-IME-Win10
The bug report was originally attached to #374 (closed), because I think the patch (using CFS_EXCLUDE) would fix/improve current behavior. Sine it was RESOLVED OBSOLETE in Bugzilla, and above behaviors are not caused by Aero glass, I filled this new issue, I apologize if it's a duplicated one.