fix(macos): mount tool panes lazily β kills the 2s whole-window layout hang#274
Merged
Conversation
β¦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
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 (MaterialBackdropProxyin 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-8Tauto-resolves the Sentry issue on merge.