-
Notifications
You must be signed in to change notification settings - Fork 163
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
Swallows shotcut keys on MacOSX. #833
Comments
SourceGit does not use this hotkey. And I can use |
I believe, the issue is somewhere in the Could you check it? To reproduce
|
BTW. as I said above, on my MacBook Pro (M3 Max), I can confirm the |
Thank you for this detailed analysis.
Do you mean that you have tried Automator.app or Shortcuts.app? I thought there could be several methods to install global shortcut handler in MacOS. Unfortunately, I have zero experience in programming for MacOS and cannot be sure. On my macbook (M1 Pro, macos Sonoma 14.7.2) I have two more programs, that handle I thought you could run SourceGit under debugger and see how it works on MacOS Unfortunately, I have very limited capabilities to debug the code. My macbook is a corporate PC, controlled by the cybersecurity department and I am not allowed to install arbitrary software on it. |
On MacOSX I have configured a hotkey
Ctrl-<backtick>
(the key above Control on the embedded keyboard or the key below Esc on Windows kbd) to run an AppleScript in the Automator application. That script launches the Terminal application or brings it to front if it is already running.The issue: when SourceGit's window has focus, this shortcut does not work, Terminal window doesn't appear. Also, I don't see a rotating gear icon in the menu bar indicating that the Automator is performing its action.
When another application has focus (Visual Studio Code, or Safari or Calendar, ...), the rotating gear shows, then the terminal window shows up, when I press Ctrl+backtick.
Probably, the issue is that on first usage of the shortcut, these applications request permissions to access other applications' data. SourceGit doesn't ask for these permissions.
Details:
HW: Macbook Pro M1, Apple silicon (ARM chip).
OS: MacOSX Sonoma 14.7.1
Sourcegit is installed from released package, downloaded from Github
Unfortunately, I have limited capabilities to track down this issue on Macbook, because I cannot build it from sources.
The text was updated successfully, but these errors were encountered: