On Thu, 17 Apr 2025 at 06:01, Michael Schmuki via QGIS-Developer
<qgis-developer@lists.osgeo.org> wrote:
>
> Hi QGIS Devs
>
> I have tried to add an image decorator to the map canvas, with a .png
> that gets automatically re-generated by some logic in the project
> Python macro.
>
> Then I found out that QgsDecorationImage uses the app wide
> QgsImageCache and won't get updated until the
> "FileModifiedCheckTimeout" in the QgsImageCache of 30s has occurred.
>
> I see no way to manually invalidate a cache entry (Python and C++) and
> wanted to ask if there is a reason behind this, or if I'm missing
> something.

No, there's currently no methods exposed to do this.

Nyall
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to