macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reached
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- electron, typescript
- Área
- desktop-dev
Línea de trabajo
Empieza en electron/messageBox.ts en showSaveDialogOver (L44-56) y lee su comentario sobre #743 para ver cómo una ventana propietaria convierte el panel en una sheet, luego compara con exportDiagnosticFile en electron/ipc/handlers.ts (L1990-1994), que llama a dialog.showSaveDialog sin propietario. Sigue cómo los puntos de entrada del menú y la bandeja llegan a ese handler para que la ventana enfocada se pueda pasar como propietaria. Terminado cuando el panel de diagnósticos esté adjunto a la ventana del editor y permanezca delante después de Cmd+Tab; verificarlo requiere una compilación de macOS.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.7k
- Forks
- 231
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 150
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getopenscreen/openscreen
-
A freshly imported video or image shows 0:00.0 on its Media card until it is placed on the timelineAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
getopenscreen/openscreen#1663 ·
Los mantenedores suelen responder en 1 día
-
Native review wanted: machine-translated recording bar tooltips (14 locales)Posiblemente ocupada @auberginewly la tomó hace 45 días. Abiertogood first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
getopenscreen/openscreen#913 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Small papercuts from the 2.4.0-rc.1 end-to-end passPosiblemente ocupada @EtienneLescot la tomó hoy. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
getopenscreen/openscreen#1668 ·
Los mantenedores suelen responder en 1 día
-
GNOME Wayland: the Notes window does not stay on topPosiblemente ocupada @EtienneLescot la tomó hoy. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
getopenscreen/openscreen#1666 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
getopenscreen/openscreen#1665 ·
Los mantenedores suelen responder en 1 día
Todos los issues de getopenscreen/openscreen
Issues similares
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
lingdojo/kana-dojo#34545 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
Blocklist addition requestAbiertoblocklist addition
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
MetaMask/eth-phishing-detect#315455 ·
Los mantenedores suelen responder en 1 día
-
area: telegram bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
griffinwork40/agent-afk#5275 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
erkamyaman/rust-anything#371 ·
Los mantenedores suelen responder en 1 día
-
Widget: match the chat bubble color to the rest of the widgetPosiblemente ocupada @sethr07 la tomó hoy. Abiertoenhancement frontend help wanted
Dificultad 2/5 Medio día Aptitud para principiantes 75/100
DeadantCo/answerLoopsdev#68 · 3 comentarios ·