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

Deleted character appears again when switching languages (Mozc / IBus)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.2
    • Arch
      Gnome 46.4 (Wayland / Xorg)
      qt6-examples 6.7.2
      qt6-base 6.7.2
      ibus 1.5.30
      mozc 2.30.5544.102
    • Linux/Wayland

    Description

      Hello,

      There is a bug in a software I use (Anki build with Qt 6.6.2 / PyQt 6.6.1) which is reproducible with one of the Examples from qt6-examples in Qt Creator 14.0.1.

       

      Summary:

      When typing japanese with IBus / Mozc, deleted characters appear again when switching languages (or just pressing the SUPER key).

       

      Steps to reproduce:

      1) Open QtCreator

      2) In Examples, select from the drop down menu 6.7.2 (System)

      3) From the application examples, pick "Recipe Browser"

      4) In assets/pages/burger.html, after <body> in Line 12, add the following lines:

       

      <div contenteditable="true">

      <p>Edit me!</p>

      </div>

      5) Now start the application and and type characters in Japanese in the div that was just added. Delete all characters and switch back to English.

      Result: The last deleted character suddenly appears again.

       

      Expectation: Already deleted characters should not suddenly appear again.

       

      This bug seems to be Qt6 specific. I couldn't reproduce it with Qt 5.15.14

       

      See also https://forums.ankiweb.net/t/deleted-character-appears-again-when-switching-input-sources/47961

      Attachments

        For Gerrit Dashboard: QTBUG-127995
        # Subject Branch Project Status CR V

        Activity

          People

            liaqi Liang Qi
            ankiuser Nikolas Gur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change