Skip to content

fix(clipboard): signal when quick paste cannot reach the target app - #1958

Open
PathGao wants to merge 1 commit into
vorssaint:mainfrom
PathGao:fix/clipboard-paste-unavailable-feedback
Open

PathGao wants to merge 1 commit into
vorssaint:mainfrom
PathGao:fix/clipboard-paste-unavailable-feedback

Conversation

@PathGao

@PathGao PathGao commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Picking an entry in the clipboard history window copies it and then sends ⌘V to the app that was in front. When that app had quit, or Vorssaint had no Accessibility permission, the paste never happened and nothing said so.

Now it beeps when the target app is gone. Without Accessibility it opens the system prompt once, then beeps on later tries, the same way Paste as Plain Text handles it since #186. The entry is still copied in both cases, so ⌘V by hand works.

Verification

  • Apple M5, macOS 27.0.
  • ./build.sh --test: TESTS OK (61,541 checks). The new checks run the production quick paste with a test app and Accessibility grant and fail without the fix: a quit app beeps, a missing grant prompts once and then beeps.
  • ./build.sh: compiles and links with 0 warnings.

Related issues

Refs #937

Choosing an entry copied it, but when the target app had quit or Accessibility was missing the paste silently never happened. Now it beeps, or asks for Accessibility once, like Paste as Plain Text.
@PathGao
PathGao requested a review from vorssaint as a code owner September 24, 2026 06:27

This branch has not been deployed

No deployments
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