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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.12.9, 5.15.0, 5.15.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Qt: v5.15.0 & v5.12.9
      XCode: v12.0.1
      MacOS: Catalina v10.15.7
    • Platform/s:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes