Skip to content

desktop: avoid same-position pointer hangs with Ubuntu xdotool #175

Closed

Description

@ElbertePlinio

PR #174 for #153 exposed an existing pointer-input portability failure. Its required live capture test clicks and then double-clicks at the same coordinate; Ubuntu xdotool 3.20160805.1 hangs in mousemove --sync until the bounded command timeout. The local xdotool 4.20260303.1 completes.

A private Xvfb command probe with server reset disabled reproduced the older binary timing out at an unchanged position, while changed-position sync and same-position without sync completed. The initial probe allowed the server to reset between clients and did not reproduce it; that limitation is preserved. No host installation or real desktop was used.

  • Repair affected pointer argv/runtime behavior without changing public signatures, weakening input permits or retrying input
  • Keep the repeated-coordinate capture test intact and add portable no-op movement coverage, including affected click/move/scroll/drag paths
  • Verify against the privately extracted Ubuntu Noble binary as well as local tools, retaining exact command evidence
  • Independent final review and green exact-candidate CI before merge

This is a narrow dependency blocking #153 and the #118 native desktop workflow, not a reason to skip or relax the failing live test. PR174 test job: https://github.com/pickforge/pickforge/actions/runs/35035712908/job/104604251180

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions