Skip to content

Fix idle-state audio handling and tray balloon messaging - #41

Merged
GorangN merged 13 commits into
mainfrom
dev/BugfixesIDLE
Apr 21, 2026
Merged

Fix idle-state audio handling and tray balloon messaging#41
GorangN merged 13 commits into
mainfrom
dev/BugfixesIDLE

Conversation

@GorangN

@GorangN GorangN commented Apr 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Update idle-state audio logic in MainViewModel and AudioService to better handle playback transitions
  • Add balloon notification messaging and wire it through the app startup flow
  • Extend tests to cover the revised view model behavior
  • Refresh task tracking notes and lessons

Testing

  • Not run (not requested)

GorangN added 6 commits April 18, 2026 19:42
Settle-Delay greift jetzt auf Zeitabstand seit letztem Teardown statt
auf den physischen BT-Link — der Zombie-Retry-Loop rauschte sonst ohne
Delay in UnknownFailure. Diagnose-Logging für StateChanged, reason-Tag
am Disconnect und Grund-Logging in IsDeviceConnected. TaskbarIcon und
ContextMenu haben expliziten DataContext auf das Window, behebt die
OpenCommand/ExitCommand BindingExpression-Fehler.
@GorangN
GorangN marked this pull request as ready for review April 20, 2026 10:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 300c59e83e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread EasyBluetoothAudio/Services/AudioService.cs Outdated
GorangN added 3 commits April 20, 2026 12:39
- Automatische Zombie-Erkennung und Peak-Metering entfernt (NAudio-Abhängigkeit entfällt)
- Recovery-Logik auf manuelle UX umgestellt: „Reconnect“-Button im Hauptfenster und Tray-Menü
- Automatischer Reconnect nur noch bei echtem Verbindungsverlust oder Initial-Fehlschlag, max. 2 Versuche à 3s
- Nach erschöpften Versuchen klare Nutzerführung: „AUDIO LOST - CLICK CONNECT“
- ViewModel und Service-Interfaces entsprechend vereinfacht und restrukturiert
- UI: Split-Button-Animation für „CONNECT“ → „RECONNECT“/„DISCONNECT“
- Tests umfassend angepasst und erweitert, keine versteckten Idle-Recoverys mehr
- Lessons- und Todo-Dokumentation aktualisiert
- Build und Tests fehlerfrei
@GorangN

GorangN commented Apr 21, 2026

Copy link
Copy Markdown
Owner Author

@claude @codex review again

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 487166dec4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread EasyBluetoothAudio/ViewModels/MainViewModel.cs Outdated
GorangN added 2 commits April 21, 2026 16:52
- Add explicit IsRecoverableConnectionLoss state to distinguish full Connect from one-shot Reconnect
- Implement bounded auto-reconnect (2 attempts, 3s spacing) for real connection loss
- Add physical-aware fallback: AUDIO LOST guides to Reconnect if BT link remains, else Connect
- Add ShowReconnectActions/ShowConnectAction computed properties for UI visibility
- Update BluetoothConfigView.xaml triggers to use ShowReconnectActions instead of IsConnected
- Rewrite MainViewModelTests to validate recoverable state, physical fallback, and no idle-time hidden recycling
@GorangN

GorangN commented Apr 21, 2026

Copy link
Copy Markdown
Owner Author

@codex review again, i want do approve the pr

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1ea6e40221

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread EasyBluetoothAudio/ViewModels/MainViewModel.cs Outdated
@GorangN

GorangN commented Apr 21, 2026

Copy link
Copy Markdown
Owner Author

@codex okay can I approve now?

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@GorangN

GorangN commented Apr 21, 2026

Copy link
Copy Markdown
Owner Author

To use Codex here, create an environment for this repo.

@codex, no i just want to know, if i can approve

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 553f18c72d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread EasyBluetoothAudio/ViewModels/MainViewModel.cs
…nnection.GetDeviceSelector() presence as the “physical link still up” signal for \SNK devices. IsBluetoothPhysicallyConnectedAsync(...) no longer depends on System.Devices.Aep.IsConnected, and device discovery now uses the same selector-backed source of truth, which keeps the fallback on Reconnect when Windows still exposes the remote source. IAudioService.cs (line 50) now documents that contract.
@GorangN
GorangN merged commit 081db6c into main Apr 21, 2026
1 check passed
@GorangN
GorangN deleted the dev/BugfixesIDLE branch April 21, 2026 16:11
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.

1 participant