Touchpad scrolling: smooth, and the wheel scrolls the view instead of the highlight (D86)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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).
- Langage dominant
- Rust
- Étoiles
- 0
- Forks
- 0
- Merge moyen
- 3 h 30 min
- PR mergées (30 j)
- 25
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de publicusr/singularity
-
enhancement ready-for-agent
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
publicusr/singularity#55 ·
Les mainteneurs répondent en général sous 1 jour
-
ready-for-agent
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
publicusr/singularity#17 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 28/100
publicusr/singularity#62 ·
Les mainteneurs répondent en général sous 1 jour
-
Now playing as an iPod (idea)Ouverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
publicusr/singularity#61 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 30/100
publicusr/singularity#60 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de publicusr/singularity
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
symposium-dev/symposium#530 ·
Les mainteneurs répondent en général sous 5 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
topgrade-rs/topgrade#2540 ·
Les mainteneurs répondent en général sous 1 jour
-
Invalid JSON options for ngram and edge_ngram silently use defaultsPeut-être pris @Tilendlesa l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
noemaforge/vimanam#153 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 1 jour