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

Bug 581572

Summary: Reordering collapsed groups modify group
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/+/200084
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=e8a4a549ca4192d07ea599a47a27182b2289b865
Whiteboard:

Description Dirk Fauth CLA 2023-02-22 07:44:32 EST
If you try to reorder a collapsed group in a performance column/row grouping to the edge of the group, the group gets modified which leads to strange rendering issues. The reason is that the resulting reorder event implies that only a single columns was reordered, which triggers the action to modify the group (remove the first or last column from the group).

If a collapsed group is reordered to either the left or right edge of the same group, actually no reordering needs to be performed. This avoids the side effects in those special cases.
Comment 1 Eclipse Genie CLA 2023-02-22 07:45:17 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/200084
Comment 3 Dirk Fauth CLA 2023-03-31 03:44:47 EDT
Fixed with 2.1.0