mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-22 21:09:08 +00:00
Every window belongs to a set of spaces. The rail belongs to all of them; the detail panel had been reduced to the desktop space alone, so hovering a pill inside a full-screen app positioned the popover, faded it in and ordered it front exactly as it does on the desktop, in a space the user was not looking at. Measured on a running instance: the rail reported spaces=[3, 63, 24, 137] with 137 active, the panel reported spaces=[3]. The membership is written once in init and never again. The window server drops it across a display sleep or a display reconfiguration, and the rail survives only because it is never ordered out. Re-assert it in showDetail, the one funnel every presentation passes through. It has to be written, not read and compared: assigning collectionBehavior is what re-registers the window, and it must happen while the window is ordered out. Also drop a duplicate `isFloatingPanel = true` that ran after the shielding level was set. NSPanel.isFloatingPanel writes level = .floating, so the second assignment silently discarded the level the comment above it asks for: the dock measured at layer 3 instead of 2147483628, low enough for any floating window to cover it. Both panels now report the shielding level. |
||
|---|---|---|
| .. | ||
| Data | ||
| Resources/ProviderIcons | ||
| Security | ||
| Theme | ||
| Views | ||
| AppStore.swift | ||
| AppVersion.swift | ||
| CapacityDockController.swift | ||
| CapacityDockMotion.swift | ||
| CapacityDockPlacement.swift | ||
| CodeBurnApp.swift | ||
| CurrencyState.swift | ||
| MenubarScope.swift | ||
| ProviderIcon.swift | ||
| RefreshCadence.swift | ||
| StatusItemContextMenuPolicy.swift | ||
| StatusItemPlacementPolicy.swift | ||