I did some tests for this problem:
all test with include unmounted volumes = NO

test1 - click eject on files does eject
test2 - click eject on dock does NOT eject, eject must be completed with eject 
on dock
test3 - click Unmount on dock does the same as Eject        

-------------------------------------------------------------------

test1 --- click Eject on files --------------------------------

at [6820.172534] click Eject on files - eject completed

corrado@corrado-n2-nn-1115:~$ sudo dmesg -W
[sudo] password for corrado: 
[ 6820.214188] evict_inodes inode 000000007a1f2b20, i_count = 1, was skipped!
[ 6820.214196] evict_inodes inode 000000004999f002, i_count = 1, was skipped!
[ 6820.214199] evict_inodes inode 00000000af46cbb1, i_count = 1, was skipped!
[ 6820.320984] sdc: detected capacity change from 30720000 to 0

corrado@corrado-n2-nn-1115:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[6820.172534] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
UDEV  [6820.238892] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
KERNEL[6820.270341] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
KERNEL[6820.270641] remove   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
KERNEL[6820.271085] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
UDEV  [6820.272584] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
UDEV  [6820.273600] remove   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
UDEV  [6820.275655] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)

test2 --- click Eject on dock and then on files ------------

at [6474.305211] click Eject on dock - eject NOT done
at [6510.630651] click Eject on files - eject completed

corrado@corrado-n2-nn-1115:~$ sudo dmesg -W
[sudo] password for corrado: 
[ 6474.342504] evict_inodes inode 0000000086a23104, i_count = 1, was skipped!
[ 6474.342508] evict_inodes inode 000000005caf6d28, i_count = 1, was skipped!
[ 6474.342509] evict_inodes inode 00000000a02ca119, i_count = 1, was skipped!
[ 6510.678411] sdc: detected capacity change from 30720000 to 0

corrado@corrado-n2-nn-1115:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[6474.305211] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
UDEV  [6474.373867] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
KERNEL[6510.630651] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
KERNEL[6510.630872] remove   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
KERNEL[6510.632673] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
UDEV  [6510.634241] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
UDEV  [6510.635018] remove   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
UDEV  [6510.637247] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)

test3 --- click UNMOUNT on dock and then on files ------------

at [7890.424704] click Unmount on dock - eject NOT done
at [7910.393825] click Eject on files - eject completed

corrado@corrado-n2-nn-1115:~$ sudo dmesg -W
[sudo] password for corrado: 
[ 7890.475269] evict_inodes inode 000000003639f350, i_count = 1, was skipped!
[ 7890.475273] evict_inodes inode 000000009b82a3f2, i_count = 1, was skipped!
[ 7890.475275] evict_inodes inode 000000007dcb575b, i_count = 1, was skipped!
[ 7910.452961] sdc: detected capacity change from 30720000 to 0

corrado@corrado-n2-nn-1115:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[7890.424704] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
UDEV  [7890.493612] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
KERNEL[7910.393825] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
KERNEL[7910.394162] remove   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
KERNEL[7910.395855] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
UDEV  [7910.398213] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
UDEV  [7910.399270] remove   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc/sdc1
 (block)
UDEV  [7910.401605] change   
/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)

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

Reply via email to