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

Bug 581283

Summary: SelectCellCommand#forcingEntireCellIntoViewport has no effect
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/+/197886
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=5f0acc553b648a7b81874c29b1c2cc0c4cd7e8e0
Whiteboard:

Description Dirk Fauth CLA 2023-01-03 17:55:45 EST
The SelectCellCommand has a parameter forcingEntireCellIntoViewport which has actually no effect. Whenever a SelectCellCommand is executed programmatically on a cell that is outside the viewport, the viewport is scrolled so the selected cell moves into the viewport.

While this is usually the desired behavior, there might be usecases where a programmatic selection should not trigger scrolling. While the code seems to be prepared for that use case, the implementation was never finished.
Comment 1 Eclipse Genie CLA 2023-01-03 18:08:26 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/197886
Comment 3 Dirk Fauth CLA 2023-03-31 03:49:57 EDT
Fixed with 2.1.0