Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1, 5.6.0 RC, 5.11.0 Beta 1
-
eLinux image of Boot2Qt Wayland (nitrogen device), Arch Linux
Description
As mentioned in subject mask is not null always when the one is running auto-tests on nitrogen device with Boot2Qt image. Wayland used.
Logs:
********* Start testing of tst_QPixmap ********* Config: Using QtTest library 5.5.1, Qt 5.5.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 4.9.1) PASS : tst_QPixmap::initTestCase() PASS : tst_QPixmap::swap() PASS : tst_QPixmap::fromImage(Format_Mono) PASS : tst_QPixmap::fromImage(Format_MonoLSB) PASS : tst_QPixmap::fromImage(Format_RGB32) PASS : tst_QPixmap::fromImage(Format_ARGB32) PASS : tst_QPixmap::fromImage(Format_ARGB32_Premultiplied) PASS : tst_QPixmap::fromImage(Format_RGB16) PASS : tst_QPixmap::fromUninitializedImage(Format_Mono) PASS : tst_QPixmap::fromUninitializedImage(Format_MonoLSB) PASS : tst_QPixmap::fromUninitializedImage(Format_Indexed8) PASS : tst_QPixmap::fromUninitializedImage(Format_RGB32) PASS : tst_QPixmap::fromUninitializedImage(Format_ARGB32) PASS : tst_QPixmap::fromUninitializedImage(Format_ARGB32_Premultiplied) PASS : tst_QPixmap::fromUninitializedImage(Format_RGB16) PASS : tst_QPixmap::convertFromImage(Task 31722 0) PASS : tst_QPixmap::convertFromImage(Task 31722 1) PASS : tst_QPixmap::convertFromImageShouldDetach() PASS : tst_QPixmap::testMetrics() PASS : tst_QPixmap::scroll(null) PASS : tst_QPixmap::scroll(dx_0_dy_0_null) PASS : tst_QPixmap::scroll(dx_1_dy_0_null) PASS : tst_QPixmap::scroll(dx_0_dy_1_null) PASS : tst_QPixmap::scroll(dx_0_dy_0_x_y_w_h) PASS : tst_QPixmap::scroll(dx_0_dy_10_x_y_w_h) PASS : tst_QPixmap::scroll(dx_10_dy_0_x_y_w_h) PASS : tst_QPixmap::scroll(dx_10_dy_10_x_y_w_h) PASS : tst_QPixmap::scroll(dx_-10_dy_0_x_y_w_h) PASS : tst_QPixmap::scroll(dx_0_dy_-10_x_y_w_h) PASS : tst_QPixmap::scroll(dx_-10_dy_-10_x_y_w_h) PASS : tst_QPixmap::scroll(dx_0_dy_0_50_50_100_100) PASS : tst_QPixmap::scroll(dx_10_dy_0_50_50_100_100) PASS : tst_QPixmap::scroll(dx_0_dy_10_50_50_100_100) PASS : tst_QPixmap::scroll(dx_10_dy_10_50_50_100_100) PASS : tst_QPixmap::scroll(dx_-10_dy_0_50_50_100_100) PASS : tst_QPixmap::scroll(dx_0_dy_-10_50_50_100_100) PASS : tst_QPixmap::scroll(dx_-10_dy_-10_50_50_100_100) PASS : tst_QPixmap::scroll(dx_128_dy_0_x_y_w_h) PASS : tst_QPixmap::scroll(dx_0_dy_128_x_y_w_h) PASS : tst_QPixmap::scroll(dx_128_dy_128_x_y_w_h) PASS : tst_QPixmap::scroll(dx_-128_dy_0_x_y_w_h) PASS : tst_QPixmap::scroll(dx_0_dy_-128_x_y_w_h) PASS : tst_QPixmap::scroll(dx_-128_dy_-128_x_y_w_h) PASS : tst_QPixmap::scroll(dx_128_dy_128_64_64_128_128) PASS : tst_QPixmap::fill(syscolor_2) PASS : tst_QPixmap::fill(syscolor_3) PASS : tst_QPixmap::fill(syscolor_4) PASS : tst_QPixmap::fill(syscolor_5) PASS : tst_QPixmap::fill(syscolor_6) PASS : tst_QPixmap::fill(syscolor_7) PASS : tst_QPixmap::fill(syscolor_8) PASS : tst_QPixmap::fill(syscolor_9) PASS : tst_QPixmap::fill(syscolor_10) PASS : tst_QPixmap::fill(syscolor_11) PASS : tst_QPixmap::fill(syscolor_12) PASS : tst_QPixmap::fill(syscolor_13) PASS : tst_QPixmap::fill(syscolor_14) PASS : tst_QPixmap::fill(syscolor_15) PASS : tst_QPixmap::fill(syscolor_16) PASS : tst_QPixmap::fill(syscolor_17) PASS : tst_QPixmap::fill(alpha_7f_red) PASS : tst_QPixmap::fill(alpha_3f_blue) PASS : tst_QPixmap::fill(alpha_b7_green) PASS : tst_QPixmap::fill(alpha_7f_white) PASS : tst_QPixmap::fill(alpha_3f_white) PASS : tst_QPixmap::fill(alpha_b7_white) PASS : tst_QPixmap::fill(alpha_7f_black) PASS : tst_QPixmap::fill(alpha_3f_black) PASS : tst_QPixmap::fill(alpha_b7_black) PASS : tst_QPixmap::fill(bitmap_color0) PASS : tst_QPixmap::fill(bitmap_color1) PASS : tst_QPixmap::fill_transparent() PASS : tst_QPixmap::createMaskFromColor() FAIL! : tst_QPixmap::mask() 'pm.mask().isNull()' returned FALSE. () Loc: [../qpixmap/tst_qpixmap.cpp(581)] PASS : tst_QPixmap::bitmapMask() PASS : tst_QPixmap::setGetMask(nullmask 0) PASS : tst_QPixmap::setGetMask(nullmask 1) PASS : tst_QPixmap::setGetMask(nullmask 2) PASS : tst_QPixmap::setGetMask(nullmask 3) PASS : tst_QPixmap::setGetMask(simple mask 0) PASS : tst_QPixmap::cacheKey() PASS : tst_QPixmap::drawBitmap() PASS : tst_QPixmap::isNull() FAIL! : tst_QPixmap::task_246446() 'pm.mask().isNull()' returned FALSE. () Loc: [../qpixmap/tst_qpixmap.cpp(1441)] PASS : tst_QPixmap::convertFromImageNoDetach() PASS : tst_QPixmap::convertFromImageDetach() PASS : tst_QPixmap::convertFromImageCacheKey() SKIP : tst_QPixmap::onlyNullPixmapsOutsideGuiThread() This platform supports threaded pixmaps. Loc: [../qpixmap/tst_qpixmap.cpp(1075)] PASS : tst_QPixmap::refUnref() PASS : tst_QPixmap::copy() PASS : tst_QPixmap::depthOfNullObjects() PASS : tst_QPixmap::transformed() PASS : tst_QPixmap::transformed2() PASS : tst_QPixmap::fromImage_crash() PASS : tst_QPixmap::load() PASS : tst_QPixmap::loadFromData() PASS : tst_QPixmap::loadFromDataStream() PASS : tst_QPixmap::fromData() PASS : tst_QPixmap::loadFromDataNullValues() PASS : tst_QPixmap::loadFromDataImage(designer_argb32.png) PASS : tst_QPixmap::loadFromDataImage(designer_argb32) PASS : tst_QPixmap::loadFromDataImage(designer_indexed8_no_alpha.png) PASS : tst_QPixmap::loadFromDataImage(designer_indexed8_with_alpha.png) PASS : tst_QPixmap::loadFromDataImage(designer_rgb32.png) PASS : tst_QPixmap::loadFromDataImage(designer_indexed8_no_alpha.gif) PASS : tst_QPixmap::loadFromDataImage(designer_indexed8_with_alpha.gif) PASS : tst_QPixmap::loadFromDataImage(designer_rgb32.jpg) PASS : tst_QPixmap::fromImageReader(designer_argb32.png) PASS : tst_QPixmap::fromImageReader(designer_indexed8_no_alpha.png) PASS : tst_QPixmap::fromImageReader(designer_indexed8_with_alpha.png) PASS : tst_QPixmap::fromImageReader(designer_rgb32.png) PASS : tst_QPixmap::fromImageReader(designer_indexed8_no_alpha.gif) PASS : tst_QPixmap::fromImageReader(designer_indexed8_with_alpha.gif) PASS : tst_QPixmap::fromImageReader(designer_rgb32.jpg) PASS : tst_QPixmap::fromImageReader(designer_indexed8_with_alpha_animated) PASS : tst_QPixmap::fromImageReader(designer_indexed8_no_alpha_animated) PASS : tst_QPixmap::fromImageReaderAnimatedGif(gif with alpha) PASS : tst_QPixmap::fromImageReaderAnimatedGif(gif without alpha) PASS : tst_QPixmap::preserveDepth() QDEBUG : tst_QPixmap::splash_crash() Using Wayland-EGL PASS : tst_QPixmap::splash_crash() PASS : tst_QPixmap::toImageDeepCopy() PASS : tst_QPixmap::loadAsBitmapOrPixmap() PASS : tst_QPixmap::scaled_QTBUG19157() PASS : tst_QPixmap::detachOnLoad_QTBUG29639() PASS : tst_QPixmap::copyOnNonAlignedBoundary() PASS : tst_QPixmap::devicePixelRatio() PASS : tst_QPixmap::cleanupTestCase() Totals: 124 passed, 2 failed, 1 skipped, 0 blacklisted ********* Finished testing of tst_QPixmap *********
However, this issue was not seen in simple application.
Attachments
Issue Links
- is duplicated by
-
QTBUG-66983 tst_QPixmap::mask fails on wayland
- Closed
-
QTBUG-66984 tst_QPixmap::convertFromImageNoDetach2 fails on Wayland
- Closed
-
QTBUG-66985 tst_QPixmap::task_246446 fails on Wayland
- Closed
- is required for
-
QTBUG-66846 All enabled Qt Base tests should pass on Wayland
- Closed
For Gerrit Dashboard: QTBUG-51748 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
223021,2 | QPixmap don't assume QPlatformScreen::format is opaque | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |