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

Fix for NSStatus Item not working correctly #16

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

bensurtees
Copy link
Contributor

Hi, a status item shouldn't be created via NSStatusBar.init instead of NSStatusBar.system, using NSStatusBar.init it does not change screens correctly, and also prevents other menu bar item from ordering (via ⌘+dragging).
Using NSStatusBar.system is correct and prevents this.
The ultimate fix is for Apple to fix the bugs in using NSStatusBar.init but until this happens NSStatusBar.system should always be used.

A status item shouldn't be created via NSStatusBar.init instead of NSStatusBar.system, using NSStatusBar.init it does not change screens correctly, and also prevents other menu bar item from ordering (via ⌘+dragging).
Using NSStatusBar.system is correct and prevents this.
The ultimate fix is for Apple to fix the bugs in using NSStatusBar.init
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

Successfully merging this pull request may close these issues.

2 participants