Skip to content

Fixed MenuBarExtraUtils.statusItems on macOS 26 beta 3 - #19

Closed
jayrhynas wants to merge 1 commit into
orchetect:mainfrom
jayrhynas:macOS-26-fix
Closed

jayrhynas wants to merge 1 commit into
orchetect:mainfrom
jayrhynas:macOS-26-fix

Conversation

@jayrhynas

Copy link
Copy Markdown

Status items are now instances of NSSceneStatusItem, not NSStatusItem. This is a subclass though so we can use isKind(of:) to handle both cases and exclude the NSStatusItemReplicant class

Status items are now instances of `NSSceneStatusItem`, not `NSStatusItem`. This is a subclass though so we can use `isKind(of:)` to handle both cases and exclude the `NSStatusItemReplicant` class
@jayrhynas jayrhynas closed this Jul 10, 2025
@orchetect orchetect reopened this Jul 10, 2025
@orchetect orchetect changed the title Fixed MenuBarExtraUtils.statusItems on iOS 26 Fixed MenuBarExtraUtils.statusItems on macOS 26 beta 3 Jul 10, 2025
@orchetect orchetect changed the title Fixed MenuBarExtraUtils.statusItems on macOS 26 beta 3 Fixed MenuBarExtraUtils.statusItems on macOS 26 beta 3 Jul 10, 2025
@orchetect

Copy link
Copy Markdown
Owner

Just confirmed that release 1.2.1 is indeed broken on macOS 26 beta 3.

I ran the Demo project from this PR (built in Xcode 26 beta 3) running on macOS 26 beta 3, and it appears to still be broken.

@orchetect
orchetect self-requested a review July 11, 2025 00:18
@jayrhynas

Copy link
Copy Markdown
Author

Yeah I closed the PR because I noticed it wasn't fixed in all cases. Specifically menu-based items don't work (0 and 1 in the demo) because the button (cell) state doesn't change anymore when you open and close the menu.

@orchetect

Copy link
Copy Markdown
Owner

No problem - thanks for the heads-up. I will have a look soon to see if there is a fix for what's changed in macOS 26 so far. It's early still and things could continue to change from Apple's end with forthcoming betas but still worth investigating.

@orchetect orchetect closed this Jul 11, 2025
@orchetect orchetect linked an issue Jul 29, 2025 that may be closed by this pull request
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.

macOS 26 Compatibility (Changes Under the Hood)

2 participants