nautilus ignores trash on external drives

Bug #1633824 reported by Dylan Borg
110
This bug affects 22 people
Affects Status Importance Assigned to Milestone
GLib
Fix Released
High
Ubuntu GNOME
Fix Released
Medium
Unassigned
glib2.0 (Ubuntu)
Fix Released
Medium
Unassigned
Yakkety
Fix Released
Medium
Unassigned

Bug Description

Using nautilus 3.20 as included in Ubuntu 16.10, I can move files to trash in general. However only the items removed from permanently installed drives shows up in the trash virtual folder. In the case of usb removable drives, the .Trash-1000 folder is correctly created, and the files are in there but the nautilus GUI does not show those files in its virtual trash folder.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: nautilus 1:3.20.3-1ubuntu3
ProcVersionSignature: Ubuntu 4.8.0-25.27-generic 4.8.1
Uname: Linux 4.8.0-25-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Oct 16 11:48:03 2016
InstallationDate: Installed on 2016-02-19 (239 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: nautilus
UpgradeStatus: Upgraded to yakkety on 2016-10-13 (2 days ago)
usr_lib_nautilus: gnome-terminal 3.20.2-1ubuntu5

Revision history for this message
Dylan Borg (borgdylan) wrote :
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
Revision history for this message
clel (clel) wrote :

I experience the same bug. Only tested with NTFS drive.

Changed in nautilus (Ubuntu):
importance: Undecided → Medium
Revision history for this message
cl-netbox (cl-netbox) wrote :

Because my bug report #1633824 was marked as a duplicate, I want to point out that in my case all internal (built-in) disks and ext4 partitions are effected - not only externals drives - and this on three different machines !

Revision history for this message
clel (clel) wrote :

After logging out and in again to test something else, it just worked for me (cannot reproduce it), until I rebooted.

Revision history for this message
Wolf Rogner (war-rsb) wrote :

I'm not as lucky as clel.

On 4 machines running 16.10 this can be reproduced (no logout/login helps).
3 are Macs, 1 HP.
Different drives (USB-Sticks, HDs, SSDs) used to test.

I could not reproduce this with internal disks though.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in nautilus (Ubuntu):
importance: Medium → Low
Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
clel (clel) wrote :

The logging out and in again trick worked again for me two times. Today I waited around 10 minutes and then logged out and in.

I also just created a bug report on bugzilla from Gnome: https://bugzilla.gnome.org/show_bug.cgi?id=773819

Revision history for this message
cl-netbox (cl-netbox) wrote :

I am not sure if this is a GNOME upstream problem, because as I mentioned in my bug report #1633824 : This does not happen in other Linux distributions with GNOME 3.20 desktop environment when using the Nautilus 3.20 file manager.

Changed in nautilus:
importance: Unknown → Medium
status: Unknown → Incomplete
Revision history for this message
clel (clel) wrote :

As described in https://bugzilla.gnome.org/show_bug.cgi?id=773819#c3 this seems to be a known issue and should be fixed in GLib 2.50.1 (Ubuntu 16.10 uses 2.50.0)

Revision history for this message
clel (clel) wrote :

Created a bug report asking to update the glib package here https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1638846

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
clel (clel) wrote :

Any updates?

tags: added: nautilus trash
Changed in glib:
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in glib2.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Sadi Yumuşak (sa-yu) wrote :

I have this problem with removable media (USB memory stick and USB HDD, FAT32 and NTFS) and also with my secondary internal HDD (EXT4).

Revision history for this message
Sadi Yumuşak (sa-yu) wrote :

Sorry, just noticed that this was actually fixed upstream at the end of September, and it seems now we all should pray for Ubuntu package maintainers to update the glib2.0 package from 2.50.0... to 2.50.1...

Revision history for this message
Iain Lane (laney) wrote :

If I understand you right then the glib in the queue should fix this. I updated the bug statuses accordingly.

Changed in glib2.0 (Ubuntu):
status: Confirmed → Fix Released
Changed in glib2.0 (Ubuntu Yakkety):
status: New → In Progress
Changed in nautilus (Ubuntu):
status: Triaged → Invalid
Changed in nautilus (Ubuntu Yakkety):
status: New → Invalid
Revision history for this message
clel (clel) wrote :

Yes, you are right. Do you know any ETA for the integration of the fixed glib version?

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Dylan, or anyone else affected,

Accepted glib2.0 into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glib2.0/2.50.2-2ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in glib2.0 (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

While I've accepted this into -proposed and the Test Case is rather obvious it'd still be helpful if someone were to update the description such that it follows the SRU template.

https://wiki.ubuntu.com/StableReleaseUpdates

Mathew Hodson (mhodson)
no longer affects: nautilus (Ubuntu Yakkety)
no longer affects: nautilus (Ubuntu)
affects: nautilus → ubuntu-translations
Changed in ubuntu-translations:
importance: Medium → Undecided
status: Invalid → New
no longer affects: ubuntu-translations
Changed in glib2.0 (Ubuntu):
importance: Undecided → Medium
Changed in glib2.0 (Ubuntu Yakkety):
importance: Undecided → Medium
Mathew Hodson (mhodson)
tags: removed: nautilus trash
Revision history for this message
Dylan Borg (borgdylan) wrote :

Update-Manager just offered the update to me (I use proposed). I will test and report back.

Revision history for this message
Dylan Borg (borgdylan) wrote :

After updating, then logging out then back in; I confirm that this fixes the issue for USB drives making their trash folder be treated like that of internal drives.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Dylan Borg (borgdylan) wrote :

@cl-netbox : Did the update fix your variant of the issue?

Revision history for this message
clel (clel) wrote :

I can confirm that this is fixed for my external drive now.

Revision history for this message
cl-netbox (cl-netbox) wrote :

Installed glib2.0 from proposed repository.
Now all deleted items are visible in Trash.
Upgrading these packages fixed the issue :

libglib2.0-0 version 2.50.2-2ubuntu1
libglib2.0-bin version 2.50.2-2ubuntu1
libglib2.0-data version to 2.50.2-2ubuntu1

Jeremy Bícha (jbicha)
Changed in ubuntu-gnome:
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glib2.0 - 2.50.2-2ubuntu1

---------------
glib2.0 (2.50.2-2ubuntu1) yakkety; urgency=medium

  * No-change backport of this stable release from unstable to 16.04 (LP:
    #1644320)
  * Should fix trashing of files in symlinked directories (LP: #1638245)
  * Should fix display of trash on external drives (LP: #1633824)

glib2.0 (2.50.2-2) unstable; urgency=medium

  * debian/rules: disable libmount on !linux (Closes: #844052)
  * debian/patches/0001-Fix-trashing-on-overlayfs.patch: Update with new
    version from the upsstream report to hopefully fix trashing of files in
    directories which are symlinks to different devices. (Closes: #800047)

glib2.0 (2.50.2-1) unstable; urgency=medium

  * New upstream release.
  * Track stable releases in debian/watch.

glib2.0 (2.50.1-1) unstable; urgency=medium

  [ Jason Crain ]
  * libglib2.0-bin: includes a new 'gio' commandline tool (Closes: #840164)

  [ Andreas Henriksson ]
  * New upstream release.

glib2.0 (2.50.0-2) unstable; urgency=medium

  [ Simon McVittie ]
  * Build-depend on tzdata, which is no longer transitively Essential.
    One test needs it. (Closes: #839487)

  [ Michael Biebl ]
  * Fix Vcs-* to point to unstable.
  * Mark dependencies which are required to run the test-suite with
    <!nocheck>.
  * Add explicit Build-Depends on xsltproc, docbook-xml and docbook-xsl.
    Besides libxml2-utils, those are needed for building the man pages.
  * Drop Build-Depends on dbus-x11. The test-suite uses a mock version of
    dbus-launch nowadays, so this dependency is no longer needed.
    (Closes: #835884)
  * Use dh-exec to substitute ${DEB_HOST_MULTIARCH} in .install, .links and
    .dirs files.

 -- Iain Lane <email address hidden> Wed, 23 Nov 2016 17:44:33 +0000

Changed in glib2.0 (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Update Released

The verification of the Stable Release Update for glib2.0 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in ubuntu-gnome:
status: Fix Committed → Fix Released
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.