Bug report #13184

Labelling of hidden shapes when sub-categorization is used.

Added by Juan Arjona over 8 years ago. Updated about 8 years ago.

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.

QGIS-Problem.png (128 KB) Juan Arjona, 2015-08-05 09:26 AM


Related issues

Related to QGIS Application - Bug report #14455: Third level subcategories showing when unchecked. Closed 2016-03-10

History

#1 Updated by Juan Arjona over 8 years ago

  • Assignee set to Alessandro Pasotti

#2 Updated by Alessandro Pasotti over 8 years ago

  • Assignee deleted (Alessandro Pasotti)

#3 Updated by Giovanni Manghi over 8 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 over 8 years ago

Fairly certain this was fixed during 2.12, so testing with 2.12 would also be appreciated

#5 Updated by Giovanni Manghi about 8 years ago

  • Status changed from Feedback to Closed
  • Resolution set to fixed/implemented

closing for lack of feedback.

Also available in: Atom PDF