Skip to content

Fix crash when reordering applets with floating containers (#1745)#1746

Merged
ten9876 merged 1 commit into
mainfrom
aetherclaude/issue-1745
Apr 22, 2026
Merged

Fix crash when reordering applets with floating containers (#1745)#1746
ten9876 merged 1 commit into
mainfrom
aetherclaude/issue-1745

Conversation

@aethersdr-agent

Copy link
Copy Markdown
Contributor

Summary

Fixes #1745

What was changed

Fix crash when reordering applets with floating containers (#1745)

Files modified

  • src/gui/AppletPanel.cpp
 src/gui/AppletPanel.cpp | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

Generated by AetherClaude (automated agent for AetherSDR)

Skip floating (popped-out) containers in dropIndexFromY(),
dragMoveEvent indicator positioning, and rebuildStackOrder() to
prevent QWidget::mapTo() crash when the floating widget has no
common ancestor with the scroll area.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@ten9876 ten9876 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified ContainerWidget::isFloating() exists. qobject_cast approach is safe for non-container entries. Pattern applied consistently at all 3 crash sites (dragMoveEvent, rebuildStackOrder, dropIndexFromY). Scope is correctly limited to the crash — TXDSP ID mismatch filed as follow-up #1836. LGTM.

@ten9876 ten9876 marked this pull request as ready for review April 22, 2026 00:24
@ten9876 ten9876 merged commit 161dc57 into main Apr 22, 2026
5 checks passed
@ten9876 ten9876 deleted the aetherclaude/issue-1745 branch April 22, 2026 00:24
ten9876 added a commit that referenced this pull request Apr 22, 2026
)

Cuts a community-contribution-heavy point release. Eight community PRs
landed plus three AetherClaude crash fixes. Highlights:

Community:
- Fix RADE RX not decoding on Windows (#1820, NF0T)
- Clamp stale DAX RX backlog on macOS — fixes +1.5s FT8 DT bias (#1822, jensenpat)
- Fix TCI DAX resampler crosstalk between slices (#1815, Chaosuk97)
- Fix RX applet pan slider with NR active (#1799, Chaosuk97)
- Fix TCI RX gain default 1.0 → 0.5 to match applet (#1811, NF0T)
- Fix HAVE_SERIALPORT guard (#1812, NF0T)
- Seamless ADIF logbook auto-reload (#1801, Chaosuk97)
- RAC Canada band-plan corrections (#1817, VE3NEM)

AetherClaude crash fixes:
- Applet reorder with floating containers (#1745#1746)
- Lazy-build RadioSetupDialog tabs, dodges Wayland FFmpeg/VDPAU crash (#1776#1777)
- PanAdapter float-freeze — show-after-reset + direct reparent (#1668#1669)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

When trying to reorder Apps, the ASDR application will shut down and you have to restart it.

2 participants