Lightning 0.5.19 is a timeline scrolling and input-ergonomics release.
Highlights:
• Substantially more responsive physical mouse-wheel scrolling. 0.5.18 relied
entirely on Flickable's built-in wheel handling, which maps one physical notch
to only a few lines — the confirmed cause of the "must rotate the wheel many
times" complaint. A new device-aware policy (TimelineScrollController, exposed
as app.timelineScroll) maps each discrete angle-delta notch to a bounded,
viewport-relative distance, so one notch now covers a meaningful fraction of
the viewport.
• Smooth, coalesced wheel movement. Rapid notches extend one reusable
animation rather than queuing independent ones, partial/high-resolution angle
deltas accumulate instead of being dropped, and a direction reversal redirects
from the live position immediately. There is no per-event animation queue and
no permanently running timer.
• Preserved precision touchpad / pixel scrolling. High-resolution pixel-delta
input is applied directly with only mild scaling — never the discrete-notch
multiplier — so fine two-finger movement and the platform's own momentum
stream stay precise and are not fought by a second animation.
• Persistent Mouse-wheel speed setting. Settings → General → Timeline now
offers Standard / Fast / Very fast, stored as a stable integer and applied
live without a timeline restart. Fast is the new default; Standard approximates
the older modest distance; Very fast suits low-resolution wheels. The setting
tunes discrete-wheel distance only — touchpad pixel scrolling, Jump to latest,
reply navigation, room restoration, pagination anchoring and keyboard distance
are all independent of it. An unknown or legacy stored value falls back to Fast.
• Keyboard timeline navigation. Page Up / Page Down move about one viewport,
Home goes to the earliest loaded event, End jumps to latest (sharing one
implementation with the Jump to latest button), and Space / Shift+Space page
down / up. Handling lives on the timeline's own key handler, so a focused
composer, search field, dialog, or context menu keeps its keys. Keyboard
distances are independent of the mouse-wheel speed setting.
• Preserved timeline behaviour. Scrolling up leaves follow-latest immediately;
returning to the bottom resumes it; new messages never force-scroll a reader.
Near-top scrolling still drives the existing bounded pagination without a
request storm, prepended history keeps its visual anchor, per-room scroll
anchors and the first-unread divider are intact, and programmatic navigation
(Jump to latest, reply targets, anchor restore, room switch, timeline
teardown) always cancels wheel/keyboard motion so restoration is never animated
as physical input. Also fixes a latent defect where the wheel animation's stop
handler referenced an id as a property and could throw at runtime.
Security boundaries are unchanged. All scrolling is local UI state: no Matrix
cryptography in C++/QML, no second timeline or synchronization engine, no
access tokens or authenticated media URLs exposed to QML, no decrypted
plaintext persisted, and the existing media/preview/URL boundaries are intact.
Matrix dependencies remain pinned to matrix-sdk 0.18.0 and matrix-sdk-ui
0.18.0 (unchanged).
Validation: 20 Rust tests passed; the Rust-enabled and non-Rust builds both
succeeded; both CTest suites passed 21/21 (including a new pure
TimelineScrollController math suite and QML runtime tests that route a real
QWheelEvent through the handler and real Page Up/Down/Home/End/Space key
events through the timeline); both binaries report matrix-client 0.5.19; and
git diff --check is clean. The Rust-backed client was launched against the
persistent logged-in test account and ran a stable session (clean stderr, no
binding loops / ReferenceError / TypeError / panic, settled low CPU, normal
shutdown).
Live-validation limitation: this release environment has no physical mouse,
touchpad, or input-injection tooling, so the interactive feel of physical
mouse-wheel speed (Standard/Fast/Very fast), touchpad precision/momentum, and
by-hand keyboard scrolling were NOT manually exercised and are reported as NOT
TESTED rather than claimed as passing. These paths are covered by the
deterministic automated tests above, including real synthesized wheel and
keyboard events routed through the actual pane.
Version: 0.5.19.
Mirrored from the canonical release: https://gitlab.smetonis.net/Mizerd/lightning/-/releases/v0.5.19 — installation packages are hosted on GitLab:
(source-only release)