I know there was already a issue (#3306) with mouse click issue solved. Here is the touch one.
I am using CEF developing a windows product that with a touch screen and keyboard(no mouse).
When using the Microsoft Pinyin on Windows, the IME window is not positioned next to the input field that has focus with touch on touch screen.
First configure for Chinese IME Microsoft Pinyin on windows 10 21H2:
Windows Settings->Time & Language->Language, On the right, click Add a language.
Choose a language to install, search Chinese, select Chinese (Simplified, China), click next. Install.
In the Preferred languages list, select Chinese (Simplified, China), click Options, and under Keyboards, click Add a Keyboard, select Microsoft Pinyin.
Reproducing the problem:
Download prebuilt cef binard from CEF Automated Builds (spotifycdn.com), I’ve tested with cef_binary_105.3.36+g88e0038+chromium-105.0.5195.102_windows32_client
Extract files to a folder, and run cefclient.exe
In the Language bar on the desktop or select under taskbar tray, change the input language to Chinese, Microsoft Pinyin
Touch Click in the page’s bing search box, type aaa and press space, Microsoft Pinyin will input three chinese characters, and IME window positioned correctly.
Touch Click in the cefclient demo’s address bar, and type aaa and press space, Microsoft Pinyin will input three chinese characters, and IME window positioned correctly.
Touch Click in the page’s bing search box, type aa, the IME window not positioned correctly.(on the left top of screen)
Original report by CodeTruck (Bitbucket: CodeTruck, GitHub: CodeTruck).
I know there was already a issue (
#3306) with mouse click issue solved. Here is the touch one.I am using CEF developing a windows product that with a touch screen and keyboard(no mouse).
When using the Microsoft Pinyin on Windows, the IME window is not positioned next to the input field that has focus with touch on touch screen.
First configure for Chinese IME Microsoft Pinyin on windows 10 21H2:
Reproducing the problem: