[Bug]: Conversation feed stutters and bounces back while streaming (macOS, arm64 desktop)
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 15/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- electron, macos
- 領域
- desktop, frontend, performance
研究方向
The payload names no repository files, so start by locating where the desktop app launches its Chromium helper processes and where the --disable-features list is set; check whether DropInputEventsWhilePaintHolding is disabled there. Then find the feed component that auto-follows new streamed content and see how it handles user scroll. Done means a reproducible streaming-scroll test or a documented root cause, plus a fix that keeps scroll position while output streams.
由索引模型根據 Issue 內容生成。
描述
Summary
While a response is streaming, the conversation feed scrolls with heavy stutter / dropped frames, and scrolling up with the mouse bounces back to the newest content — so long streamed outputs can't be read in real time. Idle scrolling is fine; this only happens while tokens are arriving.
Environment
- Command Code desktop 0.1.54 (auto-updated from 0.1.53 while testing — not fixed in 0.1.54)
- macOS 27.0 (build 26A428)
- Apple M1 (8-core); built-in Retina display 4480 x 2520 at native scaling, single display
- App is native arm64 (
Mach-O thin (arm64);sysctl.proc_translated= 0) - GPU acceleration on — helper runs as
Command Code Helper --type=gpu-process
Steps to reproduce
- Open a session with a large transcript (observed around 3 MB / ~500 entries).
- Send a prompt that produces a long streamed response.
- While tokens are still arriving, scroll up with the mouse/trackpad.
Result: the feed stutters and snaps back to the bottom; earlier lines can't be read.
Expected
- Scrolling stays smooth while streaming.
- Scrolling up detaches from the auto-follow instead of bouncing back.
What was ruled out
- Rosetta / translation — app is native arm64. It was previously running the Intel build; switching to the Apple-Silicon build did not fix this streaming scroll stutter.
- Software rendering — GPU process is present and GPU-compositing flags are active on the renderer.
- Non-native display scaling — display is at its native mode.
- A settings workaround — the config registry exposes no scroll / auto-follow / transcript-render option.
- A newer version — 0.1.54 is current.
Likely suspect
Helpers are launched with --disable-features=...,DropInputEventsWhilePaintHolding,.... With that feature disabled, input events aren't shed while a paint is held, so scroll input queues during heavy streaming repaint — which matches the reported "scroll up and it bounces back" behavior.
Requests
- Add a scroll-follow toggle, or detach auto-follow as soon as the user scrolls up.
- Consider disabling elastic overscroll for the feed (
overscroll-behavior: none). - Consider re-enabling
DropInputEventsWhilePaintHolding. - Investigate repaint/relayout cost for large transcripts while streaming.
Diagnostics
- During streaming the renderer is the hot process; on the pre-arm64 (Intel) build the main process spiked to ~100% CPU.
- No crash reports for the app; the
~/.commandcodedata directory is small (no obvious leak). - Trace ids (for support):
99e8f6007c859816e280fac896c81bad,d0da42a640d1a24a1b6d1a1c7dcb2588
- 主要語言
- Shell
- 星號
- 96
- 分支
- 7
- 平均合併
- 2 小時 46 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CommandCodeAI/desktop 的其他 Issue
-
[UI Bug][macOS] Sidebar toggle is vertically misaligned with window controls可能已有人在做 @aliarain 於 17 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 70/100
CommandCodeAI/desktop#125 · 1 則留言 · 已指派 1 人 ·
-
bug
難度 4/5 3-5 天 新手友好度 35/100
CommandCodeAI/desktop#147 ·
-
[Bug]: Plan mode occasionally responds with normal chat text instead of creating an execution plan未關閉bug
難度 4/5 3-5 天 新手友好度 25/100
CommandCodeAI/desktop#145 ·
-
bug
難度 4/5 3-5 天 新手友好度 25/100
CommandCodeAI/desktop#144 ·
-
bug
難度 3/5 半天 新手友好度 55/100
CommandCodeAI/desktop#143 ·
查看 CommandCodeAI/desktop 的全部 Issue
相似的 Issue
-
area: compat area: parsing bug
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
Add dependabot未關閉feat
難度 2/5 1 小時以內 新手友好度 72/100
open-nudge/opentemplate#204 ·
維護者通常 1 天內回覆
-
omarchy-brightness-keyboard: double idle-blank saves brightness 0, so wake 'restore' keeps the keyboard backlight off可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
Type/Improvement
難度 2/5 1-3 小時 新手友好度 62/100
wso2/product-integrator-mi#5099 ·
維護者通常 1 天內回覆
-
[Bug] Windows 上 pwsh 工具名未按 exec 分类着色,与状态圆点颜色家族分裂可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 62/100
ccch1mneyyy/dsh-TUI#1555 ·
維護者通常 1 天內回覆