Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.0
-
None
Description
If you have a custom image provider, requestPixmap is called also for Image elements having
a width/height zero, but if in that case a zero sized pixmap is returned, that is not accepted and an error is given:
QML Image: Failed to get image from provider:
First of all I think it should not request images that have a width or height of zero (this would be an optimization), but if it does it should accept that a zero sized pixmap is returned.
See attached example that shows the error.