Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.7
-
iOS 13.x, 14
XCode 13.1
-
-
47790977f5 (qt/qtdeclarative/dev) 47790977f5 (qt/tqtc-qtdeclarative/dev) 3af1c96d79 (qt/tqtc-qtdeclarative/5.15) 9157578c5c (qt/qtdeclarative/6.3) 9157578c5c (qt/tqtc-qtdeclarative/6.3) 5be8de1186 (qt/qtdeclarative/6.4)
Description
The following test fails on iOS. It works fine on other platform such as Android or Windows.
This code is in QTBUG-98914.zip .
function test_progresscircle_indeterminate(){ var imgCompare1 = grabImage(obj); //do not use 1000 as it is the standard repeat interval for ProgressCircle wait(800); var imgCompare2 = grabImage(obj); verify(!imgCompare1.equals(imgCompare2), "TEST: ProgressCircle changed in indeterminate mode"); }
For a reference, this also fails too. ( This is not in the sample project )
function test_set_image(){ var noImage = grabImage(obj); obj.source = "qrc:/test_image.png"; wait(1000); var testImg = grabImage(obj); verify(!noImage.equals(testImg), "TEST: Set image"); }
grabImage() returns a valid object but it seems the image before and after are the same.
Sample code is attached ( QTBUG-98914.zip )
Attachments
For Gerrit Dashboard: QTBUG-98914 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
416815,2 | Quick test lib: properly grab sub-image | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |
416829,3 | Quick test lib: Account for DPR when grabbing sub-image | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
417108,2 | Quick test lib: Account for DPR when grabbing sub-image | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
417110,2 | Quick test lib: Account for DPR when grabbing sub-image | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
417111,2 | Quick test lib: Account for DPR when grabbing sub-image | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
417939,2 | Quick test lib: Account for DPR when grabbing sub-image | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |