Bug report #14273
Categorized style : deselecting the NULL category makes all features invisible
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||22267|
Let's take a layer with an integer field.
In Properties --> Style I use an expression like myfield % 3 and get categories 0, 1, 2 and NULL.
Apply. All is ok.
Now uncheck the NULL category in the list. ALL the features become invisible in the map canvas although the other categories are still checked.
I unconsistently have the same behaviour when only using myfield to categorize the layer but I then need to test check/uncheck the different categories many times before ending sometimes with this weird behaviour. But not always.