Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Linux] Window::Restore() doesn't bring back a minimized window on GNOME

オープン
#62 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

bug

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

libnativeapi/nativeapi のほかの issue

libnativeapi/nativeapi の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。