Closed melgu closed 2 years ago
Can you verify that the keyboard event is recognized by Macos? Some keyboards have issues with certain 4 key combinations.
Karabiner Elements has a good event viewer app included.
brew install karabiner-elements
It seems to be recognized correctly:
{
"type": "down",
"name": {"key_code":"delete_or_backspace"},
"usagePage": "7 (0x0007)",
"usage": "42 (0x002a)",
"misc": "flags left_command,left_control,left_option"
}
@melgu Hey! Can you check from the logs for any warnings/errors? It might be that some other app might have this combination reserved or you cannot have a reserved hot key for this set of keys.
When I press the key combination in question, no new events appear in the logs.
Here is the full log, starting from hitting Reload in the menu bar:
>>> log stream --process Phoenix
Filtering the log data using "process BEGINSWITH[cd] "Phoenix""
Timestamp Thread Type Activity PID TTL
2022-09-19 11:11:36.294469+0200 0x23d3 Activity 0x1b46a 1316 0 Phoenix: (AppKit) perform action for menu item
2022-09-19 11:11:36.294562+0200 0x23d3 Activity 0x1b46b 1316 0 Phoenix: (AppKit) sendAction:
2022-09-19 11:11:36.350356+0200 0x23d3 Default 0x1b46b 1316 0 Phoenix: Context loaded.
I hit the key combination three times, but nothing appeared.
@melgu Hey! Hot keys are registered for example during the config load. Could you search for Error: Could not install key event handler.
?
Those three events in my comment above are the only events that happen when I hit Reload.
When I completely restart the Phoenix application, the log looks like this:
Ok, thanks! I tried the same key combination locally and it seems to work. So the only thing possibly happening is that some other application is reserving the same key combination. Only one app can have the combination reserved at a time and it’s reserved to the first app requesting it. I don’t know if there’s a more eloquent solution to test this out except for shutting down apps one at a time to figure out which one is it.
It happens on two different devices of mine, so I thought it was Phoenix-related. I‘ll keep trying on my own and close the issues for now. Thanks for your help 😊
Actually, looks like this key combination works up until macOS Big Sur (11), but not on macOS Monterey (12). So I presume the OS is reserving it for something?
Ah, good to know! That explains it.
The following Key combination doesn't work:
If I switch out or remove any of the keys, it works again, but this specific combination doesn't. I have not setup any custom shortcuts in the system settings.