Bug report #16119

Statistic panel: Do not show the whole list of statistics, regardless field type

Added by Harrissou Santanna over 3 years ago. Updated about 3 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:2.18.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24031

Description

Depending on the field type, statistics displayed in the table widget are not the same. Some statistics are incompatible with the field. Hence, the drop-down button used to check whether a statistic should be displayed or not should be bound to the compatible statistics and not show all the statistics.


Related issues

Related to QGIS Application - Bug report #16118: Statistic panel: "Count distinct" not available in the dr... Closed 2017-01-26
Related to QGIS Application - Bug report #16117: Statistic panel: (Un)checking some statistics for string ... Closed 2017-01-26

Associated revisions

Revision 7ff644ee
Added by Alexander Bruy about 3 years ago

update staistics list depending on the field type (fix #16119, #16118)

Revision e0d4e37c
Added by Alexander Bruy about 3 years ago

fix bugs relates to statistical dock (fix #16117, #16118, #16119)

backported from master

Revision 72c83358
Added by Alexander Bruy about 3 years ago

Merge pull request #4529 from alexbruy/stats-panel

fix bugs related to statistical dock (fix #16117, #16118, #16119)

History

#1 Updated by Giovanni Manghi over 3 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Alexander Bruy about 3 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Category set to GUI

#3 Updated by Alexander Bruy about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#4 Updated by Giovanni Manghi about 3 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF