[Bug]: Smooth wheel scrolls way too far in Ghostty on macOS
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
The smooth-wheel path emits eased line events, and the momentum path emits continuous pixel events via ScrollFrame::step; start there and compare how each frame is sent when momentum is off. Confirm that about 12 fractional line events per click make Ghostty scroll roughly 36 lines, using the Ghostty scrollCallback link in the report. Done means one click with momentum off scrolls about 3 lines, or the fix is clearly scoped to the OpenLogi side.
Written by the indexing model from the issue text.
Description
Pre-flight checklist
- I searched existing issues and this is not a duplicate.
- I am on the latest release or a recent
masterbuild. - I quit Logi Options+ before running OpenLogi (the two apps fight over HID++ access and only one can own a receiver at a time).
Which part of OpenLogi?
GUI (desktop app)
OpenLogi version
0.9.0
Operating system
macOS
OS version & architecture
macOS 27.2, Apple Silicon
Device model
MX Master 3 + Unifying receiver.
How is the device connected?
Unifying receiver
Affected area(s)
- Device discovery / detection
- Button remapping
- DPI control
- SmartShift
- Per-application profiles
- Battery status
- Settings / configuration (TOML)
- Auto-update
- Menu bar / tray
- Other
What happened?
With Smooth wheel on and momentum scrolling off, one wheel click in Ghostty scrolls much more than the 3 lines it should. Inside tmux with mouse on it's worse, since every line becomes a wheel event and tmux scrolls several lines per event. Browsers and other apps scroll the right distance.
Cause, as far as I can tell: the eased motion goes out as roughly 12 frames per click (100 ms, 8 ms apart). Each frame is a non-continuous line event with a fractional delta of about 0.08. Ghostty's scrollCallback rounds any non-precision event on macOS up to at least 1, because macOS reports slow real wheel clicks as about 0.1 (Surface.zig at v1.4.0). So every frame counts as a full click and then gets Ghostty's default discrete:3 multiplier, which works out to about 36 lines per click.
With momentum scrolling on, the same frames go out as continuous pixel events (ScrollFrame::step), and Ghostty adds those up instead of rounding them. Turning momentum on fixed it for me, so that works as a stopgap. Ratchet scrolling with momentum off still sends the fractional line events, though.
#2613 looks related: there an app ignores wheel-style events completely.
Steps to reproduce
- Turn on Smooth wheel for the mouse and leave momentum scrolling off.
- In Ghostty 1.4.0 with default scroll settings, fill the scrollback (
seq 1 500). - Scroll up one wheel click. It moves far more than 3 lines. Feels like 20-40 lines.
- Turn Smooth wheel off. One click moves 3 lines.
Diagnostics report
### OpenLogi Diagnostics
**App**
- OpenLogi (GUI): v0.9.0 (release)
- Agent: v0.9.0 (connected)
- IPC protocol: GUI 45 / agent 45
- Inventory: ready
- OS: macOS 27.2.1 (arm64)
- Locale: en-US (UI: follow system)
- Accessibility: granted · Input hook: installed
- Virtual keyboard: active
- Launch at login: yes · Menu bar: yes · Update check: on · Update channel: stable
- Running from: source build (dev)
- Config: schema 11 · 1 configured device(s) · thumbwheel 50
**Assets**
- Source: user cache · Index: loaded (286 models) · User cache: present
- Cache path: ~/.local/share/openlogi/assets · Bundle assets: absent
**Devices (1)**
- MX Master 3 — mouse (codename: Wireless Mouse MX Master 3)
- Connection: Logi Unifying receiver · Online: yes · Battery: 100% (discharging, full)
- Capabilities: buttons=yes, pointer=yes, pointer_scaling=no, lighting=no, force_sensing=no
- DPI: 1000 dpi (range 200–4000, 77 steps)
- Model: 0b023 (wpid: 4082, model-ids: b023/4082/0000, ext-model: 00)
- Transports: eQuad, BTLE
- Render: mx_master_3 · Slot 1
**Receivers (1)**
- Unifying Receiver (VID 046d / PID c52b)
openlogi list output
Logs
macOS permissions (if applicable)
- OpenLogi has Accessibility permission (needed to remap buttons via the event tap).
- OpenLogi has Input Monitoring permission (needed for Bluetooth-direct devices and capture).
- Dominant language
- Rust
- Stars
- 26.4k
- Forks
- 1k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 103
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AprilNEA/OpenLogi
-
[Bug]: Installation source reads "Not identified" on the AUR openlogi-bin packagePossibly taken @stevie86 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area: hidpp needs: triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
macOS agent: camera watcher leaks autorelease-pool entries every second (no pool on its thread)Possibly taken @Zekuath claimed this 4 days ago. Openplatform: macos type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
area: assets needs: decision platform: all type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AprilNEA/OpenLogi#2454 · 1 comment ·
Maintainers usually reply within 1 day
-
area: assets platform: all type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AprilNEA/OpenLogi#2452 · 3 comments ·
Maintainers usually reply within 1 day
All issues in AprilNEA/OpenLogi
Similar issues
-
claim
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nixitov/Riptide-Native#946 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
听歌识曲历史跳转后对应音源界面无法返回Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LingyunStudio/RustMusic#16 ·