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

Bug 581328

Summary: Hover not working with performance grouping
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/+/199346
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=c6cbcc598e0b349573fb3d26a1a6015f6bbde6dc
Whiteboard:

Description Dirk Fauth CLA 2023-01-11 10:51:46 EST
When adding the HoverLayer in a header layer stack that also contains the ColumnGroupHeaderLayer or RowGroupHeaderLayer, the hover does not work for the header cells.

The group header cells actually do not support styling for DisplayMode#HOVER or DisplayMode#SELECT. But it should be supported for the header cells that are grouped, meaning the column header cells or row header cells.

There are multiple issues related to this:
- the underlyingToLocal(Column|Row)Position is missing, so events published from the header layers through the group header layer contain untransformed positions in the event.
- getDisplayModeByPosition() does not transform the position correctly when asking the underlying layer
- getConfigLabelsByPosition() does not transform the position correctly when asking the underlying layer
Comment 1 Eclipse Genie CLA 2023-01-11 10:52:48 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199346
Comment 3 Dirk Fauth CLA 2023-03-31 03:48:56 EDT
Fixed with 2.1.0