Skip to content

Consume AeroSpace workspace trees without follow-up snapshot queries #387

Closed as not planned

Description

@patrik-bartak

Problem

AeroSpace events currently cause StableBar to query all workspaces and windows before publishing state. Queries can wait for AeroSpace's layout work. Window listings and app grouping also lose workspace tree order.

Proposal

Consume a complete nested workspace-tree snapshot when AeroSpace supports it. Traverse ordered container children to render window icons in tree order, including repeated app icons. Update cached state directly without list queries and keep the existing behavior for older AeroSpace versions.

The companion AeroSpace implementation is proposed in patrik-bartak/AeroSpace#2.

Possible today

workspace.windows: true already shows repeated window icons, but does not supply tree order or remove the two follow-up queries. Tree events require the companion AeroSpace fork change.

Related

Triaged by Codex (GPT-6).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions