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

QtQuick tests fail on highdpi screen

    XMLWordPrintable

Details

    Description

      Several tests fail when running with highdpi. Some may be real issues, some are just small issues where the test needs adoption.

      tst_qquickimage

      FAIL!  : tst_qquickimage::svg(svg) Compared doubles are not the same (fuzzy compare)
         Actual   (obj->height()): 272,5
         Expected (273.0)        : 273
         Loc: [/home/frederik/dev/qt/qt-src-dev/qtdeclarative/tests/auto/quick/qquickimage/tst_qquickimage.cpp(406)]
      FAIL!  : tst_qquickimage::svg(svgz) Compared doubles are not the same (fuzzy compare)
         Actual   (obj->height()): 272,5
         Expected (273.0)        : 273
         Loc: [/home/frederik/dev/qt/qt-src-dev/qtdeclarative/tests/auto/quick/qquickimage/tst_qquickimage.cpp(406)]
      ...
      FAIL!  : tst_qquickimage::hugeImages() Compared values are not the same
         Actual   (contents.pixel(100, 0)): 4294901760
         Expected (qRgba(0, 0, 255, 255)) : 4278190335
         Loc: [/home/frederik/dev/qt/qt-src-dev/qtdeclarative/tests/auto/quick/qquickimage/tst_qquickimage.cpp(989)]
      

      tst_QQuickMouseArea

      FAIL!  : tst_QQuickMouseArea::hoverVisible() Compared values are not the same
         Actual   (mouseTracker->hovered()): 0
         Expected (true)                   : 1
         Loc: [/home/frederik/dev/qt/qt-src-dev/qtdeclarative/tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp(1289)]
      

      Attachments

        Activity

          People

            sorvig Morten Sørvig
            frederik Frederik Gladhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: