Repository navigation
fix(diagnostics): own the Save Diagnostics panel by the requesting window - #1672
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…ndow Unowned, the macOS save panel is a free-floating window that an app switch leaves behind the editor, out of reach. Route it through showSaveDialogOver: the IPC entry points pass the sender's window, the menu and tray pass the focused visible window. Refs #1667
62b6c0c to
68325dd
Compare
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai full review |
Action performed
|
Summary
The Save Diagnostics panel was the one save panel opened with no owner window. On macOS an unowned panel floats free, and an app switch leaves it behind the editor, out of reach. It now goes through
showSaveDialogOver, like the other save panels:save-diagnostics(editor wordmark menu) andsave-diagnostic(renderer crash path): owned by the sender's window.showMessageBoxalready uses inmain.ts.Related issue
Refs #1667
Type of change
Release impact
Desktop impact
Testing
npx tsc --noEmit,npx tsc -p tsconfig.test.json --noEmitandnpm run lintpass.🤖 Generated with Claude Code
Summary by CodeRabbit