RAM2118 commited on
Commit
e0f6b2a
·
verified ·
1 Parent(s): fea5c5f

update SYNC.md — fullscreen fix pushed

Browse files
Files changed (1) hide show
  1. SYNC.md +8 -4
SYNC.md CHANGED
@@ -39,6 +39,7 @@ If a plugin crashes → only Helper dies → Ableton survives → UI shows "Relo
39
  - ❌ `MSG_NOSIGNAL` (doesn't exist on macOS)
40
  - ❌ Native title bar close button on Helper window (macOS won't deliver clicks to accessory process)
41
  - ❌ `activateIgnoringOtherApps` (steals focus from Ableton)
 
42
 
43
  ## What's New
44
  - ✅ Out-of-process via shared memory + semaphores + Unix socket
@@ -47,11 +48,14 @@ If a plugin crashes → only Helper dies → Ableton survives → UI shows "Relo
47
  - ✅ Toggle GUI via button in PluginBridge panel (Open GUI / Close GUI)
48
  - ✅ Plugin list from filesystem (no binary loading until user selects)
49
  - ✅ Native pthread priority for audio thread
50
- - ✅ `NSApplicationActivationPolicyAccessory` for helper (no Dock, no focus steal)
51
- - ✅ Policy set in main.cpp initialise() BEFORE any windows created
 
52
 
53
  ## Status
54
- **Last push:** 2026-05-16 — Fixed GUI opening as separate app. Root cause: activation policy was only set on the window (showAsFloatingPanel) but not on the NSApplication itself. Fix: added `setActivationPolicy:1` (Accessory) as first line in `initialise()` in main.cpp.
 
 
55
  **Build:** Needs test
56
- **Test:** Pull, build, load in Ableton → Open GUI → confirm NO Dock icon, NO Cmd+Tab, window floats over Ableton without switching apps.
57
  **Next:** Sprint 3 — MCP param control from Claude Code (curl tests)
 
39
  - ❌ `MSG_NOSIGNAL` (doesn't exist on macOS)
40
  - ❌ Native title bar close button on Helper window (macOS won't deliver clicks to accessory process)
41
  - ❌ `activateIgnoringOtherApps` (steals focus from Ableton)
42
+ - ❌ `NSFloatingWindowLevel` (level 3) — not high enough for fullscreen apps
43
 
44
  ## What's New
45
  - ✅ Out-of-process via shared memory + semaphores + Unix socket
 
48
  - ✅ Toggle GUI via button in PluginBridge panel (Open GUI / Close GUI)
49
  - ✅ Plugin list from filesystem (no binary loading until user selects)
50
  - ✅ Native pthread priority for audio thread
51
+ - ✅ `NSApplicationActivationPolicyAccessory` in main.cpp (no Dock, no Cmd+Tab)
52
+ - ✅ `NSWindowCollectionBehavior` = canJoinAllSpaces | fullScreenAuxiliary
53
+ - ✅ Window level = 25 (NSStatusWindowLevel) — above fullscreen apps
54
 
55
  ## Status
56
+ **Last push:** 2026-05-16 — Fixed GUI not appearing over fullscreen Ableton.
57
+ - Root cause: NSFloatingWindowLevel (3) is below fullscreen app level. Window also lacked collection behavior flags to join fullscreen Spaces.
58
+ - Fix: Set `canJoinAllSpaces` (1<<0) + `fullScreenAuxiliary` (1<<8) on the window. Raised level from 3 → 25 (NSStatusWindowLevel).
59
  **Build:** Needs test
60
+ **Test:** Pull, build, load in Ableton FULLSCREEN → Open GUI → confirm plugin window appears OVER fullscreen Ableton (same Space, no desktop switch).
61
  **Next:** Sprint 3 — MCP param control from Claude Code (curl tests)