No confirmation prompt when force-deleting (SHIFT+DEL)

Bug #1315716 reported by Sergio Schneider
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Xfce4 Desktop
Fix Released
Low
xfdesktop4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Xubuntu 14.04
No confirmation prompt when force-deleting (SHIFT+DEL) direct from desktop
Consequence: no protection against accidental permanent dataloss.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: thunar 1.6.3-1ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CasperVersion: 1.340
CurrentDesktop: XFCE
Date: Sat May 3 17:32:37 2014
ExecutablePath: /usr/bin/thunar
LiveMediaBuild: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: thunar
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Mystack (mystack) wrote :

The confirmation dialog box doesn't appear if i try to delete files permanently from the xfce4 desktop. When i open thunar and delete a file with Shift + Del, the confirmation dialog appears.

Testet on Xubuntu 14.04 with Xfce 4.10.

Revision history for this message
Sergio Schneider (spsf) wrote :
Changed in thunar:
importance: Unknown → Low
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Thunar: No confirmation prompt when force-deleting (SHIFT+DEL)

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

Changed in thunar (Ubuntu):
status: New → Confirmed
Revision history for this message
Elfy (elfy) wrote :

I can confirm this when shift +delete from Desktop - is that what you're seeing?

Revision history for this message
J (nopejpg) wrote :

I should note that this bug did not exist in Xubuntu 13.10 or Xubuntu 13.04.

Revision history for this message
J (nopejpg) wrote :

Also, this prompt is only missing when you SHIFT + DELETE from the desktop. If you open thunar and press SHIFT + DELETE you'll be prompted.

Revision history for this message
Sergio Schneider (spsf) wrote :

@elfy Yes, that is correct, it only happens when deleting direct from desktop, when deleting from inside thunar it does prompt for confirmation.

description: updated
Revision history for this message
J (nopejpg) wrote :
Download full text (5.6 KiB)

strace of SHIFT + DELETE (no prompt but file deleted):

[pid 3466] poll([{fd=10, events=POLLIN}, {fd=16, events=POLLIN}], 2, 3995) = 1 ([{fd=16, revents=POLLIN}])
[pid 3466] ioctl(16, FIONREAD, [32]) = 0
[pid 3466] write(10, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3466] poll([{fd=10, events=POLLIN}], 1, 10) = 1 ([{fd=10, revents=POLLIN}])
[pid 3466] poll([{fd=10, events=POLLIN}], 1, 10) = 1 ([{fd=10, revents=POLLIN}])
[pid 3466] read(10, "\1\0\0\0\0\0\0\0", 16) = 8
[pid 3466] poll([{fd=10, events=POLLIN}], 1, 10) = 0 (Timeout)
[pid 3466] read(10, 0x7f91117fdb10, 16) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3466] write(10, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3466] poll([{fd=10, events=POLLIN}, {fd=16, events=POLLIN}], 2, 3135) = 2 ([{fd=10, revents=POLLIN}, {fd=16, revents=POLLIN}])
[pid 3466] ioctl(16, FIONREAD, [32]) = 0
[pid 3466] write(10, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3466] read(16, "\2\0\0\0\0\2\0\0\0\0\0\0\20\0\0\0New File\0\0\0\0\0\0\0\0", 1024) = 32
[pid 3466] read(16, 0x7f9104011580, 1024) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3466] write(10, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3466] poll([{fd=10, events=POLLIN}, {fd=16, events=POLLIN}], 2, 1000) = 1 ([{fd=10, revents=POLLIN}])
[pid 3466] read(10, "\3\0\0\0\0\0\0\0", 16) = 8
[pid 3466] poll([{fd=10, events=POLLIN}, {fd=16, events=POLLIN}], 2, 1000) = 0 (Timeout)
[pid 3466] read(10, 0x7f91117fdb10, 16) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3466] write(4, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3063] <... poll resumed> ) = 1 ([{fd=4, revents=POLLIN}])
[pid 3466] poll([{fd=10, events=POLLIN}, {fd=16, events=POLLIN}], 2, 2133 <unfinished ...>
[pid 3063] read(4, "\1\0\0\0\0\0\0\0", 16) = 8
[pid 3063] recvmsg(3, 0x7fffdccef900, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3063] poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}], 5, 30133) = 1 ([{fd=5, revents=POLLIN}])
[pid 3063] read(4, 0x7fffdccefaa0, 16) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3063] write(4, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3063] recvmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"l\4\1\1;\0\0\0\21\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/freedesktop/DBus\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\3\1s\0\20\0\0\0NameOwnerChanged\0\0\0\0\0\0\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\10\1g\0\3sss\0\0\0\0\0\0\0\0!\0\0\0org.freedesktop.thumbnails.Cache1\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0:1.129\0", 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 219
[pid 3063] write(4, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3063] recvmsg(5, 0x7fffdccef910, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3063] write(4, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3063] recvmsg(3, 0x7fffdccef900, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3063] poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}], 5, 0) = 1 ([{fd=4, revents=POLLIN}])
[pid 3063] recvmsg(3, 0x7fffdccef900, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 3063] poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, e...

Read more...

affects: thunar (Ubuntu) → xfdesktop4 (Ubuntu)
affects: thunar → xfdesktop
summary: - Thunar: No confirmation prompt when force-deleting (SHIFT+DEL)
+ No confirmation prompt when force-deleting (SHIFT+DEL)
Revision history for this message
In , Kaio Donadelli (xhikofff) wrote :

+1

I have the same issue on Xubuntu 14.04 with xfdesktop version 4.11.6-1ubuntu1.

Restarting thunar and/or xfdesktop has no effect on it.

Revision history for this message
In , Eric Koegel (eric-koegel) wrote :

This has been fixed in git master by reverting a previous commit. The change in master is: http://git.xfce.org/xfce/xfdesktop/commit/?id=c79f244f8f1f2d08892a54cbb820211abad3287d

Revision history for this message
J (nopejpg) wrote :

xfce-bugs #10857 has fixed this bug. This bug can be closed now.

Changed in xfdesktop:
status: Confirmed → Fix Released
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Utopic Unicorn.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "Requesting a Backport" at https://wiki.ubuntu.com/UbuntuBackports#Requesting_a_Backport

Changed in xfdesktop4 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

An updated package is now available in trusty-proposed. Please look at bug 1365965 and follow the instructions to test the new version.

Revision history for this message
Martin Spacek (mspacek) wrote :

This seems to work for me after updating to xfdesktop 4.11.8 in the proposed update in bug 1365965

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.