You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overriding the default KeyEvent behavior (e.g. when a user presses the TAB character, replace the selection with 4 spaces instead of 1 tab character) with a different handler should only run the overriding handler:
Actual Behavior
The default behavior's handler is run, followed by the overriding behavior's handler. Using the example above, the selection is replaced with 1 tab character and then four spaces are inserted after the tab character.
AFAIK, the overriding behavior has worked in the past. So, I think this might be a regression that was introduced in the JDK at some point. Still, we should try overriding a number of different handlers in the default behavior of both KeyEvent and MouseEvent types to help narrow the issue down. It might just be an issue in WellBehavedFX.
Originally reported in #699
Expected Behavior
Overriding the default
KeyEvent
behavior (e.g. when a user presses the TAB character, replace the selection with 4 spaces instead of 1 tab character) with a different handler should only run the overriding handler:Actual Behavior
The default behavior's handler is run, followed by the overriding behavior's handler. Using the example above, the selection is replaced with 1 tab character and then four spaces are inserted after the tab character.
Reproducible Test
This outputs the following error message:
Environment info:
Also reported to not work on Windows 10.
The text was updated successfully, but these errors were encountered: