Commit 00a1953
0.1.239: fix stationary double-click select not translating
Regression from the click-to-hide feature (#114): dismissTooltipOnClick
sets mouseMoved=false on mouse-down. A stationary double-click never fires
a mouse-move afterward, so mouseMoved stays false and stageTooltipText's
checkWindowFocus() guard (mouseMoved && visible) blocks the selection
tooltip -> no translation. Drag-select worked only because dragging moved
the mouse and set mouseMoved=true.
Fix: in stageTooltipTextSelect, treat a completed (non-empty) selection as
active interaction and set mouseMoved=true before staging. A plain click
makes no selection so the flag stays false and click-to-hide is preserved.
Verified in Chrome with a faithful replica of the gating: before -> BLOCKED,
after -> SHOW (the residual block in automation was only visibilityState
=hidden, which is a background-tab artifact, not present for a real user).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 2ca9215 commit 00a1953
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
168 | 177 | | |
169 | 178 | | |
170 | 179 | | |
| |||
0 commit comments