Skip to content

feat(gesture): add a cursor swipe distance setting (#942) - #955

Merged
LeanBitLab merged 1 commit into
mainfrom
feat/cursor-swipe-distance
Nov 27, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
feat/cursor-swipe-distance

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

Fixes #942

Change

  • New setting Settings → Gestures & swipes → Cursor swipe distance (in the swipe fine-tune section): finger travel per character, 5-40 dp, default 10 dp.
  • Applies to moving the cursor on the space bar, deleting by character on the delete key, and the full keyboard cursor swipe, which all used a fixed 10 dp step.
  • The default is the old fixed value, so nothing changes until the slider is moved.
  • Word-by-word delete (just tuned in fix(gesture): need more finger travel for the first words of a delete swipe #951) and the language swipe distance are unchanged. Touchpad sensitivity still applies only to touchpad mode.
  • Search words "sensitivity speed fast"; settings map regenerated; FEATURES section 19 mentions the setting.
  • The i18n hook translated the two new strings and also filled 3 strings from earlier PRs that had no translations yet (keyboard_test_field, keyboard_test_field_hint, ai_cancelled).

Testing

  • SettingsContainerTest: 6 tests, 0 failures. assembleStandardDebug builds; generate_settings_map.py --check passes.
  • Waydroid: a 120 px space bar swipe moved the cursor 12 characters at 10 dp and 5 characters at 20 dp. The slider shows "10 dp (Default)" and was reset afterwards.

Moving the cursor on the space bar, deleting by character on the delete
key and the full keyboard cursor swipe used a fixed 10 dp per character,
and touchpad sensitivity does not apply to them.

Settings > Gestures & swipes > Cursor swipe distance (5-40 dp, default
10 dp) now sets that step. The default keeps the current behaviour.
Word-by-word delete and the language swipe distance are unchanged.
@LeanBitLab
LeanBitLab merged commit 5c9e32a into main Nov 27, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the feat/cursor-swipe-distance branch November 27, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Configurable sensitivity for gesture swipes

1 participant