Karabiner-elements: Caps lock issues.

Created on 1 Jan 2017  路  16Comments  路  Source: pqrs-org/Karabiner-Elements

I have two issues with a Caps lock.

  1. The Caps lock button have a delay, when i hit it very fast it does not activates.

  2. The LED light of the Caps lock turns off, if example i activate it in one application, let's say it's Safari, then i click to another application or even to a desktop then the LED turns off but the Caps lock still remain activated, another example if i have activated the Caps lock during renaming a folder or a file and after i click back to desktop or elsewhere then the same happening, this even happening during login to macOS.

Those issues are available after the 0.90.66 version, every time i have to downgrade to 0.90.66.

Thanks.

All 16 comments

The delay for the Caps Lock is by design. You may be able to find a fix for it here. As for the light turning off, that's probably a bug.

Thanks for the information. As i see now, that's feature with delay of the Caps Lock is for Mac notebooks only, i have a Mac mini, so that's why i never noticed this before. Then would be great if Karabiner will can recognize the HW and enable this delay only for notebooks or a configuration.

The Caps lock button have a delay, when i hit it very fast it does not activates.

I added Caps Lock Delay configuration in Virtual Keyboard tab at v0.90.76.
Please set the value to zero.

The LED light of the Caps lock turns off,

It is an issue of macOS.
(macOS does not send kCGEventFlagsChanged event even if the caps lock state was changed in such situation.)
Please file an issue to Apple BTS.

Thank you!

But the LED worked fine in 0.90.66 and in every version below it.

That how it works in 0.90.66
screen shot 2017-01-12 at 5 22 12 pm

And below is how the Caps Lock works in 0.90.76, if i just pressing it inside the EventViewer.
screen shot 2017-01-12 at 5 25 51 pm

And this is also 0.90.76 and if i pressing it in anywhere else, desktop(Finder) or any application, i noticed its different than in EvenViewer window.
screen shot 2017-01-12 at 5 35 51 pm

Downgraded again back to 0.90.66

Is your caps lock LED always turned off?

If so, please check follows:

  1. Karabiner-Elements does not manipulate ignored device. Is your keyboard which has LED changed in Karabiner-Elements?
  2. Karabiner-Elements uses CGEventTap to detect the caps lock state. Is event_tap_manager initialized message in Log?
Example of the log message

[2017-01-13 01:10:51.876] [info] [grabber] event_tap_manager initialized

No, the LED of caps lock turns on, here i made a video of what exactly happens.
https://youtu.be/utPnTOhmb2U

Like i said in the 1st message, when i activate the caps lock and then click to another application and not only applications, the light turns off but the caps lock still remain activated.

In v0.90.66 i do not have this issue.

Thank you for information!
I've reproduced this issue and add a workaround at v0.90.77.

Due to macOS bug and limitation, we have needed to use LED state monitor timer to avoid this issue.
So, even in v0.90.77, the caps lock LED will turn off after application switch but Karabiner corrects the LED state immediately.

Note:
v0.90.66 does not use virtual keyboard and use another methods to control caps lock state.
The v0.90.66 way is avoid this issue but causes another issue that user cannot use the caps lock key to another function such as input source switching.
Thus, we have changed to use virtual keyboard and drop v0.90.66 way.

Thank you very much for explanation and workaround of this issue!

Hi @tekezo,

I love the caps lock delay feature on Mac. I loved it since the very first time I had a Mac.

Now I started using Karabiner-Elements (using Karabiner on my previous MBP) and noticed that Caps Lock Delay setting is by default set to 0.

Can you tell me which is the delay value macOS uses by default?

Also, can you add a feature to disable that on the internal keyboard, or at least when no external keyboard is connected?

@teejay-87 The system default is 75 milliseconds. (I prefer about 200 ms.)

Also, can you add a feature to disable that on the internal keyboard, or at least when no external keyboard is connected?

Unfortunately, the value is shared by all keyboards.
The dynamic configuration depending on connected devices is enable (e.g., using Hammerspoon), but I don't recommend it to avoid a problem around key repeat.

Thank you very much for your reply. I set it to the system default value.

I am using Karabiner Elements 12.1.5 and I have enabled the change caps_lock to command+control+alt+shift (using shift caps_lock as caps_lock), This used to work well, and when using shiif+caps_lock the LED would light up when enabled and light down when disabled. Now everything works but the LED is always off. I am not sure what line of code is needed in the karabiner.json file to restore this function, or if this is an Elements issue. I have the manipulate LED checked in the Devices tab for the Apple Magic Keyboard with Numeric Keypad.

Hello, I also have the problem with LED : When I switch from an app to another led is switched off and then it on again. It happens on every mouse click. And it takes about 1.5 seconds to come back.
Is there a workaround to avoid that ? Or at least to reduce the blink time to a minimal value ?

Thanks !

Hello, I also have the problem with LED : When I switch from an app to another led is switched off and then it on again. It happens on every mouse click. And it takes about 1.5 seconds to come back.
Is there a workaround to avoid that ? Or at least to reduce the blink time to a minimal value ?

Thanks !

In my case this issue fixed with the release of the 12.8.0 version.

In my case this issue fixed with the release of the 12.8.0 version.

Unfortunately is still happens for me with 12.8.0 version. Have you changed something in your configuration too ?

In my case this issue fixed with the release of the 12.8.0 version.

Unfortunately is still happens for me with 12.8.0 version. Have you changed something in your configuration too ?

No, I didn't change anything.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krasnovpro picture krasnovpro  路  3Comments

baurmatt picture baurmatt  路  3Comments

PSalant726 picture PSalant726  路  3Comments

aniude picture aniude  路  3Comments

chaucy picture chaucy  路  3Comments