Skip to content

Linux Status reports Listening throughout capture after reopening an idle microphone #469

Closed

Description

@subhoghoshX

Reproduced with packaged hex 0.0.0-dev-249 on Fedora 44 / GNOME 50.6 Wayland, with Commands off, HEX_STREAMING=0, and Release microphone while idle enabled. No external HUD feed was enabled.

Steps

  1. Enable Release microphone while idle and wait until Hex is ready.
  2. Run hex dictation start and provide speech for several seconds.
  3. During recording, repeatedly inspect desktop.activity.state through hex status.
  4. Stop with hex dictation stop --print.

Expected: Status remains Dictating during the accepted recording.

Observed: Status changes back to Listening after microphone reopen and can remain there until recording stops. Transcription still receives the complete clip.

An isolated virtual-input reproduction produced:

     0 ms  Started / Dictating
    41 ms  Listening
10,379 ms  Dictation submitted
10,382 ms  Transcribing

Excluding the first and last 200 ms, all 222 sampled replies reported Listening. With release-while-idle disabled, the same packaged executable had zero Listening replies in 221 interior samples. Both cases retained the expected final words.

At the dev-249 source baseline, Start sets start_pending, but Reopened computes status from capture.is_recording() without accounting for that flag. The first audio chunk then starts capture without another Dictating emission. The native indicator already includes start_pending.

Tests used private settings, generated speech, and a temporary virtual input. The live service and default microphone were unchanged. This is separate from #464; newer development commits have not been checked for a fix.

Activity

  1. added a commit that references this issue on Oct 30, 2026
    d969cdf
  2. thdxr commented on Oct 30, 2026

    @thdxr
    Member

    Thanks for the report. A fix is merged into dev and ships in the next dev build: #470

    What we understood

    • Area: dictation status reporting with release microphone while idle (linux, 0.0.0-dev-249)
    • Summary: On Linux, with the option to release the microphone while idle enabled, the reported activity status switches from Dictating to Listening right after the microphone reopens. It stays on Listening for the rest of the recording, although transcription still receives the whole clip.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions