Bug #1127

Updated by Sebastien Jacquot over 4 years ago

There are still some bugs related to focus gain in chart editors. These bugs are OS dependent and JVM version dependent.
All these focus related bugs need to be checked again when the 0.7.7 alpha setup with embedded JRE will be built.

Actually we also need to discuss about the editors focus policy. The Index, Concordance, etc. editors focus policy on double click on tree node result or on click on the tab is not clear/uniform too. (The charts components provider implements its own focus policy giving focus to the chart component when the editor becomes active but it may not be the classic/default RCP behavior.)

h3. .h3 Focus behaviors current state with embedded JRE

* *Linux Ubuntu (Bugs)*
** when editor is created, the chart component gets the focus as expected
*** zoom mouse wheel, keyboard shortcuts and rollover tool tips work as expected
** when clicking outside the editor, the zoom mouse wheel keeps to work but it mustn't
*** this bug is linked to AWT hasFocus() method which acts differently according to the OS/JRE version (maybe due of the SWT/AWT mix)
** when reopening an editor from a result node, the chart component does not get back the focus, only the mouse wheel works because of the above bug

* *Windows XP and Windows 7 (everything seems OK)*
** when editor is created, the chart component gets the focus as expected
*** zoom mouse wheel, keyboard shortcuts and rollover tool tips work as expected
** when clicking outside the editor, the mouse wheel, keyboard and tool tips don't work, as expected
** when reopening an editor from a result node, the chart component gets back the focus as expected

* *Mac OS X 10.9.6*
** TODO: Mac 0.7.7 setup does not work at this moment

Back