Skip to content

Toggle between regular and accessory window visibility based on tray vs. window state#5

Open
crimist wants to merge 1 commit into
cvknage:mainfrom
crimist:crimist/register-open-window-macos-window
Open

Toggle between regular and accessory window visibility based on tray vs. window state#5
crimist wants to merge 1 commit into
cvknage:mainfrom
crimist:crimist/register-open-window-macos-window

Conversation

@crimist
Copy link
Copy Markdown

@crimist crimist commented May 22, 2026

Summary

Add functionality that allows Equaliser's main window (not menu bar) to be treated as a normal application window while it is open.

Previously the app forced .accessory activation globally, which kept the main window out of Cmd-Tab and prevented window managers like Aerospace from treating it as a standard window. This adds a small activation controller that switches to .regular when app windows are visible, then returns to menu-bar-only behaviour when they close.

Testing

  • swift build
  • xcrun xctest .build/arm64-apple-macosx/debug/EqualiserPackageTests.xctest
  • Manually verified rebuilt app appears in Cmd-Tab/window manager when opening the main window

New behaviour video

Screen.Recording.2026-05-22.at.6.58.55.PM.mp4

@crimist crimist marked this pull request as ready for review May 22, 2026 23:08
@crimist
Copy link
Copy Markdown
Author

crimist commented May 22, 2026

I'm not a MacOS/swift dev so lmk if anything needs changing. Also thanks for the project, by far the closest thing to EasyEffects for MacOS :)

@crimist crimist changed the title register open window as macos window Toggle between regular and accessory window visibility based on tray vs. window state May 23, 2026
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.

1 participant