Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136067

[Windows][QTWebEngine] Korean IME composition caret appears at beginning of input field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.0
    • WebEngine
    • None
    • OS: Windows 10

      Pyside6 Version: 6.9.0

      Module: Qt WebEngine

      Platform: QWebEngineView

      Input Method: Korean (Microsoft IME)
    • Windows
    • 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())
       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            aesthetics-of-record hyeonho cho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes