Bug report #3727

Features not represented with rule-based renderer still get labelled

Added by Mayeul Kauffmann over 8 years ago. Updated about 7 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Symbology
Affected QGIS version:1.7.4 Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:13786

Description

With the rule-based renderer, it is possible to have sets of rules that do not represent some features: if some feature are not matched by any rule (due to a filter or a scale criterion), they are not represented (which is normal), but their labels are still displayed, which is a bug. This affects the old labelling engine and Label-NG, in the map canvas and the map composer.

The behavior should be the same as with the categorized renderer: if you delete one of the categories, the corresponding features are no longer represented AND the corresponding labels disappear.

History

#2 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#3 Updated by Mayeul Kauffmann over 7 years ago

  • Affected QGIS version set to 1.7.4
  • Crashes QGIS or corrupts data set to No
  • Pull Request or Patch supplied set to No
  • Assignee deleted (nobody -)

Still buggy in 1.7.4 but fixed in current 1.9 master (which commit?)

#4 Updated by Paolo Cavallini over 7 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0

#5 Updated by Alister Hood about 7 years ago

The category for this should possibly be "labelling".
But is there even a reason this ticket is still open? It is fixed as far as I can see.

#6 Updated by Giovanni Manghi about 7 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed

Alister Hood wrote:

The category for this should possibly be "labelling".
But is there even a reason this ticket is still open? It is fixed as far as I can see.

If is fixed, then we close it :)

Also available in: Atom PDF