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

Bug 581411

Summary: ResetScalingAction resets structure
Product: [Technology] NatTable Reporter: Dirk Fauth <dirk.fauth>
Component: CoreAssignee: Dirk Fauth <dirk.fauth>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.5   
Target Milestone: 2.1.0   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199535
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=823b60ae3a1838f7631d627f6f485089e6ede46e
Whiteboard:

Description Dirk Fauth CLA 2023-01-24 05:30:03 EST
If you execute the ResetScalingAction via CTRL + 0, the reordering of columns is reset. This is because at the end NatTable#refresh() is called. This triggers a structural refresh which resets states in several layers.

Instead NatTable#refresh(false) should be called to only trigger a repainting.
Comment 1 Eclipse Genie CLA 2023-01-24 05:32:59 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199535
Comment 3 Dirk Fauth CLA 2023-03-31 03:45:43 EDT
Fixed with 2.1.0