Repository navigation
Conversation
…over arrives (#209) A tester's Tab S10 Ultra (Android 16, WebView 157) passes no hovering pointer events to the page at all, so erase on hover never got a reading and the selection bridge for hold-to-erase (#149), armed only by hovering moves or a pen just lifted, was rarely ready. The button pressed in the air still arrives as one contextmenu. HoverWitness (air-button.ts) takes that contextmenu, with no hovering move in the last second and no press under way, for the button in the air and arms the bridge there. Android only (the bridge is attached nowhere else); devices that send hover keep their path unchanged. Diagnostics: "Copy shape diagnostics" gains penSeen (hover moves, barrel hover moves, pen downs, contextmenus, air menus, bridge strokes, hover seen/none); the debug HUD marks "air-button: bridge armed". Unproven on a device: no Android tablet here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Discussion #209: a tester's Galaxy Tab S10 Ultra (Android 16, WebView 157) passes no hovering pointer events to the page, with or without the side button. Only real touches, plus one
contextmenuwhen the button is pressed in the air. So erase on hover can't work on that tablet.What this changes:
src/input/air-button.ts(pure):HoverWitnesstakes a non-touchcontextmenu, with no press under way and no hovering move in the last second, for the side button pressed in the air.PointerController.airMenu()then arms the S-Pen side button don't erase #149 selection bridge there, so holding the button and touching down erases. Before, the bridge was armed only by hover moves or a recent pen lift. Android only (the bridge is attached nowhere else); tablets that send hover and the iPad are unchanged.penSeen(hover moves, barrel hover moves, pen downs, contextmenus, air menus, bridge strokes,hover: seen|none); the debug HUD marksair-button: bridge armed.Unproven (no Android device here): that the contextmenu is the press in the air, and that the touch with the button held then reaches the bridge on that tablet. With Side button click = pen menu, the same contextmenu may still open the pen menu (unchanged).
Tests built from the tester's event sequence and the S9 FE one. All CI gates pass locally.
🤖 Generated with Claude Code