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

text input v3 preedit_string's cursor position isn't honored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.2
    • None
    • Wayfire & KDE on Arch Linux
    • Linux/Wayland

    Description

      The preedit_string event has the arguments to position the cursor, and I've configured my fcitx5 input method to put it at the beginning, so that the input method window doesn't move a lot during typing (i.e. when the preedit string length changes). But Qt still places the cursor at the end of the preedit string. This combining with QTBUG-121477 makes the input method window chases the cursor constantly.

      I've tested Wireshark, Telegram and fcitx5-config-qt on Wayfire, and QT_WAYLAND_TEXT_INPUT_PROTOCOL=zwp_text_input_v3 dolphin on KDE. All reproduces this issue.

      Attachments

        1. qt-tiv3-cursor.mp4
          430 kB
        2. qt.log
          25 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            lilydjwg lilydjwg li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes