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

Bug 578727

Summary: Destination group is splitted when we move the most left (resp. right) column in a group to the group at its left (resp. right)
Product: [Technology] NatTable Reporter: Ghazi Tekaya <ghazi.tekaya>
Component: CoreAssignee: Project Inbox <nattable.core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: dirk.fauth, ghazi.tekaya
Version: 1.6.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
steps none

Description Ghazi Tekaya CLA 2022-02-14 05:16:02 EST
Created attachment 288041 [details]
steps

Steps to reproduce :
Choose two column groups (Group right & Group left)
Grab the first column of the group right to the middle of the Group left
-> The group left will be devided into two groups with the same name separated by the new column
Comment 1 Ghazi Tekaya CLA 2022-02-14 05:19:20 EST
I think the issue is in ColumnGroupReorderLayer.updateColumnGroupModel :
the calculation of "jump" boolean variable
Comment 2 Dirk Fauth CLA 2022-06-03 01:27:16 EDT
This is a known issue. With NatTable 1.6 we introduced the "performance column grouping" that uses a different programming model internally and a more convenient API. In that variant this issue does not appear.

As we discontinue the maintenance of the old column grouping in favour of the new one, I close this ticket as WONTFIX.

Please move to the new grouping. The New & Noteworthy of 1.6 contains a description and pointers to the corresponding examples that should help you shifting from the old model to the new one.

https://www.eclipse.org/nattable/nandn/nandn_160.php