* fix(shortcuts): forward Plugins shortcut from browser pages
* fix(shortcuts): preserve text-producing guest chords
* fix(shortcuts): preserve AltGr input in browser guests
* fix(browser): return keyboard to the page after Settings closes
Closing Settings remounts the active browser page. Its activation focus
retry waits a frame for the retained guest to reattach, and a StrictMode
effect re-run cancelled that wait while the activation latch stayed set,
so the page never got focus back (host activeElement stayed BODY). A
re-run that cancels the retry before any focus attempt now clears the
latch so the next run retries.
Also make the Plugins shortcut copy match browser-page behavior and add
guest-dispatch coverage for Linux Ctrl+Alt, macOS Option symbol vs dead
keys, and a German Y/Z layout.
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(browser): keep the user's focus when a drag restarts page activation
The Settings-close fix re-arms a page activation whose focus retry was
cancelled before it acted. A drag starting or ending also re-runs that
effect, and the re-armed retry took the current focus as its starting
point. A user who picked the address bar while the guest was still
attaching therefore had it treated as the page's starting focus, and the
guest took the keyboard once it attached. The activation now keeps the
focus it began from across restarts until the page deactivates, so a
user focus change made before or during the drag still wins.
Move the focus-address-bar chord listener into its own hook, matching the
history shortcut, to keep the focus hook within the file-size limit.
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(browser): take the activation's focus snapshot before the drag guard
A page that activated while a drag was already active skipped the focus
snapshot and took it when the drag ended. If the user picked the address bar
during the drag, that pick became the starting point and the guest took the
keyboard once it attached. Take the snapshot when the page activates, before
deferring for the drag.
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(plugins): let the Plugins shortcut hint wrap in narrow windows
In a window about 700px wide the "Open with ..." hint stayed on one line and
cut off the key combo. The label now wraps like the rest of the description,
and only the key combo stays on one line, moving to the next line whole
when it does not fit.
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>