Skip to content

Swipe up on the keys to accept a suggestion cannot be turned on: trackpad_gestures_enabled has had no screen since 1.0.2 #11

Description

@djbclark

What happened

Flicking up on the physical keys to take a word suggestion does nothing on a fresh 2.0.x install, and there is no setting anywhere to turn it on.

Why (from the code on legacy-2.x)

  • trackpad_gestures_enabled defaults to false in SettingsManager.kt, and both gesture providers are gated on it.
  • The only code that sets it true is applyDevsChoiceSettings() in TutorialActivity.kt, which has had no callers since the onboarding rewrite.
  • The "Keyboard swipe" settings screen was removed in a5ce9a1 (1.0.2). The change note says the Shizuku-backed keyboard-surface trackpad was "superseded" by the screen trackpad, but that is a different feature (moving the cursor); swipe-to-accept has no other trigger.
  • So the gesture is only on for someone whose preference survived from before 1.0.2 or came in through a backup restore. Confirmed on my phone: the preference is absent from physiboard_prefs.xml.
  • The 3.0 spec already records the gap: settings-catalog.md §2.2 says "No screen in 2.x", trackpad-caret-nav.md §3.2 says nothing turns it on, and §13 there leaves the native provider "undecided, needs a capture on the phone before deciding".

Asks

  1. For 3.0: keep the native provider and give its rows a screen (Keyboard > Keyboard swipe: enable switch, add-word switch, swipe distance). Proposed Keep/Drop wording: docs(spec): keep the long-press and keyboard-swipe rows with a screen in 3.0 #12.
  2. I can provide the capture the spec asks for, from a Titan 2 Elite on V02.00.04 / Android 16: with the preference forced on, what the decor-view listener receives for an up-swipe (device name, source, coordinate range, whether Unihertz's Scroll Assistant or flick-typing system settings gate delivery, and where the thirds fall on the 1080-wide layer). I will post it here.

Meanwhile

My fork carries a small Keyboard swipe settings screen on top of legacy-2.x (branch keyboard-swipe-setting, https://github.com/djbclark/physiboard) for anyone who needs the gesture on 2.x.

PhysiBoard version

2.0.7 (built from legacy-2.x)

Phone

Unihertz Titan 2 Elite, Titan 2 Elite_V02.00.04, Android 16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions