Community
Participate
Working Groups
Created attachment 261549 [details] Example application When selecting a non-fixed table cell in narrow tables that use a FocusCellManager, scrolling behaviour is triggered even though it is not necessary. To reproduce click on any non-fixed column in the attached example. The issue seems to be caused by the SWTFocusCellManager where scrollCellIntoView(int columnIndex) doesn't check if scrolling is necessary.
The focussed cell positioning is also off (same way to reproduce as before). This is caused by Table.showColumn(TableColumn column) at line 1641. If the focussed cell sticks out of the visible table area on the right side, the table scrolls so the cell's right border aligns with the displayed area's right border. If the cell is wider than the displayed area the left side of the cell is then scrolled out of view.