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

Problem with QAbstractItemDelegate and IME (chinese Input Method) with edit trigger QAbstractItemView::AnyKeyPressed

    XMLWordPrintable

    Details

    • Platform/s:
      macOS

      Description

      The QInputMethodEvent flow is not fired correctly when using a chinese Input Method on a QTableWidget, having QTableWidget::setEditTriggers(QAbstractItemView::AnyKeyPressed)

      1) Setup a chinese keyboard (i.e: pinyin)
      2) Launch the annexed project (stardelegate example)
      3) Select a text cell
      4) write the chinese ideogram "chang"

      Expected result: 长
      Actual result: c行 -> c + "hang"

        Attachments

        1. Fix-QTBUG54848-Qt5.6.patch
          10 kB
        2. qtbug54848_repro.diff
          0.7 kB
        3. qtbug54848.zip
          2 kB
        4. stardelegate.zip
          14 kB

          Issue Links

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

            Activity

              People

              Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              joz José Del Romano
              Votes:
              2 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated: