RFR: 8340852: ScrollPane should not consume navigation keys when it doesn't have direct focus [v2]
Andy Goryachev
angorya at openjdk.org
Fri Oct 4 21:42:55 UTC 2024
On Fri, 4 Oct 2024 21:19:55 GMT, Martin Fox <mfox at openjdk.org> wrote:
> Again, it’s really, really rare for a ScrollPane to have focus.
incorrect. if you have a non-interactive scroll pane content and click on it, the scroll pane gets focus and handles the keys correctly. and even if there is interactive content, clicking on any pane inside causes the scroll pane to receive focus.
you can try with the monkey tester, as it allows for changing various properties at run time (focusTraversable, mouseTransparent, etc):

-------------
PR Comment: https://git.openjdk.org/jfx/pull/1582#issuecomment-2394706405
More information about the openjfx-dev
mailing list