pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bartlett <cbartlet...@gmail.com>
Subject Re: Focus transfer when suggestion popup closes
Date Tue, 21 Jun 2011 11:34:51 GMT
I just noticed that while this is how *closed* ListButtons behave, but not
*opened* ones.  Perhaps they should?

I imagine that MenuButtons should behave the same way as ListButtons, but it
looks like the popup menu does not received focus when it is opened. This
can be seen in the KitchenSink demo by  left clicking on one of the
MenuButtons (in the Menus RollUp) and then trying to use the arrow keys to
navigate within the menu,

Spinners, Sliders, ListViews, TableViews & TreeViews also support their
selections being changed via the keyboard, and then TAB/SHIFT+TAB
transferring focus.

ButtonGroups (radio buttons) use TAB/SHIFT+TAB to navigate between buttons.
(Obviously the Components above do not open child windows)

On 21 June 2011 13:30, Chris Bartlett <cbartlett.x@gmail.com> wrote:

> If the SuggestionPopup window is open
> - When the ListView has focus (and therefore a suggestion/list item is
> selected), TAB/SHIFT+TAB selects that suggestion, closes the window and
> attempts to transfers focus *from* the TextInput according to the
> TAB/SHIFT+TAB keycode.
> Note that this last one doesn't currently work as the TAB/SHIFT+TAB seems
> to be consumed within the keyPressed handler of the TerraListViewSkin (via a
> call to super.keyPressed(...)), but it could be supported with a new
> ComponentKeyListener on the ListView.

View raw message