Repository navigation
Reload window action on Windows and Linux (no menu bar, so no way to reload without stopping agents) #18482
Closed
NedMalki-Chief
started this conversation in
Ideas
Replies: 1 comment
|
Closing: current main already covers this as of d9f7c0caed. If you still see it on a build that includes that commit, reply and we'll reopen. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
On macOS the app menu has View > Reload. On Windows (and Linux) the main window has no menu bar, so View > Reload and Ctrl+R are not available. When the window shows stale state (for example #18481: a new project and finished turns never appeared), the only user-facing recovery is quitting the app, and that stops every running agent.
The renderer and the server are separate processes, so reloading only the window is safe for running agents. The app already does exactly this on its own when the renderer crashes (
render-process-gonerecovery callsloadApplication()).Proposal
A "Reload window" command that reloads only the main-window renderer:
Ctrl+Shift+R), configurable in Keybindings like the other commands.Ctrl+Ris alreadypreview.refreshwhen a preview has focus, so a different default avoids a clash.Out of scope: any change to the server, sessions or running agents.
Contribution
If the direction is approved, I can send a focused PR with the command, the keybinding entry, and before/after evidence on Windows.
All reactions