RFR: 8340852: ScrollPane should not consume navigation keys when it doesn't have direct focus
Andy Goryachev
angorya at openjdk.org
Tue Oct 1 19:53:44 UTC 2024
On Tue, 1 Oct 2024 10:49:58 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:
> Here is a minimal working example
Very helpful, thank you.
I would say the use of arrow keys to traverse focus in this case _looks to me_ to be application-specific. In other words, this may or may not be the desired behavior.
In the context of a simple dialog which only has buttons - yes, it `is` the desired behavior. In the case of a more complex UI where text input components are present - probably not, but it may depend on the application requirements.
In your example, the navigation with TAB / shift+TAB is there, and it works correctly in all four panes. So it's not like the functionality is severely impeded.
What I am saying is that what we currently have is probably ok and JDK-8340852 may not be needed.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1582#issuecomment-2386917622
More information about the openjfx-dev
mailing list