Community
Participate
Working Groups
Created attachment 99490 [details] snippet that shows the problem When you tab into a table for the first time, the focus cell is set to the first column regardless of its visibility. This creates a strange effect when you down arrow, as you cannot see the focus cell. See the snippet for an example of the problem. To reproduce: 1) Run snippet, tab into table, hit down arrow. Focus cell is visible in the 2nd row of the 1st column. 2) Run snippet, click button, tab into table, hit down arrow. Focus cell is not invisible in the 2nd row of the 1st column.
Created attachment 99493 [details] Revised TableViewerFocusCellManager Revised TableViewerFocusCellManager. #getInitialFocusCell() now sets focus to the first visible column, or null if there aren't any. My proposed fix.
As an aside, the initial focus drawing is a bit strange. You would expect the first cell to be highlighted, but since there is no selected row I guess it makes sense. It is a bit strange though that down arrow gives focus to the 2nd row cell...?
nudge...
nudge... 3.5?
Could you please attach the change as a patch against current CVS-HEAD?
Created attachment 120498 [details] Changes as a patch
I still haven't figured out how to get a compilable version of jFace from CVS, but I've attached the patch anyway. Its simple enough that I'm confident of it compiling and working despite being untested on the full HEAD code base.
(In reply to comment #7) > I still haven't figured out how to get a compilable version of jFace from CVS Does this help? http://wiki.eclipse.org/Platform_UI/How_to_Contribute
Created attachment 120765 [details] Changes as a patch updated patch (same code, but I figured I should do it properly). Thanks to Boris for pointing me at the right instructions.
Thanks released to CVS-HEAD >= 20081217 - Boris what do I need to do now - set a flag for contributed?
Comment on attachment 120765 [details] Changes as a patch This is what you need to do - go to the contributed patch ("Details") and set the iplog flag to +.