OL10.2: gnome-shell 49.4 leaves a stale workspace-animation layer over the desktop after unlock (record is undefined in workspaceAnimation.js _syncStacking)
还没有人认领这个 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
- The error first appeared during normal use, with no visible effect at the time.
- The session went idle and auto-locked (
idle-delay900,lock-delay0). - 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. - 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 logindLockedHint=no: the shell itself considered the session unlocked.org.gnome.Mutter.DisplayConfig.PowerSaveMode→0, eDP connectordpms=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_2changelog 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
_syncStackingpath inworkspaceAnimation.jsfailing on a missing sibling, on gnome-shell 40/41.
- 主要语言
- Shell
- 星标
- 180
- 派生
- 52
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
oracle/oracle-linux 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
oracle/oracle-linux#233 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
oracle/oracle-linux#234 ·
-
难度 4/5 3-5 天 新手友好度 45/100
oracle/oracle-linux#230 ·
-
难度 4/5 3-5 天 新手友好度 52/100
oracle/oracle-linux#229 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
oracle/oracle-linux#219 ·
查看 oracle/oracle-linux 的全部 Issue
相似的 Issue
-
milestone-3
难度 2/5 1-3 小时 新手友好度 78/100
Harsha0912/recall#71 ·
维护者通常 1 天内回复
-
effort: low impact: minor type: feature request
难度 2/5 1-3 小时 新手友好度 65/100
semanticarts/gist#1560 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Netcracker/qubership-ai-packages#303 ·
维护者通常 1 天内回复
-
ready-for-pr
难度 2/5 1-3 小时 新手友好度 72/100
kunchenguid/firstmate#8880 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
pantsbuild/pants#23803 ·
维护者通常 1 天内回复