Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315733 - TableEditor jump to the beginning of the line when clicking cell
Summary: TableEditor jump to the beginning of the line when clicking cell
Status: CLOSED WONTFIX
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P4 minor (vote)
Target Milestone: 0.9.0 M3   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 04:21 EDT by Nicolas Bros CLA
Modified: 2011-04-28 10:46 EDT (History)
2 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.