Daniel, Alessandro, quick question: I prepared a patch for upstream
Gnome Shell ( https://gitlab.gnome.org/GNOME/gnome-
shell/-/merge_requests/3640 ), but maybe a different syntax could be
better. Specifically, to add this to the "AsyncMutex" class:
+
+ async asyncCriticalSection(f, ...args) {
+ await this.hold();
+ try {
+ await f(...args);
+ } finally {
+ this.release();
+ }
+ }
And then, call the code with
await onEnabledExtensionsChangedMutex.asyncCriticalSection(async () => {
...
// the code that must run without being preempted
...
});
This way, it would be cleaner, and the logic to ensure that the "mutex"
is released even if an exception happens is fully integrated into the
"mutex" class, while still ensuring that any non catched exception is
still correctly passed.
--
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:
In Progress
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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp