macos: Wrong position of input method in gtk4
Steps to reproduce
- Start an application with text view, like
gtk4-demo-application
. - Move the window and activate the input method, like pinyin.
- Input some characters to see the candidate window of the input method.
Current behavior
The position of the input method candidates window is wrong: the window of candidates cover the preedit text.
See the screenshot below:
Expected outcome
The window of candidates will not cover the preedit text in text view.
Version information
Gtk: 4.3.1 (master)
MacOS: 11.4 Big Sur
Edited by Wang Zhi