Bug report #13184
Labelling of hidden shapes when sub-categorization is used.
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Labelling | ||
Affected QGIS version: | 2.10.1 | Regression?: | No |
Operating System: | Windows 64 | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21246 |
Description
When shapes are defined through sub-categories, the labels are always shown.
How to replicate:
Add the project project.qgs found in apps/qgis/python/plugins/processing/tests/data. Select the properties of the polygons layer.
Go to style and select categorized, use the column PLY_NUM_A and create categories based on it. Switch to rule-based, select all categories, right click and select refine current rule and add categories, now on the POLY_ST_A column.
Go to Labels and label the polygons with the ID column.
Now, check the box for polygons 2.2, and uncheck all the other categories. The label "1" still shows even though all the polygons are hidden.
Is this behavior intended?
This happens in versions 2.8.3 and 2.10.1 - have not tested in others.
Related issues
History
#1 Updated by Juan Arjona about 9 years ago
- Assignee set to Alessandro Pasotti
#2 Updated by Alessandro Pasotti about 9 years ago
- Assignee deleted (
Alessandro Pasotti)
#3 Updated by Giovanni Manghi about 9 years ago
- Target version deleted (
Version 2.10) - Status changed from Open to Feedback
This does not seems the case anymore at least on QGIS master, please test and report back.
#4 Updated by Nyall Dawson about 9 years ago
Fairly certain this was fixed during 2.12, so testing with 2.12 would also be appreciated
#5 Updated by Giovanni Manghi almost 9 years ago
- Status changed from Feedback to Closed
- Resolution set to fixed/implemented
closing for lack of feedback.