macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reached
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- electron, typescript
- Ambito
- desktop-dev
Direzione di ricerca
Inizia in electron/messageBox.ts a showSaveDialogOver (L44-56) e leggi il suo commento su #743 per vedere come una finestra proprietaria trasforma il pannello in uno sheet, poi confronta con exportDiagnosticFile in electron/ipc/handlers.ts (L1990-1994), che chiama dialog.showSaveDialog senza proprietario. Traccia come i punti di ingresso del menu e della tray raggiungono quel handler affinché la finestra attiva possa essere passata come proprietaria. Fatto quando il pannello di diagnostica è agganciato alla finestra dell’editor e resta in primo piano dopo Cmd+Tab; la verifica richiede una build macOS.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 3.7k
- Fork
- 231
- Merge medio
- 1g 8h
- PR unite (30g)
- 150
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getopenscreen/openscreen
-
A freshly imported video or image shows 0:00.0 on its Media card until it is placed on the timelineApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
getopenscreen/openscreen#1663 ·
I maintainer di solito rispondono entro 1 giorno
-
Native review wanted: machine-translated recording bar tooltips (14 locales)Forse già presa @auberginewly l’ha presa 45 giorni fa. Apertagood first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getopenscreen/openscreen#913 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Small papercuts from the 2.4.0-rc.1 end-to-end passForse già presa @EtienneLescot l’ha presa oggi. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
getopenscreen/openscreen#1668 ·
I maintainer di solito rispondono entro 1 giorno
-
GNOME Wayland: the Notes window does not stay on topForse già presa @EtienneLescot l’ha presa oggi. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
getopenscreen/openscreen#1666 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
getopenscreen/openscreen#1665 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getopenscreen/openscreen
Issue simili
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
lingdojo/kana-dojo#34545 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Blocklist addition requestApertablocklist addition
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
MetaMask/eth-phishing-detect#315455 ·
I maintainer di solito rispondono entro 1 giorno
-
area: telegram bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
griffinwork40/agent-afk#5275 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
erkamyaman/rust-anything#371 ·
I maintainer di solito rispondono entro 1 giorno
-
Widget: match the chat bubble color to the rest of the widgetForse già presa @sethr07 l’ha presa oggi. Apertaenhancement frontend help wanted
Difficoltà 2/5 Mezza giornata Idoneità per principianti 75/100
DeadantCo/answerLoopsdev#68 · 3 commenti ·