Desktop Icons NG doesn't display icons in Xorg sessions until I turn it off and turn it back on

Bug #1963756 reported by Jonathan Kamens
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Undecided
Unassigned
gnome-shell-extension-desktop-icons-ng (Ubuntu)
Fix Released
High
Daniel van Vugt

Bug Description

1. Observe icons from Desktop Icons NG on desktop.
2. Log out.
3. Log back in.
4. Observe that desktop icons are gone.
5. Open Extensions app.
6. Observe that the Desktop Icons NG extension is enabled.
7. Turn it off and turn it back on.
8. Observe that the missing desktop icons now appear.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell-extension-desktop-icons-ng 39-2ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Mar 5 13:06:10 2022
InstallationDate: Installed on 2019-01-02 (1158 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
PackageArchitecture: all
SourcePackage: gnome-shell-extension-desktop-icons-ng
UpgradeStatus: Upgraded to jammy on 2022-02-20 (12 days ago)

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: New → Confirmed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I can reproduce the issue when logging in to a Xorg session, but not when logging in to a Wayland ditto. So the behavior may be Xorg specific.

@Jonathan: Did you encounter the issue with Xorg or Wayland?

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hmm.. I installed gnome-shell and mutter and friends from jammy-proposed, and after that the desktop icons show up as expected both on Xorg and Wayland.

So it looks like this is just a temporary state which will not be present when gnome-shell and mutter have been upgraded from 41 to 42.

Closing this bug report. Please feel free to request it to be re-opened if you find that the issue is still present with version 42 of gnome-shell and mutter in place.

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

We should probably get to the bottom of bug 1963755 first.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Seems reasonable indeed. (Almost a duplicate I wasn't aware of.)

Revision history for this message
Jonathan Kamens (jik) wrote :

I don't think these two issues are duplicates, which is why I filed them separately.

This issue occurs even when the other one, which is intermittent, does not.

summary: - Desktop Icons NG doesn't display icons on desktop on login until I turn
- it off and turn it back on
+ Desktop Icons NG doesn't display icons in Xorg sessions until I turn it
+ off and turn it back on
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Invalid → Confirmed
milestone: none → ubuntu-22.04-beta
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks like this is a temporary problem where the new version of gjs/mozjs is too stringent to allow the old syntax used in gnome-shell 41. This has been fixed already gnome-shell 42 but a workaround for DING to support older gnome-shell versions is probably a good idea.

Mar 14 17:34:54 nine gnome-shell[25609]: Some code accessed the property 'WorkspaceGroup' on the module 'workspaceAnimation'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Mar 14 17:34:54 nine gnome-shell[25609]: JS ERROR: TypeError: className is undefined
                                         replaceMethod@/<email address hidden>/gnomeShellOverride.js:84:49

Changed in gnome-shell (Ubuntu):
status: New → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-in-ding-40 fixed-upstream
tags: added: fixed-in-gnome-shell-42
Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Fixed in gnome-shell-extension-desktop-icons-ng 39+20220316.cc9c7d3e-1

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.