Empty Trash in Settings doesn't work.

Bug #1721927 reported by netman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Medium
gnome-control-center (Ubuntu)
Fix Released
Low
Unassigned
Artful
Fix Released
Low
Unassigned
gnome-settings-daemon (Ubuntu)
Fix Released
Low
Unassigned
Artful
Fix Released
Low
Unassigned

Bug Description

Impact
======
In Settings--privacy, there is a entry named "Empty trash and temporary files". but it doesn't work. when I clicked the red button EMPTY TRASH, the Trash still filled with something.

Test Case
=========
Note that this is a two-part fix. You will need the 3.26.2 versions of both gnome-settings-daemon and gnome-control-center.

1. Create a sample document with Text Editor and save it to your home folder.
2. Open the Files app. Select the sample file and press Delete to send it to the Trash.
3. In the Files sidebar, click Trash to verify that the file is there.
4. Open the Settings app.
5. Open the Privacy panel. Click "Purge Trash & Temporary Files". Click "Empty Trash" then confirm "Empty Trash".
6. The Trash folder in the Files app should be empty now.

Regression Potential
====================
This fix is part of the GNOME 3.26.2 bug fix release.

The D-Bus method to empty the trash shouldn't be used by anything besides gnome-control-center. If another app does use that, it will need to be updated for the new D-Bus address.

There is a micro-release exception for GNOME:
https://wiki.ubuntu.com/StableReleaseUpdates#GNOME

Revision history for this message
netman (asiangiant) wrote :
affects: ubuntu-release-upgrader (Ubuntu) → gnome-control-center (Ubuntu)
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, indeed it's buggy and has been reported upstream on https://bugzilla.gnome.org/show_bug.cgi?id=737624, I'm adding patches there

Changed in gnome-control-center (Ubuntu):
status: New → Triaged
Changed in gnome-control-center (Ubuntu):
status: Triaged → In Progress
Changed in gnome-control-center:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in gnome-control-center:
status: Confirmed → Fix Released
Jeremy Bícha (jbicha)
Changed in gnome-control-center (Ubuntu Artful):
importance: Undecided → Low
status: New → Triaged
Changed in gnome-control-center (Ubuntu):
status: In Progress → Fix Committed
Changed in gnome-settings-daemon (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Changed in gnome-settings-daemon (Ubuntu Artful):
status: New → In Progress
importance: Undecided → Low
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.26.2-0ubuntu1

---------------
gnome-control-center (1:3.26.2-0ubuntu1) bionic; urgency=medium

  * New upstream release (LP: #1731103)
    - Fix Empty Trash button in Setting > Privacy (LP: #1721927)
  * Drop fix-about-desktop.patch: Applied in new release

 -- Jeremy Bicha <email address hidden> Wed, 08 Nov 2017 21:31:18 -0500

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.26.2-0ubuntu1

---------------
gnome-settings-daemon (3.26.2-0ubuntu1) bionic; urgency=medium

  * New upstream release (LP: #1731099)
    - Fix Empty Trash button in Setting > Privacy (LP: #1721927)

 -- Jeremy Bicha <email address hidden> Wed, 08 Nov 2017 21:16:10 -0500

Changed in gnome-settings-daemon (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello netman, or anyone else affected,

Accepted gnome-settings-daemon into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-settings-daemon/3.26.2-0ubuntu0.1 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-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. 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 gnome-settings-daemon (Ubuntu Artful):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-artful
Changed in gnome-control-center (Ubuntu Artful):
status: Triaged → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello netman, or anyone else affected,

Accepted gnome-control-center into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-control-center/1:3.26.2-0ubuntu0.1 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-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. 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!

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Artful:
I have reproduced the problem with gnome-control-center 1:3.26.1-0ubuntu5 and gnome-settings-daemon 3.26.1-0ubuntu5 in artful-updates and have verified that the versions of gnome-control-center 1:3.26.2-0ubuntu0.1 and gnome-settings-daemon 3.26.2-0ubuntu0.1 in -proposed fixes the issue.

Marking as verification-done

tags: added: verification-done verification-done-artful
removed: verification-needed verification-needed-artful
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.26.2-0ubuntu0.1

---------------
gnome-settings-daemon (3.26.2-0ubuntu0.1) artful; urgency=medium

  * New upstream release (LP: #1731099)
    - Fix Empty Trash button in Setting > Privacy (LP: #1721927)

 -- Jeremy Bicha <email address hidden> Wed, 08 Nov 2017 21:16:10 -0500

Changed in gnome-settings-daemon (Ubuntu Artful):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for gnome-settings-daemon 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.26.2-0ubuntu0.1

---------------
gnome-control-center (1:3.26.2-0ubuntu0.1) artful; urgency=medium

  * New upstream release (LP: #1731103)
    - Fix Empty Trash button in Setting > Privacy (LP: #1721927)
  * Drop fix-about-desktop.patch: Applied in new release

 -- Jeremy Bicha <email address hidden> Wed, 08 Nov 2017 21:31:18 -0500

Changed in gnome-control-center (Ubuntu Artful):
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.