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

Emoji drawn with vertical offset in QQC2.TextField using the Material style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.1
    • Quick: Controls 2
    • None
    • Linux/Wayland

    Description

      1. Copy any emoji, such as 😋
      2. Paste it into a QQC2.Textfield using the Material Style

      The emoji is placed vertically too low, partially cut off, until you type an ASCII char.

      ```
      import QtQuick
      import QtQuick.Controls as QQC2

      Item {
      width: 200
      height: 200

      QQC2.TextField

      { anchors.centerIn: parent }

      }
      ```

      Running `QT_QUICK_CONTROLS_STYLE=Material qmlscene-qt6 [path to a file containing that code]` shows the issue.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            alexde Alex Debus
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes