Skip to content

Conversation

@maximelafarie
Copy link
Contributor

@maximelafarie maximelafarie commented Sep 9, 2025

Since @jeffvli's commit 20debb0 in the v0.20.0, it completely disabled any cmd+key shortcut in the entire app, including quit, copy, paste, select all, and so on :

image image

(screenshots without and with the fix)

Since the menu bar is not included in the electron window on Darwin devices, issue #1041 does not apply and is therefore a regression.

I fixed this by applying menu bar masking only to non-Darwin devices.

I used setMenuBarVisibility to allow non-Darwin users who wish to do so to use the menu bar if necessary. By default, it will be invisible and can be redisplayed using the Alt key.

This restores all shortcuts and benefits in terms of convenience and accessibility.

Not to mention: it allows you to paste extremely complicated passwords from password managers when entering server information, for example.

@vercel
Copy link

vercel bot commented Sep 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
feishin Ready Ready Preview Comment Sep 10, 2025 7:37am

@maximelafarie maximelafarie changed the title fix electron menu bar for darwin fix electron menu bar for darwin devices Sep 9, 2025
@maximelafarie maximelafarie changed the title fix electron menu bar for darwin devices fix: electron menu bar for darwin devices Sep 9, 2025
@jeffvli jeffvli merged commit 4328d88 into jeffvli:development Sep 10, 2025
5 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants