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

When TableModelView includes unqualified emoji, whole string line is unreadable.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.2
    • GUI: Text handling
    • None
    • Qt6.4.2 on MacOS Ventura 13.1(22C65)
    • macOS

    Description

      Definition of Unqualified Emoji

      Unqualified emoji is defined here.

      https://unicode.org/reports/tr51/#def_unqualified_emoji

      When a list item includes unqualified emoji, whole list item is unreadable.

      Unreadable Text

      It shows something like triple dash in a box.

      After remove unqualified emoji

      Without unqualified emoji, rest of strings including qualified emoji are correctly shown.

      Tested unqualified emoji

      Warning emoji in U+26A0 causes this issue.

      https://unicode.org/emoji/charts/full-emoji-list.html#26a0

      Hot-fix for this issue

      visu_data = msg.toStringPayload().trimmed().replace('\n', ' ').replace("⚠️","!"); 

      Previously with Qt5.15.1

      With 5.15.1, same payload in the message were correctly displayed.

      Attachments

        1. without_emoji.png
          without_emoji.png
          54 kB
        2. with_emoji.png
          with_emoji.png
          51 kB
        3. emoji.7z
          5 kB
        4. diff.png
          diff.png
          83 kB
        5. before.png
          before.png
          227 kB
        6. after.png
          after.png
          306 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            changjoon.lee ChangJoon Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes