-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Raster Image Fill breaks @symbol_color variable for stroke color #47723
Comments
baswein
added
the
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
label
Mar 10, 2022
nyalldawson
added a commit
to nyalldawson/QGIS
that referenced
this issue
Mar 16, 2022
etc) when calculating overall symbol colors Fixes qgis#47723
nyalldawson
added a commit
that referenced
this issue
Mar 21, 2022
etc) when calculating overall symbol colors Fixes #47723
qgis-bot
pushed a commit
that referenced
this issue
Mar 21, 2022
etc) when calculating overall symbol colors Fixes #47723
nyalldawson
added a commit
that referenced
this issue
Mar 22, 2022
etc) when calculating overall symbol colors Fixes #47723
nyalldawson
added a commit
to nyalldawson/QGIS
that referenced
this issue
Mar 23, 2022
etc) when calculating overall symbol colors Fixes qgis#47723
benoitdm-oslandia
pushed a commit
to benoitdm-oslandia/QGIS
that referenced
this issue
Mar 28, 2022
etc) when calculating overall symbol colors Fixes qgis#47723
nyalldawson
added a commit
that referenced
this issue
Apr 4, 2022
etc) when calculating overall symbol colors Fixes #47723
nyalldawson
added a commit
that referenced
this issue
Apr 17, 2022
etc) when calculating overall symbol colors Fixes #47723
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the bug or the crash?
If you have a Raster Image Fill or an Outline:Raster Line at the bottom of your layer styling stack it makes the @symbol_color variable applied to the stroke in other layers no longer function. See GIF-
It seems that the symbol_color variable comes from the color of the bottom most symbol layer. Because the Raster layer does not have a color it makes the variable invalid and the color falls back to what is in the stroke field.
A gradient fill layer set to color ramp also doesn't have a color but the symbol_color defaults to the color set in the Overarching Symbol Color field. This seems like the correct behavior.
The current work around is easy: Add a Simple fill layer below the Raster Fill layer. This can even have the Enable Symbol Layer unchecked and still work as the symbol_color.
Thanks- QGIS Rocks!
Steps to reproduce the issue
On a ploygon layer add Simple Fill and a Raster Image Fill Layers to your symbol.
In the Simple Fill settings set the data defined override on the stroke to @symbol_color.
Move the raster image fill to the bottom.
Observe that the stroke on the Simple Fill is no longer the symbol color.
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
sagaprovider
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: