Files
hermes-agent/apps
teknium1 3cb409bed8 fix(desktop): mouse back/forward and reload never act on a hidden session's Browser
After a session switch, Chromium still tracked the hidden session's kept
Browser guest as the focused webContents, so main's focused-guest gestures
(mouse back/forward app-command, swipe, Ctrl/Cmd+R) navigated or reloaded a
page the user could not see. The keep-alive host also left focus on an inert
hidden guest, where keystrokes could still land.

- A keep-alive host going hidden blurs whatever inside it holds focus.
- The preview pane tells main when its guest leaves / returns to the screen
  (hermes:preview-guest-hidden; only the embedding renderer is believed), and
  commandFocusedGuest (moved to electron/preview-guest-offscreen.ts) skips a
  hidden guest so the gesture falls through to the renderer's visible pane.
2026-10-02 02:53:03 -07:00
..