JDK-8088185 : SubScene focus and focus traversal, is incomplete
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2013-03-01
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
One outstanding question is how to handle focus and focus traversal in relation to a SubScene.  Should a subscene focus be at a different level then, typical controls?

Background:
SubScene is a leaf node, which much like a Scene has a root node, background color, camera...
It can be embedded into a Scene, and even another SubScene.  Typical use case of a SubScene is overlay UI controls over a 3d subscene for example.  In affect allows a single scene to have multiple trees/graphs, each with a different perspective.

Possibly downside of only one focus group for all controls, regardless if part of the Scene.root graph or other subscene.root graphs, is the possibly of very long focus traversal.

Under current implementation, focus traversal is cycled within the SubScene, which is likely incomplete behavior.  Since there is no way to get focus without picking.
Comments
I'm not sure that I fully understand the problem here. Do you have an pointers to SubScene docs etc? It is possible to attach a TraversalEngine to each SubScene, but I'm not sure if that'd be enough.
06-03-2013