On 18/08/2023 18:35, Michael Strauß wrote:
Scene graph nodes have three focus-related properties:
1. focused
2. focus-within
3. focus-visible
What might be a bit surprising is that multiple nodes can be focused
at the same time, but only one of those focused nodes can be the
scene's focus owne
JDK-8313956 is just a simple bug, it's alrady fixed in PR 1210 without
any new API.
I'm only referencing this PR because I think it shows that there can
be confusion that `focus-within` can match a node that doesn't contain
the focus owner. This is not a bug, it's by design. The question is
whethe
-dev
Subject: Re: Focused nodes and focus owners
The added properties and pseudo-classes would basically complete the
representation of focus-related states of JavaFX nodes. But I don't
think it's something an application can't implement in other ways.
What prompted this idea is th
The added properties and pseudo-classes would basically complete the
representation of focus-related states of JavaFX nodes. But I don't
think it's something an application can't implement in other ways.
What prompted this idea is the discussion in PR 1210 [0], where the
behavior of the reproducer
Michael:
Is there a specific problem that absolutely cannot be solved without adding
extra properties to Node (or Control)?
Thanks!
-andy
From: openjfx-dev on behalf of Michael Strauß
Date: Friday, August 18, 2023 at 09:35
To: openjfx-dev
Subject: Focused nodes and focus owners
Scene graph