Skip to content

wallpapers/image: set duration to 1 to avoid flickering

Fushan Wen requested to merge work/fuf/image/flick into master

If asynchronous is set to true, the exact moment Image.status becomes Image.Ready, the image doesn't really show up in the window.

To verify the behavior, run qml main.qml in the attachment and click the window area (will switch between the two images), see if every time the color of rectangle shows up before the image.

Reproducible on both Qt6.3.1 and Qt5.15.5 using https://fars.ee/AVAv.gz or main.qml

2022-09-20_22-29-58

See also: https://bugreports.qt.io/browse/QTBUG-106797

Edited by Fushan Wen

Merge request reports