Repository navigation
feat: improve connection animation, audio auto-connect, battery detection, and tray exit - #261
Closed
aaroncheungzy wants to merge 2 commits into
Closed
aaroncheungzy wants to merge 2 commits into
aaroncheungzy wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR improves four areas of the connection experience: connection animation and feedback, automatic connection on audio playback, battery detection, and the tray Quit button. Supersedes #253.
1. Connection animation and feedback
2. Automatic connection on audio playback
The new configuration key is
audio_auto_connect_enabled, with a default value offalse.3. Battery detection and source filtering
Source selection remains a heuristic; unauthenticated broadcasts alone cannot prove that two advertisements belong to the same pair.
4. Tray Quit button
QCoreApplication::exit(0)on the GUI thread, preserving normal application destruction and worker cleanup.No new dependencies are introduced.
Validation
RelWithDebInfobuild passed with Qt 6.8.3 and MSVC 19.51 (Visual Studio 2026 Build Tools).ctest --test-dir Build -C RelWithDebInfo --output-on-failure: 12/12 test targets passed. The optional native tone smoke test is opt-in and skipped in the standard run.git diff --checkpassed.Screenshots
Captured by the local UI tests: