macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reached
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- electron, typescript
- 領域
- desktop-dev
調査の方向性
electron/messageBox.ts の showSaveDialogOver(L44-56)から始め、#743 に関するコメントを読んで、オーナーウィンドウがパネルをシートに変える仕組みを確認する。次に electron/ipc/handlers.ts(L1990-1994)の exportDiagnosticFile と比較する。これはオーナーなしで dialog.showSaveDialog を呼び出している。メニューとトレイのエントリポイントがそのハンドラーにどう到達するかを追い、フォーカスされたウィンドウをオーナーとして渡せるようにする。診断パネルがエディターウィンドウに接続され、Cmd+Tab 後も前面に残れば完了。検証には macOS ビルドが必要。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 3.7k
- フォーク
- 231
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 150
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getopenscreen/openscreen のほかの issue
-
A freshly imported video or image shows 0:00.0 on its Media card until it is placed on the timelineオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getopenscreen/openscreen#1663 ·
メンテナーはふだん 1 日以内に返信
-
Native review wanted: machine-translated recording bar tooltips (14 locales)対応中かも @auberginewly が 45 日前に担当しました。 オープンgood first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getopenscreen/openscreen#913 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Small papercuts from the 2.4.0-rc.1 end-to-end pass対応中かも @EtienneLescot が今日担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
getopenscreen/openscreen#1668 ·
メンテナーはふだん 1 日以内に返信
-
GNOME Wayland: the Notes window does not stay on top対応中かも @EtienneLescot が今日担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
getopenscreen/openscreen#1666 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
getopenscreen/openscreen#1665 ·
メンテナーはふだん 1 日以内に返信
getopenscreen/openscreen の issue をすべて見る
似ている issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
lingdojo/kana-dojo#34545 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
blocklist addition
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
MetaMask/eth-phishing-detect#315455 ·
メンテナーはふだん 1 日以内に返信
-
area: telegram bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
griffinwork40/agent-afk#5275 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
erkamyaman/rust-anything#371 ·
メンテナーはふだん 1 日以内に返信
-
Widget: match the chat bubble color to the rest of the widget対応中かも @sethr07 が今日担当しました。 オープンenhancement frontend help wanted
難易度 2/5 半日 初心者へのやさしさ 75/100
DeadantCo/answerLoopsdev#68 · コメント 3 件 ·