It's a bug in the gnome-shell extension manager. I made DING print traces of when it receives enable(). Notice we get two calls, first from extensionSystem.js:739:18, then from extensionSystem.js:736:18
Feb 13 09:48:24 ubuntu gnome-shell[2776]: Trace enable@file:///usr/share/gnome-shell/extensions/[email protected]/gnomeShellOverr> innerEnable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.> enable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.js:84> _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:267:38 async*_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js> _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:736:18 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46 enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:290:29 EnableExtension@resource:///org/gnome/shell/ui/shellDBus.js:453:38 _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38 _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34 @resource:///org/gnome/shell/ui/init.js:21:20 Feb 13 09:48:25 ubuntu gnome-shell[2776]: Trace enable@file:///usr/share/gnome-shell/extensions/[email protected]/gnomeShellOverr> innerEnable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.> enable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.js:84> _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:267:38 async*_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js> _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:739:18 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46 enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:285:29 EnableExtension@resource:///org/gnome/shell/ui/shellDBus.js:453:38 _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38 _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34 @resource:///org/gnome/shell/ui/init.js:21:20 In the live session, DING is initially disabled via dconf: $ gsettings get org.gnome.shell disabled-extensions ['[email protected]'] Then, when ubuntu-desktop-bootstrap exits it calls `gnome-extensions enable [email protected]`, which removes it from the `disabled- extensions` list, and adds it to the `enabled-extensions` list. Sometimes (why only sometimes?) this two-step process makes it call enable() twice. DING could be made more robust against getting enabled twice, but gnome- shell should not be doing this. ** Changed in: gnome-shell (Ubuntu) Status: Incomplete => Confirmed ** Changed in: gnome-shell-extension-desktop-icons-ng (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2098102 Title: Desktop switching shows windows from previous desktop Status in gnome-shell package in Ubuntu: Confirmed Status in gnome-shell-extension-desktop-icons-ng package in Ubuntu: Confirmed Bug description: When I switch to another virtual desktop using Ctrl-Alt-[Left,Right], the windows from my previous desktop remain there and are still visible as if they were part of the desktop background. In front of them, I can see my actual windows from the desktop that I'm visiting currently. Desktop icons overlap the windows in the background. I can't interact with the windows in the background but their content is updated live as the applications are running. Switching desktops using the Activities overview works correctly as expected without this issue. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: gnome-shell 46.0-0ubuntu6~24.04.6 ProcVersionSignature: Ubuntu 6.11.0-17.17~24.04.2-generic 6.11.11 Uname: Linux 6.11.0-17-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.28.1-0ubuntu3.3 Architecture: amd64 CasperMD5CheckResult: pass CasperVersion: 1.498 CloudArchitecture: x86_64 CloudID: nocloud CloudName: unknown CloudPlatform: nocloud CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud) CurrentDesktop: ubuntu:GNOME Date: Wed Feb 12 14:03:19 2025 DisplayManager: gdm3 LiveMediaBuild: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250211.1) ProcEnviron: LANG=C.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> RelatedPackageVersions: mutter-common 46.2-1ubuntu0.24.04.5 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2098102/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

