[Qgis-developer] Default fill/outline color for svg symbols

Richard Duivenvoorde rdmailings at duif.net
Sat Oct 10 04:36:22 PDT 2015

On 10-10-15 13:33, Nyall Dawson wrote:
> On 10 October 2015 at 22:27, Richard Duivenvoorde <rdmailings at duif.net> wrote:
>> On 10-10-15 13:21, Nyall Dawson wrote:
>>> At the moment, changing the symbol resets the full and outline color
>>> to match the default fill/outline set in the SVG symbol. I'd like to
>>> change this behaviour so that whatever user-set fill/outline color is
>>> kept when changing the source svg symbol. Any objections?
>> Mmm.. first I thought good fix, but now I think: what if people have
>> different colored svg symbols (like different color green tree's)...
>> If I played with a symbol's symbol (made it orange), and select another
>> one. Will that then have the last 'play color'? Or will the tree still
>> be green?
> This will only affect SVG symbols which have been edited to allow
> setting the color using parameters. So if someone wants hardcoded
> colors which never change, they are unlikely to have gone to the extra
> effort to allow customisable colors.
> But yes, if they had a tree SVG image which they'd modified to allow
> customisable colors and had set the default color to green, then that
> green colour would be ignored when switching between different svg
> source symbols.

Yes, you are right, this trees will not have changeable colors...

Agree with your point then: +1 :-)


More information about the Qgis-developer mailing list