[ 
https://issues.apache.org/jira/browse/PIVOT-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902507#action_12902507
 ] 

Chris Bartlett commented on PIVOT-610:
--------------------------------------

I set it to a point version as it seemed to be a minor issue, but that was just 
a guess!  I thought it better to assign something than to leave it blank.

I haven't looked into the problem in any detail, so can't estimate the effort 
for a fix or how it might impact.

It might require changes to the focus code, perhaps something as simple as 
recording the Container of the most recently focused Component when focus 
changes, so that it can then be used to send keypress events to that Container 
if when there is no longer a focused Component.  However, it might also require 
changes to event propagation code.

Another approach might be to make Accordion & TabPane focusable, but that would 
most likely introduce other issues.


> Accordion & TabPane keyboard navigation using COMMAND+n only works if the 
> current Pane/Tab contains a focusable Component
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-610
>                 URL: https://issues.apache.org/jira/browse/PIVOT-610
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk, wtk-terra
>    Affects Versions: 1.5.1
>         Environment: n/a
>            Reporter: Chris Bartlett
>            Priority: Minor
>             Fix For: 2.1
>
>
> Users can navigate around the panes/tabs of Accordion and TabPane by pressing 
> the system specific command modifer key plus a number from 1 to 9.
> On MS Windows this would mean CTRL+1 to CTRL+9 selecting the 1st to 9th 
> pane/tab respectively.
> These keypresses are only processed if a child component of the container has 
> focus.
> A TabPane might have 2 Tabs
> Tab 1 - contains an enabled TextInput
> Tab 2 - contains an enabled Label
> If the TextInput on Tab 1 has focus, it is possible to change to Tab 2 by 
> pressing CTRL+2, but once there, it is not possible to get back to the Tab 1 
> by pressing CTRL+1.
> This is because Labels are not focusable, and by default Pivot Containers are 
> not focusable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to