KeyCluCask icon indicating copy to clipboard operation
KeyCluCask copied to clipboard

[bug]: Highlights are wrong when using Hyperkey

Open leoravagnani opened this issue 1 year ago • 7 comments

Description

I use Hyperkey to turn my Caps Lock into a combination of Ctrl+Opt+Shift+Cmd.

When I press the hyperkey KeyClu highlights shortcuts as if I have only Cmd pressed. Pressing all modifiers separately works as expected.

https://github.com/Anze/KeyCluCask/assets/13058201/f39347de-692d-49ca-a762-51c34c5273d8

Expected behavior

Highlight shortcuts as if all modifiers are being pressed.

App version

0.26

macOS version

macOS Sonoma 14.4.1

Installation method

Manual (dmg/zip)

Checklist before submitting a bug

leoravagnani avatar Apr 27 '24 09:04 leoravagnani

Hey leoravagnani, While I'm investigating the issue, could you please share a screenshot of the settings for Hyperkey to assist in identifying the problem?

Anze avatar Apr 27 '24 12:04 Anze

Hey @Anze, there you go Screenshot 2024-04-27 at 12 06 44

leoravagnani avatar Apr 27 '24 15:04 leoravagnani

Thanks for providing the screenshot. Would check it.

Anze avatar Apr 27 '24 15:04 Anze

I'll try a different approach to monitor the keys and see if it make any improvements. Currently, other apps like KeyCastr also struggle to identify the correct keys, but KeyCodes manages to do so.

Anze avatar Apr 27 '24 16:04 Anze

I had no clue whatsoever how Hyperkey does what it does, nice insight there.

I just tried setting up the hyperkey through Karabiner-Elements and highlights work correctly! I'll stick to it as I was already about to explore some other things such as customizing right-side modifiers as they go mostly unused.

Could be worth looking into a fix for Hyperkey but it seems Karabiner is a better alternative altogether given the feature set.

leoravagnani avatar Apr 27 '24 22:04 leoravagnani

I'll investigate to find a workaround. Anyway, I believe it's preferable to use another app, as Hyperkey seems to have an issue with retaining keys when other modifiers are pressed. For instance, holding down the command key and then holding down the caps lock key without releasing the command key. Releasing command key and then the caps lock key does not release all modifiers. Need to tap the caps lock key again to force the release of modifiers. I believe this issue appears to be inherent to Hyperkey itself.

Anze avatar Apr 27 '24 23:04 Anze

@Anze just got a new Hyperkey update and it seems to fix just what you're reporting. Makes me wonder if the dev is watching this thread haha

0.34 Fixed an issue where certain scenarios had the potential to result in a stuck hyperkey

leoravagnani avatar Apr 29 '24 20:04 leoravagnani

Hey leoravagnani, I've just released a new version. Now should be working. There are still some uncertainties in the workflow when pressing Caps Lock and Command.

Anze avatar Oct 31 '24 23:10 Anze

Hi @Anze, I moved on from HyperKey to Karabiner because I needed more custom combinations and everything seems to be working fine! Thanks for taking your time to look into this though, I'm sure it will benefit many others!

leoravagnani avatar Nov 01 '24 22:11 leoravagnani

Just thought I would give some feedback, It is working Superkey(https://superkey.app/) which is by the same author. Basically a paid version of Hyperkey.

gldtn avatar Nov 02 '24 01:11 gldtn