Skip to content
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

Missing "Hide Stello" menu option on macOS #18

Open
rosseji opened this issue Jun 10, 2023 · 2 comments
Open

Missing "Hide Stello" menu option on macOS #18

rosseji opened this issue Jun 10, 2023 · 2 comments

Comments

@rosseji
Copy link

rosseji commented Jun 10, 2023

Hey, thanks for a great product. I couldn't help bu notice that the default menu option to hide the program is disabled/missing in macOS? Could you enable it in a future version (with the default system keyboard shortcut "Cmd H" or "⌘H")? Thanks

Version 1.5.0 (1.5.0)
macOS 13.4 (22F66)

@shadow-light
Copy link
Contributor

Thanks for reporting this, yes we'll add it in when next update comes out

@tarihala
Copy link

tarihala commented Nov 3, 2024

Should be able to drop this in to /electron/src/setup/menus.ts. Extra lines have basically been lifted from https://www.electronjs.org/docs/latest/api/menu.

        ...
        submenu: [
          { role: "about" }, // So can find out version even if app broken
          { role: "toggleDevTools" }, // So can debug during production if needed
          { type: "separator" },
          { role: "services" }, // Some macOS plugins modify text via services
          { type: "separator" },
          { role: "hide" }, // Requested by user to enable standard keyboard shortcuts
          { role: "hideOthers" }, // (as above)
          { role: "unhide" }, // (as above)
          { type: "separator" },
          { role: "quit" }, // So can quit whole app and not just close window
        ],
        ...

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

3 participants