-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Mac - Issue in app quit #3740
Comments
Did you see this issue? If you did, please comment on how the resolution/workaround didn't work for you. If you didn't see it, then I recommend searching the issues before creating a new issue. If it is the same or very similar issue please consider closing this one. |
After binding the 'shortcut' key as mentioned in #3162 I was able to receive the quit event on app minimize, but the event is propagated to nw application even when keys are pressed for some other application. Basically, I want to receive the quit event when 'cmd+q' is pressed for nw app only, and not for other apps. Is there a way to distinguish this? |
Hi, Can someone kindly provide an update/solution for the same :) |
I also see the same issue. It doesn't appear that #430 works any more in v12. Not sure if something changed. Doing CMD-TAB and CMD-Q on the icon works, but CMD-Q when in the dock doesn't work. Also clicking quit in the menu when in the dock doesn't work. I put a console log in the win.on("close" ...) and see it when not in the dock just fine. Never see it when in dock except when CMD-TABing. |
Yup, it seems close event is not propagated to app in case app is not in focus. |
Any update? |
Just a gentle bump! |
Just tested this in v0.15.2, and it's still an issue. Would love to see a fix for this! |
I can reproduce this issue on Mac with nwjs-sdk-v0.25.0. |
Hi,
I'm facing an issue in quitting Mac application, with following setup and steps
Followed the steps mentioned in following issue but issue still persist - #430
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: