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

Đang mở
#232 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, linux
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Shell
Star
180
Fork
52
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oracle/oracle-linux

Tất cả issue của oracle/oracle-linux

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.