Repository navigation
Conversation
A tester asked to keep the space bar's hold for moving the cursor: today a still hold opens the dictation-language menu and ends the press, so hold then slide never moves the cursor. With the new lab on, a still hold for Android's touch-and-hold delay turns the space bar into a trackpad (a click says it took), one character per 12.6 dp from where the finger was held, as iPhone Hex's trackpad, and lifting types nothing whether or not it moved. Taps and plain slides are unchanged. The language stays in the Hex menu's Language page, and TalkBack's long click on the space bar still opens it. Off (the default), holding opens the menu exactly as before. Verified: :app:testDebugUnitTest (400 tests, including the new aHeldSpaceBarMovesTheCursorFromWhereItWasHeldAndTypesNothing) and the release build's R8 step pass; on an API 36 emulator, hold-slide moved the cursor, hold-release typed nothing, a tap typed a space, and with the lab off the hold opened the language menu.
dev pruned the Android feature-map tree from docs/features/README.md (#2979), so that file takes dev's version; the lab's row in android/README.md is kept before **Keyboard › Spatial autocorrect**, and the HexSettings and TypingPreferences conflicts keep both sides' rows (Delete words when held, then Hold space to move the cursor).
R44VC0RP
pushed a commit
that referenced
this pull request
Nov 28, 2026
The space bar's hold keeps the search's guard (no menu or trackpad while the emoji search is open) on #2963's holdSpace, and the held trackpad's first character still waits for a whole step. The Labs strings and the README keep both labs' rows.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From a Hex Preview tester's feedback that Ryan tagged: "please keep the long press on space bar for moving the cursor … I do need to go back and correct".
What changes
New lab, Labs › Keyboard › Hold space to move the cursor, off by default.
KeyboardSurface.swift), and because a deliberate hold that ends in a space would be a surprise edit right where you are correcting. A tap still types a space; a slide without a hold still moves the cursor as before.SpaceGesture.hold()re-anchors the slide at the finger and marks the press as one that types no space;KeyPlaneView's hold runnable picks the trackpad or the menu fromTypingPreferences.spaceHoldCursor.Wording for Ryan to approve
Checks
:app:testDebugUnitTest: 400 tests pass, including the newaHeldSpaceBarMovesTheCursorFromWhereItWasHeldAndTypesNothing(InsertionTest.kt, beside the existing space-bar tests).:app:minifyReleaseWithR8passes (assembleReleaseneeds the upload key).Notes
postDelayedline; whichever merges second needs a one-line rebase.android/README.mdanddocs/features/README.mdupdated.