Skip to content

fix(tray): reset icon to idle when transcription yields empty text#69

Merged
jafreck merged 1 commit intomainfrom
fix/idle-icon-on-empty-transcription
Mar 29, 2026
Merged

fix(tray): reset icon to idle when transcription yields empty text#69
jafreck merged 1 commit intomainfrom
fix/idle-icon-on-empty-transcription

Conversation

@jafreck
Copy link
Copy Markdown
Owner

@jafreck jafreck commented Mar 29, 2026

Problem

Fix

Removed the empty-text guards in both the in-memory and file-backed transcription paths so TranscriptionDone is always sent. The existing on_transcription_done handler already handles empty text correctly — it skips text insertion and resets the tray to Idle.

When Whisper produced no usable text (silence, short audio, or
hallucination filtering), the TranscriptionDone message was never sent,
leaving the tray icon stuck in the yellow Transcribing state. Always
send the message so on_transcription_done can transition back to Idle.
@jafreck jafreck merged commit 3806410 into main Mar 29, 2026
5 checks passed
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