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

tst_qquicktext::contentSize consistently fails with MinGW 7.3 and Qt 6.0

    XMLWordPrintable

Details

    • Windows

    Description

      The qtdeclarative/auto/quick/qquicktext/tst_qquicktext.cpp tst_qquicktext::contentSize fails consistently both on CI and locally with MinGW 7.3, Windows 10.

      agent:2019/08/08 12:12:00 build.go:215: FAIL!  : tst_qquicktext::contentSize() Compared values are not the same
      agent:2019/08/08 12:12:00 build.go:215:    Actual   (spyWidth.count()): 2
      agent:2019/08/08 12:12:00 build.go:215:    Expected (3)     
      

      Sample job and log:
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/web_qt_qt5_1565263107260

      https://testresults.qt.io/coin/api/results/qt/qtdeclarative/b10b08600c064d5e38d9e2c2e40c51c51e4b688b/WindowsWindows_7x86WindowsWindows_7x86Mingw73qtci-windows-7-x86-3-bb33d7/78ce8a7e9f0738b0328a6d4fc843beeb7e0395aa/test_1565263201/log.txt.gz

      It's something to do with calling QQuickText::setElideMode(QQuickText::ElideRight) not causing a width change which a spy expects to happen.

      I don't know why it happens, but it's the last thing preventing me from getting a working wip/qt6 branch, so I'm gonna skip the test on MinGW (because for some reason there is no blacklist keyword available for mingw).

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-77394
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes