codeaudit / gwt-chronoscope

Automatically exported from code.google.com/p/gwt-chronoscope
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Unexpected behavior when tabbing the focus on a selected sub-region of the chart #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To witness the issue:

1) Open up the Chronoscope demo chart: http://timepedia.org/chronoscope/demo/
2) Highlight a small subregion somewhere in the middle of the chart
3) Press TAB
4) Press TAB again

Step 3 should force the leftmost on-screen point to have the focus.  Step 4 
should cause the next 
on-screen point to have the focus, and so on.  As the chart behaves today, if 
no point currently has 
the focus, the default focus that's chosen is the first point of the the 
dataset (even if that point is 
off-screen).

A similar problem exists when using Shift-TAB.

Original issue reported on code.google.com by chadtaka...@gmail.com on 22 Jul 2008 at 5:29

GoogleCodeExporter commented 9 years ago
Resolved in r246.  To verify problem and solution:

1) svn up -r 245
2) run the ChartDemo app in GWT
3) On the top chart, select a small subregion
4) Click the mouse somewhere on the screen that's not touching any dataset, to 
make sure no point has the 
focus.
5) Press TAB.  Then press TAB again.

You should see the screen scroll back to the beginning of the chart.  Now svn 
up -r 246 (this contains the 
fix).  Perform steps 1-5 again.  At step 5, the focus should go to the middle 
of the screen on the X axis.

Original comment by chadtaka...@gmail.com on 29 Jul 2008 at 7:58