Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D3F914156 for ; Tue, 21 Jun 2011 11:35:20 +0000 (UTC) Received: (qmail 64029 invoked by uid 500); 21 Jun 2011 11:35:20 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 63993 invoked by uid 500); 21 Jun 2011 11:35:20 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 63985 invoked by uid 99); 21 Jun 2011 11:35:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 11:35:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cbartlett.x@gmail.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-ew0-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 11:35:12 +0000 Received: by ewy1 with SMTP id 1so888746ewy.13 for ; Tue, 21 Jun 2011 04:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=umSGm40DhjmRrUk3qjjhcQlVFtD7DJE7CQh4KzVbY7c=; b=iTpYdvSCh7+nO9op1XQQS5G9FBbbUgcIEB341aeLwTJJWkwMaPEO8VOWMywZDWi16A 3wZDgTDuH/8dEnYmxfSS+LkC/Ly6sm/R7SX97JLYR5zWXrA9y7px3VnYeC9ZtvXEeKdS 6sVF+1U+94Z9Ipq7Q9ew2QGAcKto2Xv05wVv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ShSpZYel+vZ6u8Z25MXtud1aJxJKmdnyrN+GZjMrQU5jx9ksmrCMYKjVBTOxWcgZL6 y63Nyqsgr8Oi6tsT1AJtIZgzhQCVtYzg8JRLSFuJ/NwQAnVprUuhZzaiH9CfGM1A4xo9 /CRi7fwS7xmQJcQPBYnK7ce/sOi8iU1sWC5T8= MIME-Version: 1.0 Received: by 10.14.119.9 with SMTP id m9mr2478765eeh.143.1308656091691; Tue, 21 Jun 2011 04:34:51 -0700 (PDT) Received: by 10.14.119.12 with HTTP; Tue, 21 Jun 2011 04:34:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 Jun 2011 18:34:51 +0700 Message-ID: Subject: Re: Focus transfer when suggestion popup closes From: Chris Bartlett To: user@pivot.apache.org Content-Type: multipart/alternative; boundary=90e6ba1819b27a79e104a6373d79 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba1819b27a79e104a6373d79 Content-Type: text/plain; charset=ISO-8859-1 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, http://pivot.apache.org/demos/kitchen-sink.html 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 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. > --90e6ba1819b27a79e104a6373d79 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I just noticed that while this is how *closed* ListButtons behave, but= not *opened* ones. =A0Perhaps 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 =A0left 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 & Tr= eeViews also support their selections being changed via the keyboard, and t= hen 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)
<= br>

On 21 June 2011 13:30, Chris Bartle= tt <cbartlett.x@gmail.com> wrote:
If the SuggestionPopup window is open= =A0
-=20 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 tr= ansfers focus *from* the TextInput according to the =A0 TAB/SHIFT+TAB keycode. =A0
Note that this last one doesn't currently work as the=A0T= AB/SHIFT+TAB seems to be consumed within the keyPressed handler of the Terr= aListViewSkin (via a call to super.keyPressed(...)), but it could be suppor= ted with a new ComponentKeyListener on the ListView.

--90e6ba1819b27a79e104a6373d79--