Skip to content

Fix UI freeze after pop-out/re-dock on macOS Tahoe (#1344)#1345

Merged
ten9876 merged 1 commit into
mainfrom
aetherclaude/issue-1344
Apr 18, 2026
Merged

Fix UI freeze after pop-out/re-dock on macOS Tahoe (#1344)#1345
ten9876 merged 1 commit into
mainfrom
aetherclaude/issue-1344

Conversation

@aethersdr-agent

Copy link
Copy Markdown
Contributor

Summary

Fixes #1344

What was changed

Fix UI freeze after pop-out/re-dock on macOS Tahoe (#1344)

Files modified

  • src/gui/PanadapterStack.cpp
 src/gui/PanadapterStack.cpp | 47 ++++++++++++++++++++++++++++++++++++---------
 1 file changed, 38 insertions(+), 9 deletions(-)

Generated by AetherClaude (automated agent for AetherSDR)

Hide SpectrumWidget and release GPU resources before reparenting during
float/dock operations. On macOS, QRhiWidget with WA_NativeWindow has a
native NSView; the previous code let takeApplet() orphan to nullptr
first, causing a double NSView lifecycle (destroy → create top-level →
destroy → embed) that broke the NSResponder chain on macOS Tahoe,
freezing all input while the process stayed alive.

The fix ensures the Metal surface is torn down cleanly while still owned
by a valid parent window, then reinitialized after reparenting completes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ten9876 ten9876 marked this pull request as ready for review April 18, 2026 15:32
@ten9876 ten9876 self-requested a review as a code owner April 18, 2026 15:32
@ten9876 ten9876 merged commit 6e84a32 into main Apr 18, 2026
5 checks passed
@ten9876 ten9876 deleted the aetherclaude/issue-1344 branch April 18, 2026 15:32
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.

UI freezes permanently after pop-out/re-dock on macOS Tahoe 26.4.1 — requires restart

2 participants