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

Bug 361052

Summary: Focused cell is not highlighted if navigating with CTRL + Arrow Up/Down
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: JFaceAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.4   
Target Milestone: 1.5 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Ivan Furnadjiev CLA 2011-10-15 09:35:29 EDT
Reproducible with Controls Demo -> TableViewer Tab:
1. Activate the cell editors.
2. Select a table cell and try to navigate with CTRL + Arrow Up/Down - focused (highlighted) cell is not changed.
The reason for this behavior is the overrided method getFocusCell in TableViewerFocusCellManager, which set the focused cell back to the selected item. Commenting TableViewerFocusCellManager#getFocusCell solves the problem in IE, Chrome and Safari. In Firefox even with this fix, focus cell navigation does not work - see AsyncKeyEventUtil#_isUntrustedKey (all key combinations with CTRL key pressed are treated as untrusted and key event is not sent to the server).
Comment 1 Ivan Furnadjiev CLA 2011-10-17 04:15:31 EDT
Created attachment 205300 [details]
Proposed patch
Comment 2 Ivan Furnadjiev CLA 2011-10-17 06:49:52 EDT
Applied patch to CVS HEAD and Tree_Table_Merge branch.