Ticket #3727 (new bug)
Features not represented with rule-based renderer still get labelled
|Reported by:||mayeulk||Owned by:||nobody|
|Priority:||major: does not work as expected||Milestone:||Version 1.7.0|
|Keywords:||labels, rule-based renderer||Cc:|
|Must Fix for Release:||No||Awaiting user input:||no|
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.