Skip to content

MacOS: Quit via menubar does nothing (no close event or event loop stop) #116

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

Open
falkTX opened this issue Oct 22, 2023 · 1 comment
Open

Comments

@falkTX
Copy link
Contributor

falkTX commented Oct 22, 2023

As per title, when running a pugl application in macOS, the menubar App "Quit" action does nothing.
Weirdly the Cmd+Q keyboard combo works 🤷

I expected the menubar action to at least generate a close event, but does not seem to be the case.

Are we expected to setup some menubar integration for this to work in the first place?
Windows has no such concept, but Linux has a menubar-like thing over DBus. Being able to integrate with these would be cool, but I guess outside of the scope of pugl.

@drobilla
Copy link
Collaborator

No idea. Generally you're going to have to do some MacOS specific work to make an actually decent MacOS application with a menu and such, but maybe this one is just an event that needs to be handled or something.

(I'd assume that, like most things, it won't work unless the program is in a proper application bundle, but it doesn't now regardless)

@drobilla drobilla changed the title macOS: Quit via menubar does nothing (no close event or event loop stop) MacOS: Quit via menubar does nothing (no close event or event loop stop) Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants