Opened 13 years ago

Closed 13 years ago

#3459 closed bug (fixed)

Show feature count issue

Reported by: dr Owned by: jef
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Vectors Version: Trunk
Keywords: Cc: dr
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Click on layer name in TOC and check Show feature count. Uncheck this option - feature count still present.

Change History (8)

comment:1 by dr, 13 years ago

And feature count not updates automatically after executing Query.

comment:2 by mhugent, 13 years ago

Resolution: fixed
Status: newclosed

Should be fixed in r15114 (update after query seems to work here too)

comment:3 by dr, 13 years ago

Platform: DebianWindows
Resolution: fixed
Status: closedreopened

After query feature count updates if uncheck and check again this option manually. r15118

comment:4 by mhugent, 13 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?

comment:5 by dr, 13 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).

comment:6 by alexbruy, 13 years ago

Platform: WindowsAll

Confirmed on Linux with r15120. When I run query from Properties-General-Query Builder all works as expected. But when I run query from layer context menu as Query bug is present - feature count is not changed

comment:7 by mhugent, 13 years ago

Ah, I always did the query in the properties dialog. Thanks, I'm able to reproduce now.

comment:8 by mhugent, 13 years ago

Resolution: fixed
Status: reopenedclosed

Ok, r15121 should work with the query builder from legend context too.

Note: See TracTickets for help on using tickets.