-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Closed
Labels
29-x-y30-x-y31-x-ycomponent/trayenhancement ✨platform/macOSstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
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
29/30
What operating system are you using?
macOS
Operating System Version
macOS 14
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
relocating the menubar icon by holding down the command key and click/draging the icon to a new position in the menubar should save that location and result in it maintaining that location across launches.
Actual Behavior
upon quitting the application and launching it again, the icon displays left-most in the status area of the menubar instead of where you relocated it.
Testcase Gist URL
No response
Additional Information
It is recommended that the NSStatusItem have its autosave name set rather than letting the system assign one, this can be done in the initWithIcon method in shell/browser/ui/tray_icon_cocoa.mm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
29-x-y30-x-y31-x-ycomponent/trayenhancement ✨platform/macOSstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature