RFR: 8207759: VK_ENTER not consumed by TextField when default Button exists [v3]
Martin Fox
mfox at openjdk.org
Sat Nov 9 00:52:40 UTC 2024
On Sat, 9 Nov 2024 00:22:42 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:
> I checked the events that are copied, and it is basically making the copy to adjust the source (target remains constant). That's really odd; I'd expect the source to remain the same as well (ie. the Scene or Window, not the "previous" filter/handler Node level), especially as it is documented as:
I haven't walked through this in AWT (there are only so many hours in the day) but I believe the AWT `source` corresponds to the JavaFX `target` i.e. the object the event was fired against. JavaFX repurposes `source` as the object the handler or filter was registered on. JavaFX shouldn't be pointing at the AWT documentation since it doesn't match the JavaFX implementation.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/15#discussion_r1835181134
More information about the openjfx-dev
mailing list