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

Unicode BIDI text (Hebrew + Phone Number) seems wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2, 6.2.4, 6.3.2, 6.4.2, 6.5.0 Beta1
    • GUI: Text handling
    • None
    • macOS, Windows

    Description

      Unicode BIDI text (Hebrew + Phone Number) is rendered wrong in Qt TextEdit. Reproduced
      both with QtWidgets and QtQuick, with the current dev as well.

      Quick sample:

      import QtQuick
      
      Window {
          width: 200
          height: 100
          visible: true
          title: "BiDi issue"
      
          Text {
              anchors.centerIn: parent
              text: "שִׂיחָה
      +9751111111"
          }
      }
      

      Actual result - wrong:

      Pay attention that Phone Number is on separate text line

      שִׂיחָה
      +9751111111
      

      You can use e.g. https://util.unicode.org/UnicodeJsps/bidi.jsp to see how it should be rendered:

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              studiosus Vladimir Belyavsky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes