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 {
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 AppInfo extends LocationAppInfo {
index 9795f3fd..8b19959c 100644
--- a/locations.js
+++ b/locations.js
@@ -447,6 +447,8 @@ class MountableVolume
});
+ print('
+ cancellable?
const updateAndMonitor = () => {
this. _update( ); AppInfo extends LocationAppInfo { tion.ShellMount Operation( removable) ; e?.is_cancelled ());
await this.volume. mount(Gio. MountMountFlags .NONE, operation.mountOp,
this.cancellabl e); e?.is_cancelled ());
await this.mount. unmount_ with_operation( Gio.MountUnmoun tFlags. FORCE,
operation. mountOp, this.cancellable); e?.is_cancelled ());
await removable. eject_with_ operation( Gio.MountUnmoun tFlags. FORCE,
operation. mountOp, this.cancellable);
@@ -629,12 +631,15 @@ class MountableVolume
const operation = new ShellMountOpera
try {
if (action === 'mount') {
+ print(action, 'Cancellable', this.cancellable, 'cancelled', this.cancellabl
} else if (action === 'unmount') {
+ print(action, 'Cancellable', this.cancellable, 'cancelled', this.cancellabl
} else if (action === 'eject') {
+ print(action, 'Cancellable', this.cancellable, 'cancelled', this.cancellabl
} else {