[Linux] Window::Restore() doesn't bring back a minimized window on GNOME
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp, linux
調査の方向性
Start at the Linux implementation of Window::Restore() and trace its use of gdk_window_deiconify(), then inspect the window-state-event handling for iconified state. Compare the GNOME behavior with gtk_window_present_with_time() and verify that restoring a minimized window emits the restored event and that a later Show() does not report a spurious minimize event.
索引モデルが issue の本文から書いたものです。
説明
On Linux, Window::Restore() calls gdk_window_deiconify(), which Mutter ignores, so a minimized window isn't brought back and no restored event fires. It works on X11 window managers that honour it, but not on GNOME. Related: after the user minimizes a window, a later Show() can report a minimize event right away instead of showing it.
Possible fix: gtk_window_present_with_time() (with a real timestamp) when the window is iconified, and track the iconified state from window-state-event rather than from what was requested.
Background:
- leanflutter/window_manager#525: window does not restore from minimization on Linux
- leanflutter/window_manager#580: show() triggers an immediate minimize event after the user minimizes the window
- 主要言語
- C++
- スター
- 34
- フォーク
- 7
- 平均マージ
- 3日 1時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
libnativeapi/nativeapi のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
libnativeapi/nativeapi#81 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
libnativeapi/nativeapi#80 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
libnativeapi/nativeapi#79 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
libnativeapi/nativeapi#78 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
libnativeapi/nativeapi#77 ·
libnativeapi/nativeapi の issue をすべて見る
似ている issue
-
AuTest Bug Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/trafficserver#13714 ·
-
bug build
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
facebookincubator/velox#19143 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tenstorrent/tt-metal#57393 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
objectionary/eo-graphs#74 ·