You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reached #1667
On macOS, the save panel opened by Save Diagnostics ends up under the editor window after an app switch. It can then be neither seen nor clicked.
Steps
In the editor, wordmark menu → Save Diagnostics. The "Save Diagnostic File" panel opens in front.
Bring another app to the front (Safari here), then come back with Cmd+Tab.
Expected: the panel stays in front of the editor, or is attached to it as a sheet.
Actual
The editor comes back above the panel. The window list holds the panel under the editor, invisible and out of the mouse's reach.
Return does nothing, since the panel is not key. The Window menu offers only Minimize, Zoom and Bring All to Front.
The save could only be finished through accessibility (AXPress on its Save button). The bundle was then written correctly.
Seen on 2.4.0-rc.1 (DMG), macOS 27.0.1, Mac mini M1.
Why
exportDiagnosticFile calls dialog.showSaveDialog with no owner window (handlers.ts#L1990-L1994). The other save panels go through showSaveDialogOver (messageBox.ts#L44-L56). Its comment describes exactly this trap (#743): unowned, a macOS save panel is a free-floating window that a click sends behind the editor; owned, it is a sheet on that window.
Fix direction
Open the diagnostics panel with showSaveDialogOver, owned by the window the request came from. The menu and tray entry points can pass the focused window.
Fixed in main by #1672: the Save Diagnostics panel is now owned by the window that opens it, so on macOS it stays a sheet on the editor after an app switch. If it still goes behind the editor in the next build, please reopen this issue.
Activity
fix(diagnostics): own the Save Diagnostics panel by the requesting wi…
fix(diagnostics): own the Save Diagnostics panel by the requesting wi…
EtienneLescot commentedon Dec 1, 2026
Fixed in main by #1672: the Save Diagnostics panel is now owned by the window that opens it, so on macOS it stays a sheet on the editor after an app switch. If it still goes behind the editor in the next build, please reopen this issue.