Skip to content

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

Description

@LU5DX

Report preparation

  • I used the AI-assisted bug report tool (Help → Support → File an Issue)
  • I have attached a support bundle or log file

What happened?

Labels: bug, GUI, slice, diversity


What happened

When AetherSDR is launched, Slice A is present by default as the first slice in the radio. As the first slice, Slice A is expected to display a Diversity Button under the Audio Menu of its VFO Flag in the panadapter. However, the Diversity Button is not present on Slice A at startup.

Opening Slice B (by clicking to add a second slice) reveals that Slice B does have the Diversity Button in its VFO Flag Audio Menu as expected.

If Slice A is then closed, followed by Slice B (and Slice C if Diversity was activated), no slices remain. Upon re-adding Slice A, the Diversity Button is now correctly present on it.

What I expected

Slice A, being the first and primary slice, should display the Diversity Button in its VFO Flag Audio Menu from the moment AetherSDR is launched — without requiring the user to open and close additional slices as a workaround.

Environment

Windows:

  • AetherSDR version: v0.8.15
  • OS: Windows 11 Home 22H2 (Build 22621.4317)
  • CPU: Intel Core i7-13700HX 2.10 GHz (13th Gen)
  • RAM: 32 GB (31.7 GB usable)
  • Runtime: Latest Visual C++ redistributable installed

Suggested fix

The Diversity Button's visibility logic for Slice A may be evaluated too early during initialization — before the slice is fully registered or before the condition that qualifies the first slice for Diversity is met. Possible causes to investigate:

  • The button visibility check for Slice A may fire before the slice list is fully initialized, causing it to incorrectly evaluate the Diversity eligibility condition.
  • Check whether the Diversity Button is bound to a slice index or slice identity — if it depends on detecting a "first slice" after others exist, it would naturally fail on cold start when no other slices are present yet.
  • Ensure that the Diversity Button visibility is re-evaluated (or initialized with the correct default) when the very first slice is created at startup, not only when slices are added/removed dynamically.

What did you expect?

What I expected

Slice A, being the first and primary slice, should display the Diversity Button in its VFO Flag Audio Menu from the moment AetherSDR is launched — without requiring the user to open and close additional slices as a workaround.

Steps to reproduce

Steps to reproduce

  1. Launch AetherSDR.
  2. Observe that Slice A is present by default.
  3. Open the Audio Menu of the Slice A VFO Flag in the panadapter.
  4. Observe that the Diversity Button is missing.
  5. Click to add a second slice — Slice B is added.
  6. Open the Audio Menu of the Slice B VFO Flag.
  7. Observe that the Diversity Button is present on Slice B.
  8. Close Slice A, then close Slice B (and Slice C if it was opened via Diversity).
  9. Re-add Slice A.
  10. Open the Audio Menu of the newly added Slice A VFO Flag.
  11. Observe that the Diversity Button is now present on Slice A.

Radio model & firmware

Flex-6600 Firmware 4.1.5

Linux distro & Qt version

Xubuntu 24.05 Qt 6.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions