Bug report #6704
Legend shows same symbol for all rules when "show feature count" is enabled
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||15869|
Style a vector layer with the rule based renderer.
Right-click on the layer and enable "show feature count". All the rules will be shown in the legend with the same symbol.
#3 Updated by Alister Hood almost 9 years ago
Well, I just updated to the latest from OSGeo4w (2ddc753) and it still occurs.
It started quite some time ago (I'm not sure how long exactly), but it doesn't occur with 1.8 on the same machine and with the same user profile.
Note: it affects both old and new symbology.
#4 Updated by Alister Hood almost 9 years ago
- Priority changed from Severe/Regression to Normal
but it doesn't occur with 1.8 on the same machine and with the same user profile.
Oh, it actually seems to work correctly when all the rules have (unique) labels... and if they don't, it doesn't work in 1.8 either.
I thought when I tested before it didn't work in master with labels, and did work in 1.8 with or without labels - but it seems unlikely that anything I've done in the meantime (like starting with --noplugins) would have changed the behaviour...
#5 Updated by Médéric RIBREUX almost 6 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed
Hello, bug triage...
I can't reproduce it in QGIS 2.12 and master. Whether I use different labels or same labels for rules, showing feature count doesn't change anything: symbology doesn't change.
I am closing this bug...