Skip to content
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

style lost when you modify expression on geometry generator #33294

Closed
crocovert opened this issue Dec 9, 2019 · 1 comment
Closed

style lost when you modify expression on geometry generator #33294

crocovert opened this issue Dec 9, 2019 · 1 comment
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

Comments

@crocovert
Copy link

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

Version de QGIS 3.10.0-A Coruña Révision du code 6c816b4
Compilé avec Qt 5.11.2 Utilisant Qt 5.11.2
Compilé avec GDAL/OGR 2.4.1 Utilisé avec GDAL/OGR 2.4.1
Compilé avec GEOS 3.8.0-CAPI-1.13.1 Utilisé avec GEOS 3.8.0-CAPI-1.13.1
Compiled against SQLite 3.29.0 Running against SQLite 3.29.0
Version du client PostgreSQL 11.5 Version de SpatiaLite 4.3.0
Version de QWT 6.1.3 Version de QScintilla2 2.10.8
Compilé avec PROJ 5.2.0 Fonctionne avec PROJ Rel. 5.2.0, September 15th, 2018
OS Version Windows 10 (10.0)
Extensions Python actives french_locator_filter; mmqgis; networks; nominatim; pluginbuilder3; Qgis2threejs; QuickOSM; quick_map_services; db_manager; MetaSearch; processing

Thank you

@crocovert crocovert added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Dec 9, 2019
@gioman gioman added Symbology Related to vector layer symbology or renderers Expressions Related to the QGIS expression engine or specific expression functions labels Dec 9, 2019
@nyalldawson
Copy link
Collaborator

Duplicate of #38377

@nyalldawson nyalldawson marked this as a duplicate of #38377 Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants