Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 582059

Summary: [FilterRow] flickering clear filter icon after clear and reload
Product: [Technology] NatTable Reporter: Dirk Fauth <dirk.fauth>
Component: GlazedLists ExtensionAssignee: Dirk Fauth <dirk.fauth>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1.0   
Target Milestone: 2.2.0   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/202486
Whiteboard:

Description Dirk Fauth CLA 2023-06-13 04:41:31 EDT
With an Excel-like filter row, the clear operation for a single column sets all possible values as selected. This way it is determined if all is selected and therefore nothing is filtered. A clear all operation will simply set the value "SELECT_ALL" for every column, to avoid the loading of possible values for every column. This is a difference in the further handling whether you call clear for a single column or clear for all columns.

If a user cleared a filter for a single column and then loads/reloads data, the clear filter icon appears and vanishes as the check whether a filter is applied and has changed does not match correctly.

For consistency the clear operation for a single column should also set the value SELECT_ALL instead of the all possible value collection.
Comment 1 Dirk Fauth CLA 2023-06-30 09:13:44 EDT
Released with 2.2.0