Touchpad scrolling: smooth, and the wheel scrolls the view instead of the highlight (D86)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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).
- Lenguaje dominante
- Rust
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 3 h 30 min
- PR fusionados (30 d)
- 25
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de publicusr/singularity
-
enhancement ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
publicusr/singularity#55 ·
Los mantenedores suelen responder en 1 día
-
ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
publicusr/singularity#17 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
publicusr/singularity#62 ·
Los mantenedores suelen responder en 1 día
-
Now playing as an iPod (idea)Abiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
publicusr/singularity#61 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
publicusr/singularity#60 ·
Los mantenedores suelen responder en 1 día
Todos los issues de publicusr/singularity
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
mufeedvh/code2prompt#355 ·
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
area:3d effort:medium P7 source:agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
akitaonrails/ai-memory#2446 ·
Los mantenedores suelen responder en 1 día