Details
-
Bug
-
Resolution: Done
-
P2: Important
-
QSR 2.0 Beta 4
-
None
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.
Attachments
For Gerrit Dashboard: QSR-1428 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
381558,4 | Fix window screen offset in testverifier | 2.0 | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |