Bug report #13022
ELSE expression symbol used when other rules are set invisible in the legend
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Symbology | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21098 |
Description
Using the rule-based symbols with several rules and an ELSE expression, If you, in the map canvas legend, set a rule "layer" to invisible, all it's features will then be represented with the ELSE Symbol.
Not sure if this is the expected behaviour. I would expect that those feature would simply became invisible.
Others, in this qgis-dev mailing list thread [0], seem to have the same opinion that this might not be the expected behaviour and that it should be fixed.
Additionally, Andreas Neumann suggested that another rule might/should be created allowing the user to have both behaviour [1], and Mathias Kuhn added some terminology [2]:
ELSE - invisible exception rule (features that match invisible rules stay invisible)
TRUE ELSE - disabled exception rule - (features that match invisible rules are rendered here)
[0] http://lists.osgeo.org/pipermail/qgis-developer/2015-June/038230.html
[1] http://lists.osgeo.org/pipermail/qgis-developer/2015-June/038235.html
[2] http://lists.osgeo.org/pipermail/qgis-developer/2015-June/038239.html
History
#1 Updated by Nyall Dawson about 9 years ago
- Status changed from Open to Feedback
This is fixed in master, isn't it?