Skip to content

fix(color): play startup 'hello' audio before Lua widgets#7096

Merged
pfeerick merged 1 commit intomainfrom
philmoz/fix-audio-start-order
Feb 18, 2026
Merged

fix(color): play startup 'hello' audio before Lua widgets#7096
pfeerick merged 1 commit intomainfrom
philmoz/fix-audio-start-order

Conversation

@philmoz
Copy link
Copy Markdown
Collaborator

@philmoz philmoz commented Feb 12, 2026

Changes:

  • Ensure 'hello' audio is played first.
  • Remove STORAGE_MODELSLIST define (equivalent to COLORLCD).
  • Cleanup view layout management code.

Note: issue #135 also mentions SF/GF audio may play before the 'hello' audio; but this is not reproducible in recent versions.

Fixes #135

Marked for 3.0; but could be applied to 2.12 if desired.

@philmoz philmoz added this to the 3.0 milestone Feb 12, 2026
@philmoz philmoz added bug 🪲 Something isn't working color Related generally to color LCD radios UX-UI Related to user experience (UX) or user interface (UI) behaviour labels Feb 12, 2026
@philmoz philmoz force-pushed the philmoz/fix-audio-start-order branch from d1c61a7 to d298b82 Compare February 16, 2026 01:52
@pfeerick
Copy link
Copy Markdown
Member

Hm...

Remove STORAGE_MODELSLIST define (equivalent to COLORLCD).

You've made this equivalent to COLORLCD here though, haven't you... as it is not actually equivalent. When STORAGE_MODELSLIST was implemented, it was originally done in a way that was not tied to the colour UI, leaving the possibility in the future that the B&W UI might also get labels functionality also in the future.

Although this has not eventuated (yet?), I'm just concerned here about the collapsing of a specific feature flag into a more generic and non-descriptive one.

@philmoz
Copy link
Copy Markdown
Collaborator Author

philmoz commented Feb 16, 2026

You've made this equivalent to COLORLCD here though, haven't you... as it is not actually equivalent. When STORAGE_MODELSLIST was implemented, it was originally done in a way that was not tied to the colour UI, leaving the possibility in the future that the B&W UI might also get labels functionality also in the future.

Although this has not eventuated (yet?), I'm just concerned here about the collapsing of a specific feature flag into a more generic and non-descriptive one.

Ok, I will revert this change. Although I can't see B&W getting labels as the UI would be unworkable on the small screen.

Cleanup view layout code.
@philmoz philmoz force-pushed the philmoz/fix-audio-start-order branch from d298b82 to 0fed7a1 Compare February 16, 2026 10:21
@pfeerick
Copy link
Copy Markdown
Member

pfeerick commented Feb 18, 2026

Note: issue #135 also mentions SF/GF audio may play before the 'hello' audio; but this is not reproducible in recent versions.

And unfortunately I didn't link to the discord message that time, otherwise would have been able to fully double check the requirements to trigger that. Given it was from around 2.5/2.6 though, I think we can safely safe enough stuff has changed since then that it probably is gone.

Seems to be working great on T15 - hello.wav, yappu, ls triggered SF playtrack vs former yappu, hello.wav, ls triggered SF playtrack. 🚀 And I think given the age of this issue, it should be in 2.12... it's one our earlier ones given the issue number! ;)

@pfeerick pfeerick changed the title fix(color): Lua widgets may play audio files before startup 'hello' audio fix(color): play startup 'hello' audio before Lua widgets Feb 18, 2026
@pfeerick pfeerick modified the milestones: 3.0, 2.12.0 Feb 18, 2026
@pfeerick pfeerick merged commit 2e609d8 into main Feb 18, 2026
50 checks passed
@pfeerick pfeerick deleted the philmoz/fix-audio-start-order branch February 18, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working color Related generally to color LCD radios UX-UI Related to user experience (UX) or user interface (UI) behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EdgeTX startup / welcome / hello sound does not come before Lua scripts on power-on

2 participants