diff --git a/.claude/skills/orca-wxwidgets/references/windows-dialogs.md b/.claude/skills/orca-wxwidgets/references/windows-dialogs.md index 392da46b47..48fb104da5 100644 --- a/.claude/skills/orca-wxwidgets/references/windows-dialogs.md +++ b/.claude/skills/orca-wxwidgets/references/windows-dialogs.md @@ -507,7 +507,7 @@ name — for any other window call `window_pos_save/restore` with its own name. A `WebViewHostDialog` subclass calls the inherited `restore_z_order()` after each such modal, on every outcome including Cancel. Cite: 0a0d59b76b (`PluginsDialog`: also passed as the `restore` callback of - `detail::run_off_thread_with_progress`); `ScriptRunnerDialog::open_file`. + `detail::run_off_thread_with_progress`); `ActionReplayDialog::open_file`. - **Rule:** On macOS, when a secondary dialog raises the main window on purpose (to give it the keyboard focus for work that acts on it) and must stay in sight meanwhile, attach it as a Cocoa child window of the main window for that span — `keep_window_above(GetHandle(), mainframe->GetHandle(), true)` @@ -518,7 +518,7 @@ name — for any other window call `window_pos_save/restore` with its own name. it also moves with its parent, so attach it only for the span. wx detaches it on `Hide()` and in the window's destructor (`src/osx/cocoa/nonownedwnd.mm:767-768, 990-991`), so closing the dialog midway needs no extra step. - Cite: `ScriptRunnerDialog::run` (a run's progress and Stop button; the dialog takes the focus back with + Cite: `ActionReplayDialog::run` (a run's progress and Stop button; the dialog takes the focus back with `restore_z_order()` when the run finishes). - **Rule:** Never position windows by absolute coordinates on Wayland, and never expect `SetIcon` to show on macOS or Wayland. diff --git a/docs/HLSD/mcp-server.md b/docs/HLSD/mcp-server.md index 674b91387a..adaa4d7a0a 100644 --- a/docs/HLSD/mcp-server.md +++ b/docs/HLSD/mcp-server.md @@ -116,8 +116,8 @@ file, and one that stops must not hide another's server from the stdio bridge. `GUI_App::on_init_inner()` starts the service once AppConfig is loaded. That is before the first startup dialog, such as the TLS prompt or the setup wizard, so an agent can answer those dialogs. -`--mcp` or the `mcp_enabled` preference opens the endpoint, while `--mcp-script` alone, or opening the -Run Script dialog, only builds the catalog. `get_state.ready` stays false until `post_init()` calls `mark_ready()`, the Prepare +`--mcp` or the `mcp_enabled` preference opens the endpoint, while `--mcp-script` alone, or opening +Action Replay or the Run Script panel, only builds the catalog. `get_state.ready` stays false until `post_init()` calls `mark_ready()`, the Prepare canvas has loaded OpenGL and the main window has built its tab pages, and tools that need the main window fail with "still starting". Starting on Home, the canvas loads OpenGL at idle after `post_init()` (MainFrame's GL prebuild), and before that a 3MF save would draw its thumbnail with no @@ -2149,7 +2149,8 @@ OrcaSlicer's windows only gives what the screen shows of them in the client area backing scale, in sRGB: the window, web views and 3D views included, and over it our dialogs, wx popups, AppKit's menus and tooltips, but no other application's window, so a covered window captures whole. The filter names the application rather than its windows, so a menu or tooltip that opens later -is in it too. It leaves out the shown windows hidden from automation (the script runner), their wx +is in it too. It leaves out the shown windows hidden from automation (Action Replay, a floating Run Script +panel), their wx popups, and AppKit's windows over them: AppKit does not say which window opened a menu or tooltip, so each of our windows that is not wx's goes with the topmost wx window below it that it overlaps, as on Windows. The window behind such a window shows through. `SCScreenshotManager` takes one image per @@ -2263,7 +2264,7 @@ result's `note` is the last frame's: which of these applies, then what that fram approximated, so a macOS recording that fell back to drawing views says so. `capture_frame()` stores it under the recorder's mutex, since `stop_recording` reports from another thread while a tick may be capturing. The `canvas` target is `shown_canvas()`. A recording captures with -`CaptureOptions::hide_covering` off, so X11 never hides and re-shows the script runner at each frame. +`CaptureOptions::hide_covering` off, so X11 never hides and re-shows Action Replay at each frame. The costly part is a 3D view: `render_and_capture()` draws a frame, after any extra frames a change asked for, and reads it back. A recording @@ -2334,8 +2335,8 @@ that would encode without an ffmpeg is refused rather than recording unencoded. recording's file is closed (`McpRecorder::wait_closed()`), so it can be cancelled like any encode. No reply names the job, which only exists once the file is closed: an agent finds it in `get_state.jobs` and waits for it by its id, as the command's description says. -Start Recording starts the service without its endpoint when the server is off, as the Run Script dialog -does. The person's recording has its own owner (`kPersonOwner`), so neither a script's end nor the +Start Recording starts the service without its endpoint when the server is off, as Action Replay and the +Run Script panel do. The person's recording has its own owner (`kPersonOwner`), so neither a script's end nor the endpoint closing ends it. Whatever ends it tells the person where it went, in a notification whose button opens the folder: Stop Recording itself, which stops any recording, an agent's too, ending it as `stopped_in_app`; or `RecordingOptions::ended`, which the recorder runs on the UI thread when an agent's @@ -2537,7 +2538,7 @@ file's `out_dir` defaults to ` + + + + + - +