Skip to content

fix: CGEventPost 后无验证即记 Inserted — 权限被撤后历史虚假成功 #62

@appergb

Description

@appergb

现象 (Codex)

`insertion.rs:137` post Cmd+V 后无任何成功验证,直接把 status 设为 `Inserted`。辅助功能权限被撤销或当前控件不接受粘贴时,历史详情仍显示"已插入",但实际并没有进入用户输入框。

位置

  • `insertion.rs:137`
  • `insertion.rs:157`
  • `insertion.rs:82`

期望

  • macOS:检查 Accessibility 权限再 post,无权限 → `CopiedFallback`
  • 加 timeout 检测 / pasteboard read-back(次优)
  • 历史里至少别撒谎

严重度

medium — 用户找不到自己的话去哪了。

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions