Commit 5955e3a
fix(input): re-arm the tab-drag inside the accent fence poll (tiny-skia CI)
Pre-existing on main since plan 026 (fails main@337cd17; 4/4
deterministic on the ubuntu tiny-skia cell, wgpu unaffected): iced
dispatches queued input against one latest cursor position, so when the
drag gesture pressed the ALREADY-ACTIVE pill — no selection change, no
redraw — the press and the harness's single 12px arming nudge shared a
batch and ReorderStrip recorded the gesture origin ON the nudge:
distance 0, the 8px threshold never crossed, the drag border never
painted, and the harness blocked forever ("timed out waiting for
backward tab source press render"). The tiny-skia/wgpu split was pure
redraw cadence, not paint or input — proven by CI-side instrumentation
(origin=(477,15) distance=0.0 on the failing cell) and bit-identical
band pixels between the CI failure capture and a shed baseline.
The fence stays strictly causal (poll until the drag-began accent run
spans the press x; no sleeps); the arming move is now re-issued inside
the poll alternating between the nudge point and the press point — both
inside the source pill — so whichever point the press was attributed
to, the other crosses the threshold, and each poll's screenshot render
forces a batch boundary. Backtracking never un-arms a started drag.
Verified on the authoritative surface: the real CI tiny-skia AND wgpu
cells both green with this fix alone, plus clean shed runs of the full
check under both renderers. codex review: no findings. Full diagnosis
recorded with plan 027 (tinyskia-drag-diagnosis.md).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AyvCPrbetEKy3iHgKLQmwq1 parent a4fcbe3 commit 5955e3a
1 file changed
Lines changed: 35 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
1159 | 1177 | | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
| 1178 | + | |
1163 | 1179 | | |
1164 | 1180 | | |
1165 | 1181 | | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
1166 | 1192 | | |
1167 | 1193 | | |
1168 | 1194 | | |
| |||
0 commit comments