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

grabImage() doesn't work on software renderer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.10
    • Quick: 2D Renderer
    • None

    Description

      This fails:

      qt@qtci-linux-Ubuntu-18:~/work/qt/qtdeclarative/tests/auto/quick/drawingmodes$ QT_QUICK_BACKEND=software ./tst_drawingmodes
      
      ********* Start testing of tst_drawingmodes *********
      Config: Using QtTest library 5.13.0, Qt 5.13.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 8.2.0)
      PASS   : tst_drawingmodes::initTestCase()
      FAIL!  : tst_drawingmodes::points() 'hasPixelAround(fb, 50, 100)' returned FALSE. ()
         Loc: [tst_drawingmodes.cpp(163)]
      FAIL!  : tst_drawingmodes::lines() 'hasPixelAround(fb, 135, 70)' returned FALSE. ()
         Loc: [tst_drawingmodes.cpp(204)]
      FAIL!  : tst_drawingmodes::lineStrip() 'hasPixelAround(fb, 135, 70)' returned FALSE. ()
         Loc: [tst_drawingmodes.cpp(235)]
      FAIL!  : tst_drawingmodes::lineLoop() 'hasPixelAround(fb, 135, 70)' returned FALSE. ()
         Loc: [tst_drawingmodes.cpp(268)]
      FAIL!  : tst_drawingmodes::triangles() 'hasPixelAround(fb, 150, 75)' returned FALSE. ()
         Loc: [tst_drawingmodes.cpp(301)]
      FAIL!  : tst_drawingmodes::triangleStrip() 'hasPixelAround(fb, 150, 75)' returned FALSE. ()
         Loc: [tst_drawingmodes.cpp(330)]
      FAIL!  : tst_drawingmodes::triangleFan() 'hasPixelAround(fb, 150, 75)' returned FALSE. ()
         Loc: [tst_drawingmodes.cpp(358)]
      PASS   : tst_drawingmodes::cleanupTestCase()
      Totals: 2 passed, 7 failed, 0 skipped, 0 blacklisted, 147ms
      ********* Finished testing of tst_drawingmodes *********
      

      This used to block CI for Qt Quick Controls 2: https://codereview.qt-project.org/#/c/205341/

       FAIL!  : tst_qquickmaterialstyle::Imagine::test_qrcPaths(:/control-assets) Compared values are not the same
          Actual   (): undefined
          Expected (): #ff0000
      

       

      Attachments

        Issue Links

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

          Activity

            People

              janichol Andy Nichols
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: