Skip to content

[BUG] Insert Last in the overlay Actions menu does nothing #1465

Backlog

Description

@dreadloop

Describe the bug

Clicking Insert Last in the overlay's Actions (⋯) menu never inserts anything. The Actions menu is only visible while the overlay shows an active dictation, and pasteLastDictationFromHistory() returns early whenever a recording is running, so the row is a no-op every time it can be clicked. The other history actions in the same menu (Process Again, Use Raw Text) stop the recording first and work.

Reproduction steps

  1. Dictate something into any text field so History has a latest entry.
  2. Start dictation again so the overlay appears.
  3. Click ⋯ (Actions) on the overlay, then click Insert Last.

Expected behavior

The active recording is discarded and the latest transcription is inserted at the cursor, as Process Again and Use Raw Text already do from the same menu.

Actual behavior

Nothing is inserted. The log shows the paste was skipped because a recording was running.

App Version

1.6.13

macOS Version

27.3

Architecture

Apple Silicon

Logs or crash report

[10:23:59.511] [INFO] [ContentView] Actions: Paste skipped - recording in progress
[10:24:03.854] [INFO] [ContentView] Actions: Paste skipped - recording in progress
[10:24:10.130] [INFO] [ContentView] Actions: Restoring latest transcription raw text (undo AI)
[10:24:10.147] [INFO] [ContentView] Actions: stopping active recording before history action output
[10:24:15.169] [INFO] [ContentView] Actions: Paste skipped - recording in progress
[10:24:17.855] [INFO] [ContentView] Actions: Reprocessing latest dictation history entry
[10:24:17.875] [INFO] [ContentView] Actions: stopping active recording before reprocess

The paste-last hotkey is not affected in the same way: it intentionally ignores presses while recording.

Activity

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