[Bug] 权限确认弹窗对回车键和鼠标点击经常无响应,需多次操作才能生效
Open
Nobody has claimed this yet.
priority: P2
status: 待评估
type: Bug
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
提交前确认 · Pre-submission checklist
- 我已搜索过现有 issue,确认这不是重复 / I searched existing issues and confirmed this isn't a duplicate.
- 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category
对话 / Agent 交互 · Agent chat
涉及的 Agent 框架 · Agent framework
ZCode Agent(自研)
严重程度 · Severity
阻塞使用 · Blocking (无法使用核心功能 / core function unusable)
复现频率 · Reproducibility
偶现 · Sometimes
问题描述 · Description
当工具调用触发权限确认弹窗(“需要权限”)时,经常出现
- 按下回车键(确认默认选项)没有反应,需要按多次;
- 直接点击选项按钮也经常没有反应,需要反复点击才能选中;
- 偶尔点击后弹窗不消失也不执行,疑似事件丢失而非单纯延迟。
复现步骤 · Steps to reproduce
- 正常使用 “变更前确认” 模式交互
- 模型需要执行某项指令,需要人工授权
- 点击授权/tab 选中授权后回车/选中后点击确认
期望表现 · Expected behavior
应该正常授权并继续会话
实际表现 · Actual behavior
卡住无任何反应,需要多次反复点击
ZCode 版本 · ZCode version
v3.7.7
设备 / 系统 / 浏览器 · Device / OS / Browser
macOS26.6.1
截图 / 录屏 / 日志 · Screenshots / Recordings / Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or implementation entry points are identified in this feedback issue. Reproduce the permission-confirmation flow in ZCode v3.7.7 on macOS 26.6.1 with both Enter and mouse confirmation, then trace the relevant desktop event handling; done means authorization consistently dismisses the dialog and resumes the session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100