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

Emoji cause crash when used in QML Text, unless using NativeRendering (emoji's are then invisible)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.8.0
    • None
    • Antergos (== Arch) with Qt 5.8
      A Plasma widget.

    Description

      I received a report from Antergos users with Qt 5.8 that my widget was causing plasmashell to crash when trying to load text with emoji's in them.

      https://github.com/Zren/plasma-applets/issues/60

      I was using `Text

      { text: "\ud83e\udd11" }

      `

      But as soon as I changed to using PlasmaComponents.Label, which is basically:

      `Text

      { text: "\ud83e\udd11"; renderType: Text.NativeRendering }

      `

      the emojis no longer crashed plasmashell. However, the emojis were invisible. As in, they took up space, but no "glyph" was drawn.

      Emoji's show up fine in KDE Neon with Qt 5.7.1

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            zren Chris H
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes