From 474ddd078d0d976a84e88b8003bbf0cee40a2aaa Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 17 Nov 2026 09:40:51 +0100 Subject: feat(settings): faster wheel scrolling, and paging keys on pages The settings window's page scroller, sidebar and landing page take a higher maximum flick velocity (8000, Qt's default 2500) and a stronger deceleration (4000, from 1500), so a fast wheel spin travels further while a single notch does not coast on. Pages also answer Page Up/Down (90% of a screen) and Home/End. A ScrollView handles none of them, and nothing on a page could hold focus except its fields, so a MouseArea beneath the content focuses the scroller on a click in empty space. It sits under every item, so fields and buttons keep their clicks; it has no onWheel, so wheel events pass to the Flickable. Keys pressed in a field bubble up: Page Up/Down still scroll, Home/End stay with the field's cursor. Co-Authored-By: Claude Opus 5.5 --- desktop/Settings.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'desktop/Settings.qml') diff --git a/desktop/Settings.qml b/desktop/Settings.qml index 6b81586..2e151a9 100644 --- a/desktop/Settings.qml +++ b/desktop/Settings.qml @@ -228,6 +228,9 @@ Scope { // Without it a scrolled list draws over the search box. clip: true model: root.found + // Faster wheel scrolling, as Page.qml. + maximumFlickVelocity: 8000 + flickDeceleration: 4000 // A group's heading above its first entry, then the entry. delegate: Column { @@ -449,6 +452,9 @@ Scope { contentHeight: about.height clip: true boundsBehavior: Flickable.StopAtBounds + // Faster wheel scrolling, as Page.qml. + maximumFlickVelocity: 8000 + flickDeceleration: 4000 ScrollBar.vertical: ScrollBar {} Column { -- cgit v1.2.3