Accelerators - odd behavior
swpalmer at gmail.com
Fri Sep 26 23:00:26 UTC 2014
I should note that KeyCodeCombintation(KeyCode.EQUALS,
is undesirable as it requires knowledge of the keyboard layout that
shouldn't be required.
On Fri, Sep 26, 2014 at 6:58 PM, Scott Palmer <swpalmer at gmail.com> wrote:
> While looking into this I noticed that KeyCharacterCombination("+",
> KeyCombination.CONTROL_DOWN) doesn't work for either the PLUS (shifted
> EQUALS), or ADD (numeric keypad "+").
> Only KeyCodeCombintation(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, KeyCombination.SHIFT_DOWN)
> was working.
> On Fri, Sep 26, 2014 at 3:11 PM, Tomas Mikula <tomas.mikula at gmail.com>
>> > That doesn't explain why this isn't happening for PLUS.
>> KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN)
>> is never matched. It might even be impossible to get a KEY_PRESSED
>> event with key code PLUS with English keyboard layout. When I switch
>> keyboard layout to Slovak, which has the '+' sign accessible without
>> Shift, I do get the runnable fired twice.
More information about the openjfx-dev