[Bug]: Drop-to-attach overlay stays stuck after interrupted drag
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- desktop
调研方向
The issue describes a bug in the private desktop application code, which is not in this public repository. A newcomer would need to understand the drag overlay lifecycle in the private codebase. The first step is to locate the drag overlay handling code in the private repository, then examine event paths for drag end, focus loss, and cancellation. 'Done' means the overlay clears reliably and CPU usage returns to normal after an interrupted drag.
由索引模型根据 Issue 内容生成。
描述
Problem
A drag entering the Command Code desktop window can leave the “drop to attach” overlay stuck if the source process exits before the app receives a terminal drag event. The report describes the overlay remaining until reload and the renderer using 30–66% CPU while otherwise idle.
Expected behavior
The overlay should clear when the drag ends, including when the source disappears and no drop or dragleave arrives. An inactive overlay should not keep the renderer busy.
Reproduction
- Start dragging an item from another app over the Command Code window.
- End the source process during the drag.
- Check whether the overlay clears without reloading the desktop app.
Environment and evidence
Reported on Command Code GUI 0.1.37, macOS 27.0 (build 26A428), Apple silicon. The original report includes a renderer sample and CPU observations in the issue filed in the wrong repository.
Proposed direction
Please inspect the private desktop application code that owns the drag overlay and determine how to guarantee teardown when terminal drag events are missing. Candidate safeguards include handling all available end/focus/cancel paths, a bounded watchdog, and pausing overlay work when no drag is active. These are options for investigation, not a prescribed implementation; the renderer source is not present in this public repository, so the root cause remains to be confirmed by maintainers.
The public desktop repository contains installers, documentation, and issue tracking. Application source is private, so this report tracks the GUI behavior and does not claim to provide or test an application-code fix.
Automated posting by agentic team with human oversight.
- 主要语言
- Shell
- 星标
- 80
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommandCodeAI/desktop 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
CommandCodeAI/desktop#107 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/desktop#94 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/desktop#66 · 1 条评论 · 2 个 reaction ·
-
难度 5/5 一周以上 新手友好度 30/100
CommandCodeAI/desktop#109 · 1 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
CommandCodeAI/desktop#105 ·
查看 CommandCodeAI/desktop 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
module: core
难度 2/5 1-3 小时 新手友好度 75/100
bigbluebutton/bigbluebutton#25849 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
难度 1/5 1 小时以内 新手友好度 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
难度 2/5 1-3 小时 新手友好度 70/100
fairagro/m4.2_sql_to_arc#227 ·