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 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

oracle/oracle-linux 的其他 Issue

查看 oracle/oracle-linux 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。