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

grabImage() doesn't work on software renderer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.10
    • Fix Version/s: None
    • Component/s: Quick: 2D Renderer
    • Labels:
      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

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

            Activity

              People

              • Assignee:
                janichol Andy Nichols
                Reporter:
                mitch_curtis Mitch Curtis
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes