Skip to content

Propagate late-arriving DIV eligibility to all VFOs (#1503)#1613

Merged
ten9876 merged 1 commit into
mainfrom
auto/Propagate-late-arriving-DIV-eligibility-to-all-VFO
Apr 18, 2026
Merged

Propagate late-arriving DIV eligibility to all VFOs (#1503)#1613
ten9876 merged 1 commit into
mainfrom
auto/Propagate-late-arriving-DIV-eligibility-to-all-VFO

Conversation

@ten9876

@ten9876 ten9876 commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator

If the radio's model status arrives after Slice A is created,
onSliceAdded reads an empty m_radioModel.model() and permanently
hides the Diversity button on that VfoWidget. Later slices succeed
because model info is available by then. Identical race pattern
to the SmartSDR+ subscription issue fixed in #1356.

Extend the existing infoChanged handler — which already iterates
every VfoWidget for SmartSDR+ — to also re-apply setDiversityAllowed
using the dual-SCU model list. Deterministic regardless of protocol
message ordering; Linux tends to dodge the race via TCP arrival
ordering but Windows reliably trips it.

Closes #1503.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

If the radio's model status arrives after Slice A is created,
onSliceAdded reads an empty m_radioModel.model() and permanently
hides the Diversity button on that VfoWidget. Later slices succeed
because model info is available by then. Identical race pattern
to the SmartSDR+ subscription issue fixed in #1356.

Extend the existing infoChanged handler — which already iterates
every VfoWidget for SmartSDR+ — to also re-apply setDiversityAllowed
using the dual-SCU model list. Deterministic regardless of protocol
message ordering; Linux tends to dodge the race via TCP arrival
ordering but Windows reliably trips it.

Closes #1503.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ten9876 ten9876 enabled auto-merge (squash) April 18, 2026 17:02
@ten9876 ten9876 merged commit b88883d into main Apr 18, 2026
3 checks passed
@ten9876 ten9876 deleted the auto/Propagate-late-arriving-DIV-eligibility-to-all-VFO branch April 18, 2026 17:02
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.

Diversity Button missing from Slice A VFO Flag Audio Menu on first launch

1 participant