Repository navigation
fix(macos): keep the parked macOS launcher out of Mission Control - #1114
Conversation
The panel now sets `NSWindowCollectionBehaviorTransient` alongside its existing flags for joining all Spaces and appearing alongside full-screen windows. The collection behavior test now checks all three flags. Fixes Xoshbin#690
|
No actionable comments were generated in the recent review. WalkthroughThe macOS Spotlight collection-behavior mask now includes the transient bit. The related test checks that the returned mask includes this bit. ChangesmacOS Spotlight Collection Behavior
Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk:
|
|
@Xoshbin thanks for taking this one. With the transient flag on the parked panel, the launcher should stay out of Mission Control and stop flashing on empty desktops. |
What changed
After dismissal, the launcher could flash when switching to an empty macOS desktop. It could also appear in that desktop’s Mission Control preview. The parked launcher panel could join every Space, but its collection behavior lacked the transient flag that excludes a window from Mission Control.
The panel now sets
NSWindowCollectionBehaviorTransientalongside its existing flags for joining all Spaces and appearing alongside full-screen windows. The collection behavior test now checks all three flags.Fixes #690
Affected areas
asyar-sdk, extension runtime, IPC contracts, manifest)Manual smoke test & Validation
pnpm dev) and visually verified the fix/feature works.Ran
cargo testlocally for the asyar change; it passed. Ranpnpm run check:designin a Linux container (localhost/osc-linux-node:22) for the asyar change; it passed. The tests passed with the asyar change applied, but no test was run with it reverted, because no test was named as covering the reported bug, so none is shown to catch this bug.AI usage
asyar-contributionskill (.agents/skills/asyar-contribution/SKILL.md), followed it, and reviewed every generated line.AI was used for assistance.
Boundaries
pnpm check:ci(or the relevant inner-loop checks) passes locally.Summary by CodeRabbit