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

Bug 315733

Summary: TableEditor jump to the beginning of the line when clicking cell
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P4 CC: hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nicolas Bros CLA 2010-06-04 04:21:09 EDT
On Windows 7 (this doesn't seem to happen on XP), clicking on a cell in the TableEditor makes the scrollbar jump to the left, which is annoying when the column being clicked disappears from the visible area.

This looks like this is caused by a "feature" of Windows 7, which automatically scrolls horizontally when items are selected. Since the cell is custom-painted (see TableViewerFocusCellManager), from the point of view of the OS, the entire line is selected, even though the user only sees one cell as selected.
Comment 1 Nicolas Bros CLA 2010-06-08 04:52:52 EDT
Additional information: this only happens when selecting cells using the mouse (not the keyboard), and selecting a cell on the same line as the currently selected cell.
Comment 2 Nicolas Bros CLA 2010-10-13 10:33:42 EDT
There doesn't seem to be a way to fix this with the current table control.
A new version of the table using a different control has been made, but it is currently awaiting a CQ before it can be committed.
Comment 3 Hugo Bruneliere CLA 2010-10-21 05:09:53 EDT
This bug is not going to be fixed right now.