Bug report #17707

Custom SVG styles aren't loaded

Added by Patrick Dunford over 6 years ago. Updated about 5 years ago.

Affected QGIS version:master Regression?:No
Operating System:Debian 9.1 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:25604


This seems to be an enduring problem or not well documented in Qgis that I can ever remember but it seems to have been working properly in earlier masters and stopped working again in later ones.
I have found almost consistently except for this rare period when it actually worked that every time I set up a new installation of Qgis and load the styles into Style Manager that my styles which have a custom SVG symbol have the symbols missing and I have to every single time go through and add these symbols back to the styles manually.
With a style file like the attached loading it in master 313ec55 will find all the custom SVGs and load them straight off from the xml file, the later masters e.g. the current one will not.
Just to make it even more complex I have some layers with rule based styles, these will not remember the custom SVGs so every time I open a project for the first time after installing Qgis I have to go through and set all these by hand as well.
Given there is a path stored to the SVG file inside the XML file for each style it can't be that hard surely?

Map Styles 45.3.xml Magnifier (152 KB) Patrick Dunford, 2017-12-17 10:17 AM


#1 Updated by Giovanni Manghi about 5 years ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF