pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.86k stars 838 forks source link

Function Keys are not handled correctly if Touchbar is configured to flip behavior in some apps #2500

Open DennisSchiefer opened 4 years ago

DennisSchiefer commented 4 years ago

Hardware macBook Pro 13'' (2020)

Software macOS Catalina 10.15.7 Karabiner-Elements 13.1.0

Keyboard Configuration

Problem In Karabiner-Elements, I can set F1, ... to be treated as function keys or as special keys (flipping the behavior with Fn). This is not honored for App X (where keys are flipped automatically -- like Fn was pressed implicitly).

For instance: General behavior: I see the special keys on the Touchbar. Pressing Fn, shows the function keys, and then pressing a function key yields the behavior expected from the function key. App X: Function keys are shown by default, pressing the function key, however, yields the special key behavior.

Requested Solution Simple: Karabiner-Elements should not look at the function keys and touchbar and just let the system control them. Complex: Honor system settings where some apps are set to always show function keys.

alordiel commented 1 week ago

Hardware macBook Pro 13'' (2020)

Software macOS Catalina 15.0.1 Karabiner-Elements 15.3.0

Had similar problem in PHPStorm and WebStorm. For both I had Show F1, F2, etc. keys on the Touch Bar turned on. Once I had Karabiner-Elements installed touching any of the F keys was doing what the original touch bar key that should be there would do. For instance F12 was acting like volume up, F11 was just doing volume down.

The fix was to turn off the 'Modify events' for the touch bar from the Karabiner-Elements -> Devices.