style lost when you modify expression on geometry generator #33294
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Expressions
Related to the QGIS expression engine or specific expression functions
Symbology
Related to vector layer symbology or renderers
Hello
Describe the bug
I used a categorized style based on a geometry generator (polygons in my example).
When I changed modify the expression of the geometry generator (for example a value) the style is lost ans all polygons are black
How to Reproduce
Load a polygon layer
In style choose categorized (but the bug exists for graduated styles too) for example the following expression ($id %2). choose diffretent styles for odd and even rows
In the geometry editor choose an expression (ex: buffer(geometry,5000) )
Then, if your modify the expression of the geometry editor (ex: buffer(geometry,600)) the style will be lost and you will have only black circles
QGIS and OS versions
Thank you
The text was updated successfully, but these errors were encountered: