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

Bug 289437

Summary: [Table] the arrow key couldn't move the table scrollbar
Product: [RT] RAP Reporter: Wen Ai <wen.ai>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Wen Ai CLA 2009-09-15 05:38:32 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)
Build Identifier: 

The arrow key could move the selected cell in the table, but not the table scrollbar.

Reproducible: Always

Steps to Reproduce:
1. open the tab "TableViewer" in the rap demo
2. make this table smaller untill the table shows its horizontal scrollbar. The last column could not been seen unless you move the horizontal scrollbar to it.
3. select any cell in the first column and press the arrow key "right", so the selected cell moves from the first column to the last. The arrow key "right" could not move the horizontal scrollbar with it, so the selected cell in the last column disappears now.
Comment 1 Ivan Furnadjiev CLA 2009-09-24 10:57:02 EDT
There are two reasons for this bug:
1. ViewerCell#scrollIntoView() and TableViewerRow#scrollCellIntoView( int ) are introduced in JFace 3.5, but RAP JFace codebase is still 3.4
2. Table#showColumn is missing - see Bug 279798
Comment 2 Ivan Furnadjiev CLA 2009-09-30 04:18:49 EDT
As RAP is currently using JFace 3.4 and ViewerCell#scrollIntoView() and TableViewerRow#scrollCellIntoView( int ) are missing from JFace 3.4 I will close it as INVALID. If you manage to achieve this behavior with JFace 3.4 please reopen the bug.