Documentation
¶
Overview ¶
Command touchprobe live-verifies desktop touchscreen gesture dispatch (#266): the glfw fork's touch callback (belluikit/glfw#1, v1.10.0) feeds the shared TouchHandler, so a Windows (WM_POINTER) or Wayland (wl_touch) touchscreen reaches the mobile gesture vocabulary — tap, drag, double-tap, and hold-fire long-press (pre-rebrand tracker #758). On X11 and macOS the callback never fires and touch keeps arriving as an emulated mouse; the pad then logs mouse-path taps only, which is the expected outcome there.
The gesture pad logs every dispatch with a counter to the label and stdout (`touchprobe <gesture>`). Expected on a touchscreen:
quick tap → tap
press-and-hold ~300ms → long-press fires WHILE STILL DOWN; the release
then logs secondary (the hold-fire pattern)
drag → drag… then drag-end; no tap on release
double tap → double-tap
The list beside the pad verifies touch flick-scrolling (#291): a finger drag over it must scroll the content with the finger (`scroll y=…` lines), a flick must keep scrolling after the release (decaying offsets, stopped dead by touching again), and dragging the scrollbar thumb must still work. A MOUSE drag over the list must NOT scroll it — only the wheel does. On X11/macOS (emulated mouse) the list therefore does not touch-scroll, which is the expected outcome there.
The "open-multiple dialog" button forces the canvas file dialog (UseNativeFileDialogs(false)) in open-multiple mode — the #259 acceptance: long-pressing a file item on a touchscreen must enter selection mode, and plain taps must then toggle set membership.