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

QtQuick Text objects missing spaces after commas or periods in iOS 14

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.12.9, 5.15.0, 5.15.1
    • None
    • Qt: v5.15.0 & v5.12.9
      XCode: v12.0.1
      MacOS: Catalina v10.15.7
    • iOS/tvOS/watchOS

    Description

      With QML based applications in iOS 14 - for any Text elements that contains a space following a comma or period - the space does not appear.

      Changing the text to be two spaces after a comma, then a single space does appear in v14 but appears as two spaces in v12 & v13 (ie- only the first space after a period or comma is lost).

      In the screenshot below the left-hand side shows a simulation in iOS 12.1 where the spaces appear normally, the right-hand side shows a simulation in iOS 14.0 where the spaces are lost.  Not pictured - iOS 13.7 appears similar to v12.1 (correctly).

      On physical hardware, the result is the same as in the simulation shown below.

       

      import QtQuick 2.12
      import QtQuick.Window 2.12
      Window { 
          width: 640 
          height: 480 
          visible: true 
          title: qsTr("Hello World") 
          Text { 
              id: textID 
              text: qsTr("I, am, some. text. Here. Is a double space.") 
          } 
      }
      

       

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              davek99 Dave Kinkade
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes