-
Notifications
You must be signed in to change notification settings - Fork 3k
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
MacOS: key binding for Command-Q not working after upgrade from 0.9.0 to 0.10.0 #6136
Comments
Can you share your full config? |
Will likely be fixed by #6079. |
Can you test #6079 @kittyflat? |
I don't think it's been fixed in #6079. Just to be sure I did the right steps: I cloned kchibisov/alacritty, checked out the branch |
Issue is not present on |
@kittyflat Thanks for the feedback. Just to be 1000% sure, did you run |
@chrisduerr I didn't use
and then quit/restart Alacritty |
Your solution should work too, but |
Confirmed that the workaround that works for Personally I'm fine with the way it works now since I'd actually prefer to have hotkey to kill the terminal but I may decide one day that I want to bind Command+Q. So far I've bound Ctrl+Q and Shift+Q and thats enough. |
This is also not working on 0.11.0. Rebinding Command-Q to None still results in Alacritty quitting when Command-Q is pressed. Why this is a problem is that occasionally when editing in vim I mean ":w" and instead my mind hits Command-W. I miss. And hit Command-Q instead. Thus ending my editing session without saving. Ouch! |
This is because |
Why does Alacritty register "Quit" with shortcut, if it causes issues? It isn't required by the system as far as I know. At least, iTerm allows to override Cmd-Q without any issues (in the similar way it worked in Alacritty before). Even web browsers are overriding Cmd-Q to prevent accidental quits. And for terminal emulator it's absolutely unacceptable to simply shut down without any questions. Indeed, there are ways to prevent this behavior using external tools, but it's basically just monkey-patching the issue in Alacritty. Also if you'd need to bind an action to Cmd-Q, it isn't possible with external tools. |
This is still broken in 0.12 I'm also unable to override both "Hide alacritty" and "Quit alacritty" via a keyboard shortcut in system settings. I define an override there, but the default behaviour remains. Only option for me is to switch to a different terminal at this point :( |
Thanks for your message. I had tried this but the override would just not work. This was using alacritty installed through homebrew. After your message I decided to try again but with the latest release from here on Github, and it works now 🤷 I'm possitive I was doing it correctly before (I've added shortcuts for different apps before), so not sure what's up with that. Either way, it's working now, so thanks again! |
I have the following key binding configs to prevent accidentally exiting the terminal:
After upgrading Alacritty from version
0.9.0
to0.10.0
(and/or0.10.1
), theCommand-Q
no longer works and causes Alacritty to quit on version0.10.0
and0.10.1
. However the key binding forCommand-W
still works (as in it does not close the window). Is this expected behavior or an issue?The text was updated successfully, but these errors were encountered: