Details
-
Sub-task
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
Description
Looking at qtbase f2b3dfd1f17952627fce9fde1264207958f87f43 , grabWindow seems to be a no-op in the xcb qpa backend.
QPixmap QXcbIntegration::grabWindow(WId window, int x, int y, int width, int height) const { Q_UNUSED(window); Q_UNUSED(x); Q_UNUSED(y); Q_UNUSED(width); Q_UNUSED(height); return QPixmap(); }
I'm not sure how important this API is, but at least it causes some autotests to fail (e.g. tst_QPixmap::grabWindow).
It seems there is no API to query whether or not this feature is supported, or an API to query if xcb is the current qpa backend, so there's not really a correct way to skip the failing tests.
Attachments
For Gerrit Dashboard: QTBUG-20863 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
2877,1 | test: skip some broken tests in tst_qpixmap for qpa | master | qt/qtbase | Status: MERGED | +2 | 0 |
3123,1 | test: mark tst_qwindowsurface as expected failure on qpa | master | qt/qtbase | Status: MERGED | +2 | 0 |
37823,1 | test: Remove tst_QPixmap::grabWindow() function | master | qt/qtbase | Status: MERGED | +2 | 0 |