Skip to content

feat: Consider long-press default key (i.e. when user long-presses but doesn't swipe) as dev-configurable 🐵 #9416

@mcdurdin

Description

@mcdurdin

gestures/longpress

From a UI perspective, it would be nice to have a longpress that is automatically selected rather than having to move up off the base key to select a key. The default should be highlighted in the longpress menu when the menu appears. I think any macro movement after that would then return to traditional longpress behaviour.

The keyboard designer needs to be able to select the default longpress key, or to have no default. (The fallback behaviour for existing keyboards should probably be no default?)

Requires:

@jahorton do you think it is possible to include this in gestures-17.0?

This comes out of a design discussion in 16.0, missed getting an issue assigned at the time.

Note from #8519:

  • Default will be selectable by keyboard designer -- not necessarily the first, and may be none.
  • Where there is a default will be indicated by highlighting it in the longpress -- the normal selection highlight.
  • Given that cancel is not the preferred default action for a longpress, the user can cancel the longpress default by sliding outside the 'acceptance' area -- e.g. south of the key cap, which would then unhighlight the default and indicate visually that no output would occur when they release their finger.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions