Skip to content

Measure or justify the Linux engine's click and wheel holds #323

Open

Description

@SSFSKIM

cua-engine keeps two fixed holds, unmeasured, from the vendor's behaviour:

  • A click's hold between press and release, used when the request gives no duration: engine/pointer.rs CLICK_HOLD, 12 ms (behaviour spec section 10.1).
  • A wheel step's hold: engine/pointer.rs WHEEL_HOLD, 36 ms (section 10.3).

#171 M4's T9 inventoried both as kept, because its row measured them only if there was room. The evidence is in docs/evidence/2026-10-28-own-linux-engine/m4/waits/README.md.

Each hold costs its full value on every click and every wheel step. A 5-step scroll pays 180 ms of holds.

Work

Measure by the M4 wait rule. Find the shortest hold at which every family's effect checks pass 30 consecutive, both idle and at twice the load.

Run a 0 ms control lane alongside. It must miss where the hold is needed, for example on a toolkit that reads a press and release in the same event batch as a double event, or that drops a press that is too short.

If no shorter hold passes on every family, record why the vendor's value stands.

Instruments

  • The click and scroll cells of the settle experiment, scripts/linux-engine-diff/action-settle.mjs.
  • The events experiment's motion listener.

Spawned by: #171

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    on Nov 8, 2026
  2. added 3 commits that reference this issue on Nov 8, 2026
  3. added
    expected
    ready-to-work
    and removed
    status:ready-for-implementer
    on Dec 1, 2026
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

    enhancementexpectedpriority:P3ready-to-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions