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 )