[Bug]: Conversation feed stutters and bounces back while streaming (macOS, arm64 desktop)
まだ誰も着手していません。
評価
- 難易度
- 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分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
reubeno/brush#1526 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Micke-K/IntuneManagement#441 ·
-
review-2026-10 Trad En
難易度 2/5 半日 初心者へのやさしさ 70/100
zigbeefordomoticz/wiki#302 ·
-
refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
UnionInternationalCheminsdeFer/OSDM#1647 ·
メンテナーはふだん 1 日以内に返信
-
Add dependabotオープンfeat
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
open-nudge/opentemplate#204 ·
メンテナーはふだん 1 日以内に返信