-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binding alt+shift+key #205
Comments
In the settings tab, check the box for "Remove shortcut recorder safeguards" Those key combinations are likely used somewhere in macOS. I have plans to migrate to a different shortcut recorder at some point, where I might be able to add in more detailed communication of this type of behavior. |
@rxhanson I think I had removed bindings to those keys before trying. I was able to bind them in other apps. For some keys i'll get a prompt from rectangle saying that the binding is already in use but for these it registers the as an aside. Is there any sort of utility to figure out what app a key is binded to? |
The keyboard shortcut recorder (MASShortcut) has logic that checks with macOS for whether or not it should record, so it would be macOS erroneously reporting back that the shortcut cannot be recorded. In this case, any shortcut recorder that checks with macOS would have the same issue. If a shortcut is captured elsewhere before it makes it to Rectangle Pro's recorder, then Rectangle Pro wouldn't be able to record it, regardless of that checkbox in the settings tab.
I don't know of any, but it would be dependent on being able to ask the macOS API what shortcuts have been recorded and that wouldn't be able to catch apps that listen to keystrokes rather than using the macOS API. |
@rxhanson here's a video of me trying not quite sure how to debug it. I guess unless I just systematically close out every app to figure out the culprit. I'd like to switch over to rectangle but just really used to using is it possible that moom listens to keystrokes+macOS api or only keystrokes opposed to just macOS api? 2023-01-13_07-54-40.mp4 |
@rxhanson I think I may have found the reason can you confirm if you are able to get any |
(alt+shift bindings work fine for me) I don't know what Moom could be doing, but as a crude workaround you could circumvent MASShortcut by making shortcuts close to what you want, then exporting the config and modifying the json to import back in. I do have plans to migrate away from MASShortcut to the Sindre Sorhus library. My MASShortcut is modified quite a bit, so I have some work to do to bring it up to what I need. But in your case, I don't know if that would fix your issue regardless; and maybe something that just listens to keystrokes would be the only way to get around it. This all points to some other app catching your shortcut :( |
@rxhanson ah I see. I don't have much understanding in terms of how the macOS api works. Would a keybinding be "released" if the app that is taking over |
@yangkennyk My expectation is that a closed app releases the key binding that it had, and this is what I have always observed. With that said, I have had a few other users with issues like this and the only ones that solved it found a running application that had those keybindings registered. I think there were a couple that never found out what was going on as far as I know. |
@rxhanson what keyboard input do you use? |
I can't seem to be able to use
alt+shift
+key
for binding keyboard shortcuts. I tried removing all although bindings toalt
to say if maybe that was the issue but it doesn't record the shortcut.Is this intentional?
I'm used to using
alt+shift
+h,j,k,l
for window shortcuts and it would be nice if not.The text was updated successfully, but these errors were encountered: