macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reached
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 78/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- electron, typescript
- Domínio
- desktop-dev
Direção de pesquisa
Comece em electron/messageBox.ts em showSaveDialogOver (L44-56) e leia o comentário sobre #743 para ver como uma janela proprietária transforma o painel em uma sheet, depois compare com exportDiagnosticFile em electron/ipc/handlers.ts (L1990-1994), que chama dialog.showSaveDialog sem proprietário. Trace como os pontos de entrada do menu e do tray chegam a esse handler para que a janela em foco possa ser passada como proprietária. Pronto quando o painel de diagnóstico estiver anexado à janela do editor e permanecer na frente após Cmd+Tab; verificar exige uma build do macOS.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 3.7k
- Forks
- 231
- Merge médio
- 1d 8h
- PRs com merge (30d)
- 150
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de getopenscreen/openscreen
-
A freshly imported video or image shows 0:00.0 on its Media card until it is placed on the timelineAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
getopenscreen/openscreen#1663 ·
Mantenedores costumam responder em até 1 dia
-
Native review wanted: machine-translated recording bar tooltips (14 locales)Talvez já em andamento @auberginewly assumiu há 45 dias. Abertagood first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
getopenscreen/openscreen#913 · 5 comentários ·
Mantenedores costumam responder em até 1 dia
-
Small papercuts from the 2.4.0-rc.1 end-to-end passTalvez já em andamento @EtienneLescot assumiu hoje. Abertabug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
getopenscreen/openscreen#1668 ·
Mantenedores costumam responder em até 1 dia
-
GNOME Wayland: the Notes window does not stay on topTalvez já em andamento @EtienneLescot assumiu hoje. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 28/100
getopenscreen/openscreen#1666 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 64/100
getopenscreen/openscreen#1665 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de getopenscreen/openscreen
Issues semelhantes
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
lingdojo/kana-dojo#34545 · 1 comentário · 5 reações ·
Mantenedores costumam responder em até 1 dia
-
Blocklist addition requestAbertablocklist addition
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
MetaMask/eth-phishing-detect#315455 ·
Mantenedores costumam responder em até 1 dia
-
area: telegram bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
griffinwork40/agent-afk#5275 ·
Mantenedores costumam responder em até 1 dia
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
erkamyaman/rust-anything#371 ·
Mantenedores costumam responder em até 1 dia
-
Widget: match the chat bubble color to the rest of the widgetTalvez já em andamento @sethr07 assumiu hoje. Abertaenhancement frontend help wanted
Dificuldade 2/5 Meio dia Facilidade para iniciantes 75/100
DeadantCo/answerLoopsdev#68 · 3 comentários ·