Minimized windows stay visible: muffin stops emitting `minimize` / hiding the window actor until Cinnamon is restarted
メンテナーはふだん 8 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c, javascript
- 領域
- desktop
調査の方向性
Start with the minimize path in src/core/window.c (meta_window_hide) and its call into src/compositor/compositor.c (meta_compositor_hide_window), then the MetaWindowActor visibility handling in src/compositor/meta-window-actor.c; the report's suspicion is that visible_to_compositor and the actor's internal visibility drift apart. Reproduce by running the org.Cinnamon.Eval dbus-send check from the report and watching the Main.wm._cinnamonwm minimize signal, ideally with muffin-dbg breakpoints on those hide functions. Done means a minimized window's actor has visible=false and CinnamonWM emits minimize again after a session has been in the broken state.
索引モデルが issue の本文から書いたものです。
説明
Distribution
Linux Mint 22.3 Zena
Package version
Cinnamon 6.6.9, Muffin 6.6.3 (X11)
Graphics hardware in use
AMD Radeon RX 6600 XT (amdgpu, Mesa 25.2.8), two monitors (1920x1080 + 1080x1920 portrait), no fractional scaling
Frequency
Only occasionally
Bug description
Same symptom as #11409 and #11929: after minimizing, a window stays on screen and only loses focus. Its contents are not clickable; clicks reach the window or desktop behind it. Once the session gets into this state, every minimize does this, including on newly opened windows. Restarting Cinnamon (Ctrl+Alt+Esc) fixes it.
Note: a comment on #11409 suggested this only affects Intel iGPUs (i915). This machine has an AMD dGPU. The second comment on #14004 also describes minimize breaking until Cinnamon is restarted and then coming back after a few days. That report involves fractional scaling, which this machine doesn't use.
I checked the session while it was broken (via org.Cinnamon.Eval):
- X11 side is correct:
WM_STATE= Iconic,_NET_WM_STATE_HIDDENis set, andmeta_window.minimized === true. - The
MetaWindowActorof the minimized window staysvisible === true, withopacity255 and scale 1.0. Anotify::visiblehandler on the actor never fires during the minimize. - CinnamonWM never emits
minimizefor that window: a handler connected toMain.wm._cinnamonwmminimize(andkill-window-effects) never runs.Main.wm._minimizingis empty andMain.modalCountis 0. - It happens with window effects disabled too (
desktop-effects-minimize = 'none'), so it is not the JS animation getting stuck. - Muffin laters run normally:
Meta.later_add()callbacks forCALC_SHOWING,BEFORE_REDRAWandIDLEall fire. - It reproduces on a newly created
xmessagewindow, so it is not a single window in a bad state. - No third-party applets or extensions are installed.
~/.xsession-errorshas no relevant warnings or criticals. - After
Main.restartCinnamon(), the windows that were stuck are hidden and new minimizes work.
So it looks like muffin stops hiding windows inside meta_window_hide() / meta_compositor_hide_window() for minimized windows: visible_to_compositor and the actor's internal visibility seem to go out of sync. The X11 WM state is still updated.
Steps to reproduce
I don't have a reliable trigger. This time it appeared within about 10 minutes of logging in. Normal desktop use: Brave, Discord, terminals. There is a KVM switch on the machine that triggers RandR changes.
Once the session is in this state:
- Open any window (e.g.
xmessage test). - Minimize it (button, or
xdotool windowminimize). - The window stays painted but is minimized and unfocused.
Expected behavior
The minimized window is hidden.
Additional information
Check that shows the broken state:
dbus-send --session --print-reply=literal --dest=org.Cinnamon /org/Cinnamon org.Cinnamon.Eval \
string:'global.get_window_actors().filter(a=>a.meta_window.minimized).map(a=>a.meta_window.get_wm_class()+" vis="+a.visible).join("; ")'
Healthy session: vis=false. Broken: vis=true.
I can run more diagnostics the next time it happens (muffin-dbg is installed, so I can use gdb breakpoints on meta_window_hide / meta_window_actor_hide) if you tell me what would help.
- 主要言語
- JavaScript
- スター
- 5.7k
- フォーク
- 941
- 平均マージ
- 7日 9時間
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxmint/cinnamon のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 8 日以内に返信
-
BUG
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 8 日以内に返信
-
Sound applet: seek bar jumps back after seeking when player resends metadata (e.g. mpDris2/MPD)オープンBUG
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 8 日以内に返信
-
Menu applet omits descriptions from search-provider results対応中かも @ah682 が 8 日前に担当しました。 オープンBUG
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
linuxmint/cinnamon#14104 · コメント 2 件 ·
メンテナーはふだん 8 日以内に返信
-
xapp-status applet: status icon labels are ellipsized to "..." when the panel zone is a fraction of a pixel short再び着手できるかも @Priyeshshrivastav が 14 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
linuxmint/cinnamon#14096 · コメント 1 件 ·
メンテナーはふだん 8 日以内に返信
linuxmint/cinnamon の issue をすべて見る
似ている issue
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
ai-amazon-bedrock: a tool result that isn't a JSON object fails the next request対応中かも @effect-bot が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
[bug] Toolchain versions from `.prototools` are not inherited when moon runs from a subdirectoryオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
check:passed logos:edit
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信