Focused nodes and focus owners
Andy Goryachev
andy.goryachev at oracle.com
Fri Aug 18 17:30:13 UTC 2023
Michael:
Thank you for clarifications! So, are these new properties really required to fix https://bugs.openjdk.org/browse/JDK-8313956, or it can be fixed by improving event handling?
-andy
From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of Michael Strauß <michaelstrau2 at gmail.com>
Date: Friday, August 18, 2023 at 10:19
To:
Cc: openjfx-dev <openjfx-dev at openjdk.org>
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 the discussion in PR 1210 [0], where the
behavior of the reproducer program could be preceived as unintuitive:
The table retains the `focus-within` flag, even though it is not the
focus owner of the application. The addition of `focus-owner-within`
would be a solution for this specific problem.
[0] https://github.com/openjdk/jfx/pull/1210
On Fri, Aug 18, 2023 at 6:55 PM Andy Goryachev
<andy.goryachev at oracle.com> wrote:
>
> Michael:
>
>
>
> Is there a specific problem that absolutely cannot be solved without adding extra properties to Node (or Control)?
>
>
>
> Thanks!
>
> -andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230818/86d54296/attachment-0001.htm>
More information about the openjfx-dev
mailing list