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

Bug 282490

Summary: [TableViewer] Navigation with CellEditors is not consistent
Product: [RT] RAP Reporter: Björn Fischer <b.fischer>
Component: JFaceAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: 1.3 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Björn Fischer CLA 2009-07-06 03:57:51 EDT
Navigating a table with celleditors does not work consistently. I tested with Firefox 3 and IE 7. There were differences between the two browsers, but both are not consistent to RCP cell navigation.

Steps to reproduce (using Firefox 3.0.11):

1. Open the controls demo, TableViewer tab
2. Click "Create Cell Editor"
3. Click on the first name of an editable person (e.g. "Sofia")
	-> The CellEditor becomes active only for some milliseconds and switches back to navigation mode instantly. This (the backswitching) should not happen.
4. Click the first name of the person again (the CellEditor now remains active)
5. Push <TAB> (the next CellEditor (column "Last Name") is active)
6. Push <TAB> again
	-> The CellEditor for "Last Name" remains active, but the focus should be moved to the column "Age"
7. Push <TAB> again (now the focus moves on to column "Age")

The "double-tab-problem" also exists when moving from column "Age" to "Editable", and in my own editable table on each field of the first edited row. In my own editable table I have also recognized that the active status sometimes (seems randomly) gets lost when navigating from one cell to another. This might also be connected to the switching from the last cell of one line to the first cell of the next line using tab (which cannot be reproduced with the controls demo since moving to the last cell always sets the "editable" flag to no).

In Firefox the navigation becomes stable after a while of clicking/tabbing, but the first phase is rather annoying to the user.


Steps to reproduce (using Internet Explorer 7.0.5730.13):

1. Open the controls demo, TableViewer tab
2. Click "Create Cell Editor"
3. Click on the first name of an editable person (e.g. "Sofia")
	-> The CellEditor becomes active, but there is no cursor visible.
4. Push <TAB> (the next CellEditor (column "Last Name") is active)
5. Push <TAB> again
	-> The next cell "Age" is selected, but the editor is not active, which it should be.
6. Click the first name again (the cursor on first name is now visible)
7. Push <TAB> 
	-> The next cell "Last Name" is selected, but the editor is not active and the tableviewer looses its focus, this should not happen.
	
Steps 6. and 7. can now be repeated, every time the focus and the active status gets lost.


If you need any further information please let me know.

Regards, 
Björn
Comment 1 Ivan Furnadjiev CLA 2009-11-02 05:57:04 EST
Fixed by changes for bug 293683. Please reopen if the bug persist.