Can you please check if doing something like this can provide some
useful logging bits to journalctl /usr/bin/gnome-shell ?
diff --git a/locations.js b/locations.js
index 9795f3fd..8b19959c 100644
--- a/locations.js
+++ b/locations.js
@@ -447,6 +447,8 @@ class MountableVolumeAppInfo extends LocationAppInfo {
});
this._signalsHandler = new Utils.GlobalSignalsHandler();
+ print('Cancellable', this.cancellable, cancellable, 'cancelled',
this.cancellable?.is_cancelled());
+ cancellable?.connect(c => logError(c, 'Cancellable cancelled'));
const updateAndMonitor = () => {
this._update();
@@ -629,12 +631,15 @@ class MountableVolumeAppInfo extends LocationAppInfo {
const operation = new
ShellMountOperation.ShellMountOperation(removable);
try {
if (action === 'mount') {
+ print(action, 'Cancellable', this.cancellable, 'cancelled',
this.cancellable?.is_cancelled());
await this.volume.mount(Gio.MountMountFlags.NONE,
operation.mountOp,
this.cancellable);
} else if (action === 'unmount') {
+ print(action, 'Cancellable', this.cancellable, 'cancelled',
this.cancellable?.is_cancelled());
await
this.mount.unmount_with_operation(Gio.MountUnmountFlags.FORCE,
operation.mountOp, this.cancellable);
} else if (action === 'eject') {
+ print(action, 'Cancellable', this.cancellable, 'cancelled',
this.cancellable?.is_cancelled());
await
removable.eject_with_operation(Gio.MountUnmountFlags.FORCE,
operation.mountOp, this.cancellable);
} else {
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/1993054
Title:
USB key eject does not eject
Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
Confirmed
Bug description:
I insert an USB key:
icon appear in the dock and in the nautilus sidebar with title and a small
arrow
right click on icon in the dock and select 'Eject':
the icon disappear in the dock but does NOT disappear from the nautilus
sidebar
click on the arrow near the icon in nautilus sidebar:
the icon disappear and I see a message in notification area with: '... USB
flash memory ... can be removed'
problem happens when org.gnome.shell.extensions.dash-to-dock
show-mounts-only-mounted is set to TRUE
the problem does not occur if show-mounts-only-mounted is set to FALSE
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: gnome-shell-extension-ubuntu-dock 74ubuntu2
ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7
Uname: Linux 5.19.0-21-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 16 09:48:16 2022
InstallationDate: Installed on 2022-09-30 (15 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Beta amd64 (20220927.1)
PackageArchitecture: all
SourcePackage: gnome-shell-extension-ubuntu-dock
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1993054/+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