update SYNC.md — REVERTED to pre-fix state, GUI should work like before
Browse files36 unmodified lines3738394041424344454647484950515253545556575859606136 unmodified lines- ❌ `addDefaultFormats()` (deleted in JUCE 8)- ❌ `juce::Thread::setCurrentThreadPriority()` (removed in JUCE 8)- ❌ `MSG_NOSIGNAL` (doesn't exist on macOS)- ❌ Native title bar close button on Helper window (macOS won't deliver clicks to accessory process)- ❌ `activateIgnoringOtherApps` (steals focus from Ableton)- ❌ `NSFloatingWindowLevel` (level 3) — not high enough for fullscreen apps## What's New- ✅ Out-of-process via shared memory + semaphores + Unix socket- ✅ Crash-safe — plugins that abort() only kill the helper- ✅ Plugin GUI as floating always-on-top window (no focus steal)- ✅ Toggle GUI via button in PluginBridge panel (Open GUI / Close GUI)- ✅ Plugin list from filesystem (no binary loading until user selects)- ✅ Native pthread priority for audio thread- ✅ `NSApplicationActivationPolicyAccessory` in main.cpp (no Dock, no Cmd+Tab)- ✅ `NSWindowCollectionBehavior` = canJoinAllSpaces | fullScreenAuxiliary- ✅ Window level = 25 (NSStatusWindowLevel) — above fullscreen apps## Status**Last push:** 2026-05-16 — Fixed GUI not appearing over fullscreen Ableton.- Root cause: NSFloatingWindowLevel (3) is below fullscreen app level. Window also lacked collection behavior flags to join fullscreen Spaces.- Fix: Set `canJoinAllSpaces` (1<<0) + `fullScreenAuxiliary` (1<<8) on the window. Raised level from 3 → 25 (NSStatusWindowLevel).**Build:** Needs test**Test:** Pull, build, load in Ableton FULLSCREEN → Open GUI → confirm plugin window appears OVER fullscreen Ableton (same Space, no desktop switch).**Next:** Sprint 3 — MCP param control from Claude Code (curl tests)36 unmodified lines37383940414243444546474849505152535455565736 unmodified lines- ❌ `addDefaultFormats()` (deleted in JUCE 8)- ❌ `juce::Thread::setCurrentThreadPriority()` (removed in JUCE 8)- ❌ `MSG_NOSIGNAL` (doesn't exist on macOS)- ❌ `NSApplicationActivationPolicyAccessory` — BROKE fullscreen window behavior, reverted- ❌ `NSWindowCollectionBehavior` changes — didn't fix fullscreen, made it worse, reverted- ❌ Window level changes (3→25) — unnecessary, reverted## What's Working- ✅ Out-of-process via shared memory + semaphores + Unix socket- ✅ Crash-safe — plugins that abort() only kill the helper- ✅ Plugin GUI window (close button hides, doesn't quit Helper)- ✅ Toggle GUI via button in PluginBridge panel (Open GUI / Close GUI)- ✅ Plugin list from filesystem (no binary loading until user selects)- ✅ Native pthread priority for audio thread## Status**Last push:** 2026-05-16 — REVERTED all window policy changes. Back to original working state where GUI opened inside Ableton's Space correctly.**Build:** Needs test**Test:** Pull, build, load in Ableton (FULLSCREEN) → Open GUI → confirm it opens in same Space as Ableton (like it did before the close-button fix).**If it still opens separately:** The problem was introduced by the close-button fix (PluginGuiWindow class). Need to identify what specifically changed. The ONLY difference from original working code should be `closeButtonPressed() { setVisible(false); }` instead of whatever it was before.**Next:** Once GUI confirmed working → Sprint 3 (MCP param control)
SYNC.md+9-13