Skip to content

fix(macos): mount tool panes lazily β€” kills the 2s whole-window layout hang#274

Merged
caezium merged 1 commit into
mainfrom
fix/burrow-8t-lazy-panes
Jul 12, 2026
Merged

fix(macos): mount tool panes lazily β€” kills the 2s whole-window layout hang#274
caezium merged 1 commit into
mainfrom
fix/burrow-8t-lazy-panes

Conversation

@caezium

@caezium caezium commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Fixes the one live telemetry problem, BURROW-8T (App Hang β‰₯2s, 14 events / 12 users, macOS 15β†’27, all on 0.9.2).

Root cause: all ten tool panes permanently mounted in RootView's ZStack behind opacity(0) β€” hidden panes still run full layout + material backdrops (MaterialBackdropProxy in the trace tail) on every display-cycle flush. On memory-pressed Macs one flush walks ten pane trees β†’ 2s+ β†’ hang watchdog.

Fix: panes mount on first visit and stay alive after β€” the original state-preservation guarantee holds for every opened pane, while a fresh launch lays out exactly one. Home/Settings unchanged (create-on-demand with timer teardown).

Local Debug build green. Fixes BURROW-8T auto-resolves the Sentry issue on merge.

…t hang

Fixes BURROW-8T

All ten tool panes were permanently mounted in RootView's ZStack, hidden with
opacity(0) β€” which still runs each pane's full AppKit/SwiftUI layout and material
backdrops on every display-cycle flush. On memory-pressed Macs a single flush walked
ten pane trees and took 2s+, tripping the App Hang watchdog (BURROW-8T: 14 events,
12 users, macOS 15 through 27, every event on the all-mounted layout).

Panes now mount on FIRST visit and stay alive afterwards β€” the original guarantee
(in-flight `mo` jobs survive tab switches) holds for every pane the user has opened,
while a fresh launch lays out exactly one. Home/Settings keep their existing
create-on-demand/teardown behavior.

Local Debug build green; suite runs in CI.
@caezium
caezium merged commit 6d530e4 into main Jul 12, 2026
1 check passed
@caezium
caezium deleted the fix/burrow-8t-lazy-panes branch July 12, 2026 08:48
caezium added a commit that referenced this pull request Jul 13, 2026
Version bump (macOS project.yml, Windows appxmanifest + csproj) + RELEASES.md.
Carries everything since v0.10.0 (a8074d2): the Leftovers/Similar Photos/Network
panes (#273) plus fclones bundling (#278), HEIC surfacing (#283), the HUD popover
+ lazy-mount fixes (#274/#275/#277), and the Finder-launch PATH fix (#279).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant