Skip to content

Latest commit

 

History

History
87 lines (74 loc) · 6.27 KB

compatibility.md

File metadata and controls

87 lines (74 loc) · 6.27 KB

Compatibility

Spaceman is macOS-only and declares macOS 14.0 as its minimum deployment target (arm64 release builds; see Development and Releasing for source builds). Clean-machine validation across macOS releases remains experimental; see Known Limitations.

Input, Permissions, and Login Item

  • Keyboard layouts: Numbered workspace shortcuts use the physical ANSI number row (1–9, 0 for 10); character shortcuts follow the active macOS input source. On layouts that type @ [ ] { } | \ ~ only through Option (such as German QWERTZ), brand-new installs seed [shortcuts] modifier = "ctrl+alt" and plain-Option built-ins skip conflicting chords; see Configuration › Shortcuts.
  • Launch at Login: Uses macOS Service Management (SMAppService), which requires a signed app bundle and may ask for approval in System Settings › General › Login Items & Extensions.
  • Accessibility: Granted in System Settings › Privacy & Security (Accessibility through macOS 26, Device Control and Data Access on macOS 27.0–27.2, and System & App Protection Override on macOS 27.3+, where apps are added via the notification prompt or + rather than drag-and-drop).

Window Eligibility and Classification

Spaceman observes on-screen normal-level (kCGWindowLayer = 0) Accessibility elements with role AXWindow and subrole AXStandardWindow, AXDialog, AXSystemDialog, AXFloatingWindow, or AXSystemFloatingWindow that are not minimized, not in macOS native fullscreen, centered on an attached display, and expose a settable position (dialog and floating subroles are observed only when they expose an enabled close button, a regular-app fullscreen button, or modal/Open-Save/Cancel/default dialog controls, so transient buttonless completion popups, screen-share pills, and search bars such as Emacs child frames and Xcode's Open Quickly remain ignored):

  • Tiled by default: Standard windows (AXStandardWindow, excluding Chromium popups below) with a settable size and either a fullscreen button, an enabled zoom button (covering SwiftUI/scene apps such as FaceTime, Phone, News, Podcasts, Games, Shortcuts, and Finder's Get Info), or borderless regular-app windows without close/fullscreen buttons (such as Ghostty with window-decoration = false), unless listed in FLOATING_BUNDLES. Fixed-aspect-ratio windows (such as FaceTime) fill one axis of their tile.
  • Floated on their workspace: Dialog and floating subroles (AXDialog, AXSystemDialog, AXFloatingWindow, AXSystemFloatingWindow, such as Little Ardia, Arc's Little Arc, Settings windows, and inspectors), modal windows, AppKit Open/Save panels (open-panel / save-panel), windows with AXCancelButton or buttonless AXDefaultButton, Chromium popup and extension pop-out windows (which expose a native title-bar label via AXTitleUIElement, unlike tabbed browser, PWA, or devtools:// windows), standard windows with a close button and neither a fullscreen button nor an enabled zoom button (settings panes, splash screens), accessory-app windows without an enabled fullscreen button, movable non-resizable windows, built-in utility floats, and float-rule matches. They keep their native size and park or restore with their workspace (including initial splashes/panels under a bundle route rule; see Configuration). A tile rule tiles any of them, placing a window that refuses or resets resize at its tile's origin at its own size.
  • Ignored (global): Non-zero window layers (kCGWindowLayer != 0, such as Picture-in-Picture or popped-out Slack Huddles), AXUnknown popups (anchored browser toolbar popups, Find-in-Page bars, tooltips), sheets (AXSheet), popovers (AXPopover), buttonless accessory-app windows, ignore-rule matches, and apps with incomplete Accessibility support.

Bare executables launched outside an .app bundle have no Launch Services launch date, so Spaceman distinguishes process incarnations by kernel start time instead.

Self-Moving Windows and Parking

If a parked window reappears on screen while its app is frontmost, Spaceman treats it as user summoned, drops the stale recovery frame, and adopts it onto the visible workspace (except during the ~2 seconds after exiting native fullscreen, or while another window of that app is in native fullscreen, when only the focused window counts as summoned). Background reappearances (such as Electron apps re-asserting saved bounds) are re-parked with their recovery frame kept. If an app undoes several re-parks in a row, the reappearance is honored; a window honored twice within 5 minutes becomes parking_exempt for the session (visible in spaceman ctl debug), staying tiled on its workspace without being hidden across switches. Use an ignore rule to opt an app out permanently. Windows an app keeps off-screen on its own are left untouched and never recorded in parked-windows.json.

Native Tabs and Multiple Displays

Native tabs in Safari, Finder, Terminal, Chrome, and other apps preserve their tile slot, order, and split weight when replacement evidence is unambiguous (one window leaves and one arrives focused at that frame). Ghostty native tabs additionally hold ambiguous transitions for a bounded settle window (preserving workspace affinity and reserving candidate windows) instead of guessing.

Displays are tracked dynamically (secondary is the first non-main display; prefer UUIDs over duplicate display names, and missing displays fall back to main until reconnected). Parking checks every attached display's bounds (allowing at most a 1-pixel corner slice on screen and ignoring empty gaps between staggered monitors) and re-parks hidden windows before focus-follow runs whenever display topology changes. Unplugged recovery displays fall back to main. Mission Control still lists parked windows; see Known Limitations to group thumbnails by app.

Spaceman dynamically resolves private _AXUIElementGetWindow and SkyLight focus/hotkey symbols (with automatic public Accessibility/AppKit focus fallback); none require disabling SIP, and Mac App Store distribution is not supported. See Security and Privacy › Native Interfaces.