RFR: 8209788: Left/Right/Ctrl+A keys not working in editor of ComboBox if popup showing
Abhinay Agarwal
github.com+3197675+abhinayagarwal at openjdk.java.net
Thu Apr 23 06:53:29 UTC 2020
On Wed, 22 Apr 2020 15:52:11 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:
> Compared to current state, there's a subtle side-effect (the event bubbles up if the mapping if removed). We can
> achieve the same behavior (with the same side-effect) by making the mapping consume depending on whether it is handled
> (to select all) or not.
Changing the behavior inside `selectAll` is also a good option (and much cleaner as well)
> So whatever approach we choose (mappings being removed/added or their handlers not/consuming doesn't matter), we would
> have to do it for several keys. Plus we have the side-effect mentioned above. The mass of change for all listviews has
> a certain risk of breaking existing code. Think f.i. global accelerators that might (or not) get triggered depending on
> selection mode.
It's sad that we can't easily override (InputMapping created in) `ListViewBehavior` :(
-------------
PR: https://git.openjdk.java.net/jfx/pull/172
More information about the openjfx-dev
mailing list