Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.0
-
None
-
OS: Windows 10
Pyside6 Version: 6.9.0
Module: Qt WebEngine
Platform: QWebEngineView
Input Method: Korean (Microsoft IME)
-
-
Windows
Description
Environment
- OS: Windows 10
- Pyside6 Version: 6.9.0
- Module: Qt WebEngine
- Platform: QWebEngineView
- Input Method: Korean (Microsoft IME)
Description
When entering Korean using the Windows Microsoft IME inside a <input> or <textarea> within QWebEngineView, the composition caret appears at the beginning of the input field instead of where the user is actually typing.
This issue does not occur on macOS, where the composition appears in the correct position.
Expected Behavior
The IME composition should appear at the actual caret position, as it does on macOS or in native Chromium/Edge browsers.
# example.py import sys from PySide6.QtWidgets import QApplication from PySide6.QtWebEngineWidgets import QWebEngineView html = ''' <!DOCTYPE html> <html> <body> <h3>IME Test</h3> <textarea rows="5" cols="50" placeholder="Type in Korean here..."></textarea> </body> </html> ''' app = QApplication(sys.argv) view = QWebEngineView() view.setHtml(html) view.resize(800, 600) view.show() sys.exit(app.exec())