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

tst_qquicktext fails on Windows

    XMLWordPrintable

Details

    • 5cb581b3b4c3305a0dfebead1ec7049ab6f2ebc4

    Description

      tst_qquicktext::fontSizeMode() and multilengthStrings() started failing consistently on Windows ever since the following change was merged to qtbase#dev:

      Set fallback for QFont::System to be MS Sans Serif and not Arial
      https://codereview.qt-project.org/#/c/87950/

      => qtdeclarative#dev is blocked.

      FAIL!  : tst_qquicktext::fontSizeMode(styled) 'horizontalFitWidth <= myText->width() + 2' returned FALSE. ()
      .\tst_qquicktext.cpp(2946) : failure location
      FAIL!  : tst_qquicktext::multilengthStrings(Wrap) Compared doubles are not the same (fuzzy compare)
         Actual   (myText->contentWidth()): 56
         Expected (mediumWidth)           : 57
      .\tst_qquicktext.cpp(3450) : failure location
      

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes