Bug report #3459
Show feature count issue
|Affected QGIS version:||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||13519|
Click on layer name in TOC and check Show feature count. Uncheck this option - feature count still present.
#4 Updated by Marco Hugentobler over 10 years ago
Hm, it is not clear to me what you mean.
I'm loading a layer, check 'show feature count', then go to the query builder and select a subset with a query (e.g. YEAROFCHANGE='1992'). The feature count updates in the legend. I'm unchecking 'show feature' and check it again and it behaves as it should.
What steps should I follow in detail to reproduce the bug?
#5 Updated by dr - over 10 years ago
1. Open vector layer and check 'show feature count' (e.g. feature count = 10);
2. Run any query which returns 1 row. In canvas displayed 1 polygon, but in legend feature count still equal 10;
3. Uncheck this option and check it again - feature count is changed to correct value (=1).