Files
magpie/internal
yetone c360d9d30d gui: a tap that slides off its Form | JSON option still picks it (refeccd)
A trackpad's tap lifts a few pixels from where it came down. On the small
options of a segmented control (Form | JSON in the MCP server editor) the
lift can land off the option, so the browser clicks neither it nor the
option it came down on: the press shows (the option shrinks) and nothing is
picked, and the next tap, lifted in place, works. segsPress already clicked
the same option again when a redraw replaced it between down and up; it now
does so too when the option is still there but the press was let go off it,
within tapLike's bounds (under 300ms, under 12px). A press dragged farther,
or held longer, is still no pick, as for any button. Every segs control
(the same helper) takes it, in the editors, Settings and the lists.

Test: library-mcp-first-click presses near the top of the option, slides 8px
up, off the switch, lets go inside 300ms, both ways, in en zh zh-TW ja de,
Chromium and WebKit, at 1100 (desktop) and 390 (web). Red on the old code
(12 of 22: every 1100 case in both engines), green with the fix (22 of 22),
run through mote-run.
Not tried: the reporter's own trackpad and video (not seen); the whole GUI
suite is run before the push, see the push record.
2026-11-04 02:26:08 +08:00
..
…
…
…
…
…
…
…
…
…