Files
wordcraft/docs
Mat StrangeandBrandon Thomas 20cf5b45d0 A click on the ribbon's chrome keeps typing in the document (#1093 follow-up) (#1703)
Clicks on ribbon chrome that isn't a command button (Styles gallery tiles, tab
names, empty ribbon space, View check boxes, status-bar items) left the page
without keyboard focus. The click was caught at the end of the frame, after the
page had been drawn: want_focus was only picked up next frame and the page's
focused flag, which gates the keys, not recomputed until then either, so the
keystroke right after the click went nowhere.

Claim the keyboard in the same frame a ribbon command button does, using the
page's widget id from the frame just drawn.

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-14 22:00:42 -04:00
..