Bug report #14147
Label not hiding when "unassigned" symbol classification unchecked
|Affected QGIS version:||2.12.2||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 #:||22149|
When "categorized" symbols are created for a point layer using any source field, and the final "uncategorized" symbol is un-ticked from the legend,
labels still show even though the symbols are hidden on the map. The other classified symbols work as expected.
#2 Updated by Robin Jones almost 8 years ago
- File testissue.qgs added
I have now determined that the conditions are more precise than I had realized. This behaviour occurs after creating a categorized classification and then removing one of the classes (val3) so that it will then be included in the "undefined" category. When the "undefined" class is hidden, the label still remains for id 3 but correctly disappears for id 4 which has a null value.
I have attached a small qgis project with a memory layer for demonstration.
I presume that this is still not intended behaviour.
#4 Updated by Robin Jones almost 8 years ago
- File Capture2.JPG added
I have now tried the nightly build (for ubuntu) to compare with the windows 2.12.3 release that I had previously tried.
I have found the same behaviour has still occurred, so I am at a loss as to why your system fails to reproduce the same issue.
I have attached a screenshot showing the issue. The label "3" should have disappeared.
#6 Updated by Robin Jones almost 8 years ago
I've now realised that an additional update with a shapefile and project must have failed to appear for some reason. I've just confirmed that the label "3" dows not disappear when "unassigned" is unchecked. Hopefully you will be a ble to reproduce this.