Touchpad scrolling: smooth, and the wheel scrolls the view instead of the highlight (D86)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with term::WheelBursts in crates/client/src/term.rs, which folds repeated wheel reports within 8 ms, and with scroll::moved/scroll::window, which move the highlight. Record a touchpad swipe and a wheel notch in Ghostty, then add failing tests next to wheel/tests.rs and check the pty wheel-all case. Done when touchpad swipes scroll smoothly, the wheel keeps one notch per step, and CLAUDE.md matches the new rule.
索引モデルが issue の本文から書いたものです。
説明
Found on the first ARM run (the Mac's touchpad in Ghostty): scrolling a list with the touchpad is jerky, and picking one entry is hard.
Why (read from the code, not yet measured)
- The terminal mouse protocol reports wheel up/down only, no distance, so the Client can't tell a touchpad from a wheel.
term::WheelBursts(crates/client/src/term.rs) drops any repeat within 8 ms of a burst's first report, to fold Ghostty's 3 reports per wheel notch (mouse-scroll-multiplier = discrete:3) back into one notch. A touchpad swipe is a stream of reports at uneven gaps (Ghostty'sprecisionmultiplier), so some get dropped and some don't: uneven speed and jumps.- In lists the wheel moves the highlight and the window follows it (
scroll::moved/scroll::window), so a swipe drags the selection along and landing on a row is fiddly.
Decision (D86, owner: "lets try it")
The wheel and the touchpad scroll the view; the highlight follows the pointer on hover; a click picks the row. Keys keep moving the highlight as today. Smooth touchpad scrolling (no dropped or bunched reports) without breaking the one-notch-one-step wheel.
What to do
- Record a real touchpad swipe's report timing in Ghostty (fast flick, slow drag, a stop) and a wheel's, and replay both in tests (red first) next to
wheel/tests.rs. - Tell the two apart by timing where it's possible, or treat every report as a step and fold only Ghostty's exact triple.
- The view-scroll model above for every list (the
wheel::Widgetandapp::Pagearms; ptywheel-allshows them all); update the CLAUDE.md wheel rule if it changes. - Check with a mouse wheel on the PC and the touchpad on the Mac.
Order (round 2026-11-23): after the Pane-moving rethink (#21).
- 主要言語
- Rust
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 30分
- マージ済み PR(30日)
- 25
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
publicusr/singularity のほかの issue
-
enhancement ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
publicusr/singularity#55 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
publicusr/singularity#17 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
publicusr/singularity#62 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
publicusr/singularity#61 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
publicusr/singularity#60 ·
メンテナーはふだん 1 日以内に返信
publicusr/singularity の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mufeedvh/code2prompt#355 ·
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:3d effort:medium P7 source:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
akitaonrails/ai-memory#2446 ·
メンテナーはふだん 1 日以内に返信