Nautilus shows wrong trash icon if not emptied before unplugging external drive

Bug #1774810 reported by computer_freak_8
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

What ends up happening:
- You have a "full" trash icon
- You can see zero files in the trash
- Emptying the trash has no effect, whether from GUI, from gvfs-trash --empty, or gio trash --empty.
- Terminal shows "files", "expunged", and "info" folders all completely empty at ~/.local/share/Trash. - Even deleting the ~/.local/share/Trash folder entirely has no effect.
- Killing and restarting Nautilus has no effect.

How to reproduce:
1. Delete a file from an external drive
2. Remove the external drive from the machine
3. Attempt to empty the trash and observe this behavior

Ubuntu 18.04 LTS
GNOME nautilus 3.26.3

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nautilus 1:3.26.3-0ubuntu4
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Jun 2 13:37:55 2018
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'196'
 b'org.gnome.nautilus.window-state' b'geometry' b"'875x389+208+310'"
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'owner', 'group', 'permissions', 'mime_type', 'where', 'date_modified', 'date_modified_with_time', 'date_accessed', 'recency']"
InstallationDate: Installed on 2017-11-25 (188 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: Upgraded to bionic on 2018-05-04 (28 days ago)
usr_lib_nautilus:

Revision history for this message
computer_freak_8 (j8t8b) wrote :
summary: - Nautilus shows wrong trash icon if not emptied on external drive
+ Nautilus shows wrong trash icon if not emptied before unplugging
+ external drive
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.