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

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

XMLWordPrintable

    • Windows

      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).

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

            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

              Created:
              Updated:

                There are no open Gerrit changes