OL10.2: gnome-shell 49.4 leaves a stale workspace-animation layer over the desktop after unlock (record is undefined in workspaceAnimation.js _syncStacking)

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

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

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, linux
領域
desktop

調査の方向性

Start by reading workspaceAnimation.js around _syncStacking and the WorkspaceGroup callback described in the stack trace. Compare the missing record case with the linked upstream issue about a missing sibling, then check whether the overview workaround clears the same animation group. Done means reproducing or explaining the stale layer and identifying a fix that prevents it from remaining composited after _syncStacking fails.

索引モデルが issue の本文から書いたものです。

説明

After a screen lock and unlock, GNOME Shell keeps drawing a stale image of the desktop over the real windows. Keyboard input still reaches the session — Alt+Tab restacks windows underneath — but the picture does not change. Every restack logs the same JS error from workspaceAnimation.js, which suggests a WorkspaceGroup whose _syncStacking throws and is never torn down, leaving its clones on top.

Environment

Oracle Linux Server 10.2
kernel        6.12.0-204.92.4.4.el10uek.x86_64
gnome-shell   49.4-8.el10_2
mutter        49.4-4.el10_2
gjs           1.80.2-11.el10
session       GNOME on Wayland
GPU           Intel Arrow Lake-S (i915) driving the internal eDP panel
              NVIDIA RTX PRO 2000 Blackwell Laptop GPU present, no driver bound
extensions    [email protected] only (stock)

What happened

  1. The error first appeared during normal use, with no visible effect at the time.
  2. The session went idle and auto-locked (idle-delay 900, lock-delay 0).
  3. Unlocking — once with loginctl unlock-session, once by typing the password at the shield — did not bring the desktop back. The panel kept showing a stale image.
  4. Alt+Tab presses each logged the error again, but nothing on screen changed.
gnome-shell[7979]: JS ERROR: TypeError: record is undefined
    _syncStacking@resource:///org/gnome/shell/ui/workspaceAnimation.js:136:13
    WorkspaceGroup/<@resource:///org/gnome/shell/ui/workspaceAnimation.js:102:24
    @resource:///org/gnome/shell/ui/init.js:21:20

It was logged 40 times over about three hours, at lock, at unlock and on window restacks. There were no other shell errors around it.

What was ruled out

While the picture was frozen:

  • org.gnome.ScreenSaver.GetActive → false, and logind LockedHint=no: the shell itself considered the session unlocked.
  • org.gnome.Mutter.DisplayConfig.PowerSaveMode → 0, eDP connector dpms=On.
  • No drm/i915/KMS errors in the kernel log over the whole period.
  • Keyboard input worked: the password typed at the shield was accepted.

So the display path was live; the shell was compositing a stale layer.

Workaround

Opening and closing the overview clears it:

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell \
  --method org.freedesktop.DBus.Properties.Set org.gnome.Shell OverviewActive "<true>"
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell \
  --method org.freedesktop.DBus.Properties.Set org.gnome.Shell OverviewActive "<false>"

The error stopped and the screen updated again immediately. Pressing Super twice should do the same from the keyboard.

Expected

After unlock, the shell shows the live desktop. A failing _syncStacking should not leave a workspace-animation group composited over the windows.

Notes

  • Not reproducible on demand; it started in a long-running session (about three days of uptime).
  • The pending gnome-shell-49.4-9.el10_2 changelog only mentions the passwordless GDM backport, so it does not appear to address this.
  • Possibly related upstream: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4749 — the same _syncStacking path in workspaceAnimation.js failing on a missing sibling, on gnome-shell 40/41.
主要言語
Shell
スター
180
フォーク
52
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

oracle/oracle-linux のほかの issue

oracle/oracle-linux の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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