Ooops, the patch in comment #9 may be unreliable because you could have
two racing enable() calls and the first one hasn't flagged isEnabled yet
because innerEnable was deferred:

        if (Main.layoutManager._startingUp) {
            this.data.startupPreparedId = 
Main.layoutManager.connect('startup-complete', () => this.innerEnable());
        } else {
            this.data.startupPreparedId = null;
            this.innerEnable();
        }

You may need a separate 'started' flag or something like that, which is
true immediately unlike 'isEnabled'.

Also we should move this discussion to
https://gitlab.com/rastersoft/desktop-icons-ng


** Changed in: gnome-shell-extension-desktop-icons-ng (Ubuntu)
    Milestone: None => ubuntu-25.04

** Changed in: gnome-shell (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
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:
  Won't Fix
Status in gnome-shell-extension-desktop-icons-ng package in Ubuntu:
  In Progress

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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to