Comment 0 for bug 1762595

Revision history for this message
halogen2 (halogen2) wrote : Thunar incorrectly thinks USB hard disk hasn't finished ejecting

$ lsb_release -rd
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04

$ apt-cache policy thunar
thunar:
  Installed: 1.6.15-0ubuntu1
  Candidate: 1.6.15-0ubuntu1
  Version table:
 *** 1.6.15-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Hardware: MacBook Pro 9,1

Steps to reproduce:

1) mount a ext4 partition of a USB harddisk

2) do something with the mounted partition, doesn't seem to matter what

3) Using the eject button in the Thunar window sidebar, eject the mounted partition of the USB HDD.

4) After the USB HDD is ejected and spins down, unplug it.

At (3), the disk ejects normally. But Thunar thinks it hasn't been ejected and is still trying to eject. The "Writing data to device" notification continues to display. Eventually, Thunar pops up an error dialog saying 'Failed to eject "<filesystem label>". Timeout was reached.' Sometimes Thunar will exit after this message is closed.

For what it's worth, the specific USB HDDs in my case have more than one partition, but I'm only mounting and using a single ext4 partition before ejecting the disk.