[Bug] Silence timeout doesn't close interface and start transcription; causes silent loss of dictated speech.

Đang mở
#765 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@LeanBitLab đang làm issue này rồi.

Từ ngày 3/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

This issue involves the LeanType Voice Plugin, but I'm reporting it here because the silence-timeout setting and recording UI are managed through the main keyboard application.

Describe the bug

  1. When the configured silence timeout is reached, audio capture stops (unverified whether it actually does stop, however the result is the same regardless) without providing any clear indication to the user.
  2. The visual waveform does drop to a fraction of its previous amplitude, even when speaking resumes at normal volume. However, this is not a sufficiently noticeable change to meaningfully indicate that recording has stopped, unless the user is already aware of the issue and specifically watching for it. Even at its reduced amplitude, the waveform continues to animate, giving the impression that recording is still in progress.
  3. The recording interface / waveform remains active, does not close, and transcription does not begin until the user selects the "check" icon to close the recording interface and begin transcription, or the "X" icon to cancel recording and transcription. In fact, the recording interface appears to remain active indefinitely until the user selects one of these 2 options / buttons. Only when the user manually stops the recording and confirms it does transcription begin (as far as I'm aware, this is the only way to initiate transcription). The resulting transcription includes only the speech captured before the silence timeout was reached.

The silence timeout therefore fails to:

  1. Provide any indication that it has been reached.
  2. Close the recording interface and stop the waveform animation.
  3. Automatically initiate transcription of the captured audio, as is typical of voice input in other keyboards.

This creates a misleading recording state that can result in substantial, unnoticed loss of dictated speech.

To Reproduce

  1. Set the Voice Plugin's silence timeout to 5 seconds (or any length of time).
  2. Start dictation and speak normally.
  3. Pause for approximately 5 seconds (or previously selected length), then resume speaking.
  4. Observe that recording interface does not close, nor is there any clear indication of the timeout being reached, as the waveform remains active (albeit at a reduced amplitude).
  5. Continue dictating, then manually stop and confirm the recording and transcription.
  6. Observe that the resulting transcription contains only the speech preceding the silence timeout, omitting everything dictated afterward.

Expected behavior

  1. When the silence timeout is reached, recording and the recording interface including the waveform animation should stop as well, clearly indicating that audio is no longer being captured. The interface should not continue displaying an active recording interface and waveform while subsequent speech is discarded.

  2. When the silence timeout is reached and recording stops, transcription should start automatically without the requirement for further user prompting. This is the default / typical behaviour of voice input features in other commonly used keyboards.

Screenshots
None attached. The issue is most apparent during an active recording.

App version & Flavor

  • LeanType: v4.3.1, Offline
  • Voice Plugin: 1.0.1
  • Whisper Base (~57 MB)

Device Info

  • Model: Samsung Galaxy S22 Ultra
  • OS version: Android 16
  • OneUI VersionL 8.0
Ngôn ngữ chính
Kotlin
Star
1k
Fork
59
Merge trung bình
14 giờ 9 phút
Pull request đã merge (30 ngày)
56

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LeanBitLab/LeanType

Tất cả issue của LeanBitLab/LeanType

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.