Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1428

TestVerifier does not work on Ubuntu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • QSR 2.0 Beta 4
    • QSR 2.0 Beta 4
    • Safety Monitor
    • None
    • Linux/X11

    Description

      Testing the indicators example and the monitor on the VirtualBox Ubuntu 20.04.

      Seems that window capture is not working as expected but it takes the screenshot from the entire screen capture instead of window offset:

       QImage screenshot = qApp->screens().at(0)->grabWindow(
       QDesktopWidget().winId(),
       region.region().x(),
       region.region().y(),
       region.region().width(),
       region.region().height()).toImage();
      

      where region.width=64,height=64,x=54, y=37
      The output is the screenshot.png

      The expected result is marked red to the actual_screenshot.png.

      TestRail: Results

        Attachments

          1. actual_screenshot.png
            701 kB
            Teemu Holappa
          2. screenshot.png
            4 kB
            Teemu Holappa
          3. ubuntu.patch
            1 kB
            Teemu Holappa

          Activity

            People

              teemu.holappa Teemu Holappa
              teemu.holappa Teemu Holappa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases