RCP: 0.7.6, focus bugs in chart editors
There are still some bugs related to focus gain in chart editors. These bugs are OS dependent and JVM version dependent.
Focus behaviors current state with 0.7.7 alpha and embedded JDKs: openjdk 1.6.0-unofficial-b31 (Linux and Window) and Apple JDK 1.6.0_65-b14-462-11M4609 (Mac Os X)
* Linux Ubuntu 64bit 14.04 VM (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 the focus back, only the mouse wheel works because of the above
bug
* Windows 7 64bit (everything is 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
the focus back and zoom mouse wheel, keyboard shortcuts and rollover
tool tips work as expected
* Windows XP 32bit
* Mac OS X 10.9.4 VM (bugs)
when editor is created, the chart component does not get the focus as
expected
* zoom mouse wheel works but it mustn’t
when clicking in the editor, it becomes active and get the focus, as
expected
* zoom mouse wheel, keyboard shortcuts and rollover tool tips work but
the keyboard zoom is done with CTRL key instead of CMD (it’s another
bug)
when clicking outside the editor, the zoom mouse wheel keeps to work but
it mustn’t
when reopening an editor from a result node, the chart component does
not get the focus back, only the mouse wheel works because of the above
bug
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.)
(from redmine: issue id 1127, created on 2014/11/18 by Sebastien Jacquot)
- Relations:
- relates #989 (closed)
- child #1006
- child #1128 (closed)
- child #1129 (closed)