Otter-shell · #66

otter-term's "scroll rows per notch" sometimes scroll the defined value + 1

ClosedBugHigh1 votes1 commentsby Baba/爸爸/баба

! Please fill out this field.

Bug report

Steps to reproduce

  1. open otter-term
  2. fill the terminal with printed output
  3. try to scroll the mousewheel notch by notch
  4. 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

Ferreo

Fixed and pushed in otter-wayland 869cc93 and otter-term ce8cae8. Shared seat handling now exposes exact axis_value120 wheel detents (with legacy axis_discrete fallback), and otter-term uses those exact steps for scroll_rows_per_notch instead of accumulating imprecise continuous axis pixels. Smooth touchpad scrolling still uses scroll_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.

Sign in with Discord to comment.