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

Unicode BIDI text (Hebrew + Phone Number) seems wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.2, 6.5.3, 6.8.0, 6.9.0 RC
    • GUI: Text handling
    • None
    • macOS, Windows

      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:

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

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

              Created:
              Updated:

                There are no open Gerrit changes