Otter-shell · #66
otter-term's "scroll rows per notch" sometimes scroll the defined value + 1
! Please fill out this field.
Bug report
Steps to reproduce
- open otter-term
- fill the terminal with printed output
- try to scroll the mousewheel notch by notch
- see whether the terminal scrolls X or X + 1 (behavior is inconsistent and doesnt always happen)
Expected behavior
it should scroll exactly x and only x lines
Actual behavior
sometimes it scrolls x + 1 lines
Environment
WM: mango 0.16.1(3cb7cb2d) Env: otter-bar/pika,now 0.11.88-101pika1 Model: HP laptop 15-fc0015la (15-fc0xxx) MoBo: 8B30 CPU: AMD Ryzen 7 7730U with Radeon Graphics RAM: 24.49 GB DDR4 @ 3200MT/s kernel: 7.1.8-pikaos
Discussion
Sign in with Discord to comment.
PikaOS Projects
Fixed and pushed in otter-wayland 869cc93 and otter-term ce8cae8. Shared seat handling now exposes exact
axis_value120wheel detents (with legacyaxis_discretefallback), and otter-term uses those exact steps forscroll_rows_per_notchinstead of accumulating imprecise continuous axis pixels. Smooth touchpad scrolling still usesscroll_fixed_per_row. Added regressions for detent routing and residual-free 120-unit accumulation. Verified with ReleaseFast tests in both components and a ReleaseFast otter-term app build.