-
Notifications
You must be signed in to change notification settings - Fork 16.9k
Closed
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
19.x
What operating system are you using?
Windows
Operating System Version
Windows 11
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
An application should be in full control of the menu and thus the following code is taking startup CPU cycles when not needed:
Line 177 in bfced8c
| const { setDefaultApplicationMenu } = require('@electron/internal/browser/default-menu') as typeof defaultMenuModule; |
At the very minimum allow an option to disable this when the application sets a menu anyway.
Actual Behavior
Electron seems to install a default menu which consumes time for no good reasons it seems:
Testcase Gist URL
No response
Additional Information
No response
