gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.52k stars 374 forks source link

When clicking on an unopened CellTree node expander, the CellTree does not receive a focus event. #6513

Closed dankurka closed 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 6514

Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.3

Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Safari 4

Detailed description (please be as specific as possible):

When using the mouse to open a top-level node in a CellTree, the CellTree#onBrowserEvent
does not receive a focus event.  However, when closing a top-level node the same way,
the CellTree#onBrowserEvent does receive a focus event.  I would expect a focus event
to be received in either case.

Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):

Workaround if you have one:

Links to relevant GWT Developer Forum posts:

Reported by tony.edgin on 2011-06-22 20:34:27

dankurka commented 9 years ago
I have the same problem. It shows also when you are using the keyboard to navigate.
When you come to an unopened node the focus is lost. This is very annoying due to usability.
I use CellTree in GWT 2.4. Is there any known workaround for this?

Reported by hhumml on 2012-03-03 13:04:57

dankurka commented 9 years ago
To be more precise: The problem with loosing focus on keyboard navigation occurs when
using a SingleSelectionModel and the KeyboardSelectionPolicy.BOUND_TO_SELECTION. 

Reported by hhumml on 2012-03-04 12:39:01

dankurka commented 9 years ago

Reported by dankurka@google.com on 2013-06-02 20:49:53