Bug report #17707

Custom SVG styles aren't loaded

Added by Patrick Dunford almost 7 years ago. Updated over 5 years ago.

Status:Feedback
Priority:Normal
Assignee:-
Category:Symbology
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

Description

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

History

#1 Updated by Giovanni Manghi over 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