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

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

I wouldn't agree that these containers are unlikely to ever contain no 
focusable components on a pane/tab.  Who knows what weird and wonderful apps 
Pivot might lead to?

Obviously it is valid for no component to have the focus, but I wouldn't expect 
the keypress handling of a container to appear to stop working merely because 
it is displaying read only data in Labels.  I might choose to display 
categorised read-only data in various tabs or accordion panes.

I understand that this is down to the focus handling and event propagation 
within Pivot, but I see this as a limitation.  If the framework was currently 
able to dispatch keypress events to the TabPane in the original scenario, I 
would be surprised if TabPane had been written in such a way as to ignore 
keypresses when displaying non-focusable children.

By all means change this ticket from a bug to a more appropriate JIRA type, 
such as improvement/wish.


> 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