Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modifying a svg already cached doesn't invalidate the cache, renders as version initially loaded during a session #21607

Closed
qgib opened this issue Oct 11, 2015 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers

Comments

@qgib
Copy link
Contributor

qgib commented Oct 11, 2015

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 13565
Affected QGIS version: master
Redmine category:symbology
Assignee: Nyall Dawson


Once a svg file is loaded during a qgis session, its cache stays fixed, even if the svgs are edited / modified. It's a problem when users want to finetune their svg graphics as it forces them to restart the application or create endless new files for edited svgs.

@qgib
Copy link
Contributor Author

qgib commented Mar 6, 2016

Author Name: Paolo Cavallini (@pcav)


  • subject was changed from modifying a svg already cached doesn't invalidate the csche, renders as version initially loaded during a session to modifying a svg already cached doesn't invalidate the cache, renders as version initially loaded during a session

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented May 11, 2017

Author Name: Håvard Tveite (@havatv)


I am developing a Python plugin that is generating SVG symbols for a layer, and since I am reusing file names for the SVGs I am hitting this bug.
Are there any other workarounds than making sure that every SVG file name is unique?

@qgib
Copy link
Contributor Author

qgib commented Oct 27, 2017

Author Name: Jérémy Billant (Jérémy Billant)


Håvard Tveite wrote:

I am developing a Python plugin that is generating SVG symbols for a layer, and since I am reusing file names for the SVGs I am hitting this bug.
Are there any other workarounds than making sure that every SVG file name is unique?

Same problem here. I use timestamp in my SVG file names to make them unique, but I don't really like this solution and so don't release my plugin.
Does any fix is planned? It would be great!

@qgib
Copy link
Contributor Author

qgib commented Oct 31, 2017

Author Name: Nyall Dawson (@nyalldawson)


  • assigned_to_id was configured as Nyall Dawson

@qgib
Copy link
Contributor Author

qgib commented Oct 31, 2017

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 0b2de85.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Oct 31, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers labels May 25, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant