Nautilus: too easy to move files/folders to Trash (single key press of "Delete")
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
New
|
Undecided
|
Unassigned | ||
Nautilus |
Won't Fix
|
Wishlist
|
|||
nautilus (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Bug Description
SUMMARY
If a file or a folder is selected in Nautilus and you accidentally press Delete button, they are moved to the Trash. NO warning is issued (even though in Nautilus Preferences "Ask before emptying the Trash or deleting files" is selected )
In comment #39, Holger Berndt notes that the present behaviour is intention. Moving an item to the Trash is a revertible action, whereas emptying the Trash is not revertible.
However, this can be very annoying and dangerous bug to a common user - a user may have pressed "Delete" to move very important data to the Trash, and then, without realising the previous action have cleaned the Trash, so permanently loosing that information despite there being a two-step (and partially revertible) process.
NOTES
DistroRelease: Ubuntu 7.04 and up
POSSIBLE SOLUTIONS
In comment #38, David Siegel notes that the options would be ripe for some proper user testing research and design.
a. In comment #92 Matthew Paul Thomas notes that a better solution to the problem of it being too easy to delete (move to Trash) files/folders with a single keypress would be to change the keypress to be a combo. For example the combo could be Ctrl-Delete.
b. In comment #107 (and also earlier in the thread), Giorgio Gilestro supplies a patch to add another configuration key ('/apps/
c. In comment #28 Wouter Stomp, notes that applications (such as Gmail) allow the operation, but notify the user with a "yellow box" at the top and an "undo"/"cancel" option.
d. Perhaps you have another possible solution, that deals with the core problem without impeding the workflow of others.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Cesare Tirabassi (norsetto) wrote : | #1 |
Changed in nautilus: | |
status: | Unknown → Unconfirmed |
Changed in nautilus: | |
assignee: | nobody → desktop-bugs |
importance: | Undecided → Low |
status: | Unconfirmed → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Wagner Macedo (wagnerluis1982) wrote : | #2 |
I am in favour to fix this. Or at least to have the option to choose if the user want or no want the warning.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
mugroko (mugroko2000) wrote : | #3 |
Things get even worse if you are working on a ntfs partition using ntfs-3g.
In this case, the files are completely removed without asking, no trash involved!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Szabolcs Szakacsits (szaka) wrote : | #4 |
That's interesting because quite many NTFS-3G users complain to us developers about Nautilus moving deleted files to the .Trash-username' directory in the root of the NTFS volume they are not aware of: http://
Given that many people are confused in either case, a reasonable default behavior seems to be
- asking for confirmation
- checkbox if the files should be permanently removed or moved to a __specified__ trashbin
- potentially a checkbox if user wants the same confirmation windows in the future
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Anon Ymous (arctos) wrote : | #5 |
This is irritating to me, I wish it would include a working toggle to enable a dialog warning when deleting files.
At least remove the part in the checkbox description under nautilus prefs that says "or deleting files" since it doesn't work.
Someone fix this please :)
Changed in nautilus: | |
status: | Confirmed → Triaged |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Boris Burtin (boris-burtin) wrote : | #6 |
Another vote for this one. I'm a pretty advanced user, and spent 5 minutes today looking for files that disappeared after I misclicked. Nautilus should definitely offer the option to confirm before moving or deleting. Displaying the details of the operation in the status bar would also be helpful ("moved/deleted these files from dir1 to dir2").
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Fred (eldmannen+launchpad) wrote : | #7 |
I agree!
It should ask for confirmation before it deletes files!
People can accidentally press 'delete' and delete files accidentally without even realizing it, that is dangerous!
With lots of file in trash, people don't inspect all, and just click 'Empty Trash'.
New users, if they expect to see confirmation dialog, and they don't, they can panic.
"Importance: Low?" This is peoples data at risk here!
Fix this ASAP!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Fred (eldmannen+launchpad) wrote : | #8 |
This is very dangerous!
We are talking about users data and important data here!
This should always be handled with care!
Please, fix this!
Nautilus SHOULD warn!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #9 |
you will not convince people by repeting the same comments, you are welcome to work on the issue, there is thousand of bugs and a small team working on those
Changed in nautilus: | |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Florin Oprea (z80ldir) wrote : | #10 |
- keyboard.jpg Edit (31.6 KiB, image/jpeg)
Please take a look at my keyboard. My delete key is near the up arrow key so I delete accidentally many files.
I reported this to <email address hidden> but the answer was:
"because this is not windows, and because you can always go to the trash bin and undelete it again. :-)"
1. This is not windows but files goes without warning or confirmation into Trash and there is no restore action so everything to go in the right place. If you delete a file and you don't remember the right location there can be a problem.
2. The chance to wrote accidentally a delete command into console is smaller than pressing del key. So I think is very dangerous.
3. This is delete, no creating accidentally a new file or whatever. Is not so hard to implement an option ( [] confirm deleting files)
Please fix it... This behavior must be optionally. I want confirmation... I check option. Someone else don't want confirmation?... uncheck option. I don't like enforcements.
Regards.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
James P Michels III (james-p-michels) wrote : | #11 |
This is a no brainer that most software developers figured out decades ago. I can't think of one legitimate reason that this should not be an option.
It's far to easy to make the mistake of moving a file/folder to the trash bin without noticing. There should be an option to confirm any delete or move to trash operation.
Aside from the fat finger mistakes, there is the occasional confusion about which window has focus that can lead to an unwanted move to trash.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
dashton (dominic-ashton) wrote : | #12 |
Any progress on this one?
I seem to be able to delete a folder from my Ubuntu file server by simply clicking the "delete" key. (When viewing the shared directory from my Ubuntu hardy desktop) This is really dangerous as (I don't believe) it goes into any kind of trash folder - the data is simply lost.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
GG (giorgio-gilestro) wrote : | #13 |
I feel this bug should have highest importance.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Wouter Stomp (wouterstomp-deactivatedaccount) wrote : | #14 |
A friend had his cat walking over his keyboard resulting in the deletion of many files that he actually selected to copy them. There really should be a confirmation dialog preventing this from happening! It doesn't seem to be something that is hard to implement...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
michaël (mr-michaelcox) wrote : | #15 |
I'm actually of the other camp. I get frustrated having to lose time confirming every action I wish to perform. It makes me scream "Yes I wish to delete this file, why do you think I pressed delete in the first place?" at my screen. It makes me think back in horror to the days I used that fisherprice green-blue operating system.
If you press delete and clear the trash without looking which files you will be deleting, than sure you will be eventually loosing files and using computers is going to be "dangerous" for you. But people please, we have countless backup and versioning systems to save us from disaster. And the terror of cats can be overcome by locking your computer if you leave it unattended. Confirmation dialogs are just plain annoying.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #16 |
not nominating this bug that's not a new behaviour and in no way a stopper for intrepid
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Zmaster (zmaster-adsl) wrote : | #17 |
This is my patch (it's for SVN).
If "Ask before emptying the Trash or deleting files" is checked in Nautilus preferences it will show a confirmation dialog when trying to trash something. The dialog text needs to be translated, it will default to english.
I also posted this patch in Mailing List on Wed, 17 Dec 2008.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Francis Leboutte (f-leboutte) wrote : | #18 |
This behaviour is really incredible. I can't believe this *** bug *** has to be discussed so lengthy and has not yet been fixed.
If you don't like to get a warning when deleting a file, you should just had to check the appropriate option to get rid of the warning.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
aljos (aljos) wrote : | #19 |
Has nautilus always been this way? I find it hard to believe that any file manager would not have this option available. I have been a konqueror user for a while and was hoping to get used to nautilus, but have come across many very basic issues like this one. I will be switching back to konqueror until this is fixed. This bug is far to risky for me.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #20 |
nautilus asks confirmation before deleting but not when moving to trash there is nothing destructive for your datas there
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Cesar (cesar-astudillo) wrote : | #21 |
My impression is that this "bug" was meant to be like it is right now. If the previous is true, then this discussion should not exist within this bug-reporting system. I can't convince myself that the developers of nautilus didn't think about it, since many other operative systems include this behavior.
The question will be then... why do they take this decision? I would really love to hear some arguments regarding this respect.
reading the comments, I found my self very impressed to see how people try to enforce others to use a system that doesn't ask for confirmation before deleting, while others beg for having a warning before removing a file. My opinion is that clearly a simple check box can avoid this disjunctive as the decision is left to the user of each system.
best regards
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tomer Shalev (shalev-tomer) wrote : | #22 |
We should differentiating the two ways of sending a file to the trash bin - dragging and dropping, or pressing the Delete key.
In the case of drag'n'drop, it is not expected to confirm the file 'deletion'. This is the way it is done on MS Windows also.
In the case of pressing 'Delete', I believe it is expected (by default!) to confirm the file operation. It is reasonable to include an option to disable the confirmation, either by a system setting, or by a 'Don't ask again' check-box shown on the confirmation dialog (unchecked when shown).
File deletion confirmation when pressing 'Delete' is also used in MS Windows. I believe this is the expected behavior by the majority of users, especially new and inexperienced users. As said, more advanced users can disable this feature.
The facts are that users accidentally delete files by pressing 'Del' button, and sometimes they don't notice that, as the icon just disappears (is there any sound played by default?). Later, after emptying the recycle bin, they realize it is gone. Some users don't know they should look the disappeared files there...
> there is nothing destructive for your datas there
When a file is moved to the trash bin, the user considers it GONE. Not all users know to look for the files there, not all of them know they can restore it. Data should not be kept there, so being there means it is deleted. Moving it out from there is a restoration operation, not a normal arrangement of the user's data.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
bon3fire (bon3fire) wrote : | #23 |
>I'm actually of the other camp. I get frustrated having to lose time confirming every action I wish to perform. It makes me scream "Yes I wish to delete this file, why do you think I pressed delete in the first place?" at my screen. It makes me think back in horror to the days I used that fisherprice green-blue operating system.
Yes, true. I hate the Trash. I do not approve with this concept. If I want to delete, I press shift + del to delete the freakin file or i use rm WITHOUT the interactive option. I hate being asked for confirmation of things I know I want to do.
I do not put things in Trash, I delete.
Now if I happen to accidentially press delete, nautilus moves my files away without asking. I do not like that. My torrent folders just moved to the trash and my torrent app whined it could not access the anymore. I lose files because of this behaviour. Please appeal to the people in charge to put an OPTION there where you can disable the trash OR just put a bloody confirmation dialog there.
The del key is just tooo much in reach to be accidentially pressed. Ubuntu gets more and more "user friendly" with every release, why not put that there, too.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
stefano.fraccaro (sf-1) wrote : | #24 |
I have accidentally pressed the delete key... and I HAVE LOST my data because I have not looked for disappeared icon 2 days ago!!! I don't know that gnome put this files directly to the Recycle Bin... because when I delete a file with the right click of the mouse Gnome tell me "are you sure?" and this is the correct behaviour!!
The rules "ask for deleting" is clear... ASK ASK ASK... why Gnome does not ASK if I will that Gnome MUST ASK???????
FIX this (really simple and stupid) bug please!!!
Changed in nautilus: | |
status: | Confirmed → Won't Fix |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #25 |
upstream disagree that's a bug, they have a point you can restore things moved in the trash easily and adding confirmation dialogs is rather annoying than useful in most of the cases
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tomer Shalev (shalev-tomer) wrote : | #26 |
> upstream disagree that's a bug, they have a point you can restore things moved in the trash easily and adding confirmation dialogs is rather annoying than useful in most of the cases
Are you serious?! Any other desktop environment (Windows / KDE) asks. This is what the user expects!
Feels like riding a sport car without brakes...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Chris Coulson (chrisccoulson) wrote : | #27 |
> Are you serious?! Any other desktop environment (Windows / KDE) asks. This is what the user expects!
> Feels like riding a sport car without brakes...
That doesn't mean it is correct though. A confirmation dialog for moving to trash would be intrusive. The trash is there to cover you in the event you accidentally delete a file. If people want a dialog, then we should just get rid of the trash entirely, as it would be completely redundant.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Wouter Stomp (wouterstomp-deactivatedaccount) wrote : Re: [Bug 95853] Re: Delete file in Nautlus - no warning | #28 |
Perhaps we could have one of those yellow message bars that some
applications use, to tell you you deleted a file and providing a
button to cancel it? It is less intrusive and still provides a clue
about what happened and a way to undo it.
On Mon, Apr 20, 2009 at 6:25 AM, Chris Coulson
<email address hidden> wrote:
>> Are you serious?! Any other desktop environment (Windows / KDE) asks. This is what the user expects!
>> Feels like riding a sport car without brakes...
>
> That doesn't mean it is correct though. A confirmation dialog for moving
> to trash would be intrusive. The trash is there to cover you in the
> event you accidentally delete a file. If people want a dialog, then we
> should just get rid of the trash entirely, as it would be completely
> redundant.
>
> --
> Delete file in Nautlus - no warning
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Nautilus: Won't Fix
> Status in “nautilus” source package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: nautilus
>
> SUMMARY
>
> If a file or a folder is selected in Nautilus and you accidently press Delete button, they are moved to the Trash.
>
> NO warning is issued (even though in Nautilus Preferences "Ask before emptying the Trash or deleting files" is selected )
>
> Very annying and dangerious bug to a common user - I deleted very important data without realising then cleaned the Trash, so lost that information.
>
> NOTES
>
> For example, Konquerer asks you if you want to delete a file or a folder.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 25 11:36:22 2007
> DistroRelease: Ubuntu 7.04
> Uname: Linux acer 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686 GNU/Linux
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
aljos (aljos) wrote : Re: Delete file in Nautlus - no warning | #29 |
This is rather disappointing. First of all, we don't need notification bars, or fancy things to tell us we "accidentally" deleted something. Second of all, why is upstream so determined to change the mindset of the users?
This is really simple, add a small option somewhere in the settings (it's not like there are an overwhelming amount of options already). "Prompt for confirmation when sending a file to trash". Put a little check box next to it. Heck, you don't even have to make it checked by default. How hard is this? I can think of no easier solution to something that a large group of people consider a problem.
Sadly, my words are wasted. I was growing fond of Gnome's simplicity, but this mindset has convinced me that the Gnome camp is not where i want to be... and even not where the majority of my customers want to be. This single item is actually large enough to switch them all over to KDE.
Yes, i know i can use Konqueror or Dolphin in Gnome... but they're just not seemless.
Good night, and have fun with your ultra user friendly GUIs that confound the masses.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #30 |
not sure why you consider not asking confirmation for actions as something confusing, do you want a dialog "you choose to cut a file are you sure" to be displayed when doing ctrl-X too? and a confirmation "you are going to move those files there" when doing a drag and drop somewhere too?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
aljos (aljos) wrote : | #31 |
I never said it was confusing.
Using ctrl-x and ctrl-v needs no confirmation (though feel free to make it an option), and i don't think i need to explain why.
Konqueror by default (at least the version i'm using) actually asks you if you want to move, copy, or link a file every time you drag and drop one. This is of course configurable.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Saha (smirta) wrote : | #32 |
This is a bug because if there is an option "Prompt for confirmation when sending a file to trash" it MUST work!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Christian Weber (we-chris) wrote : | #33 |
What's the problem in making it an option? So everyone will be satisfied.
I need definitely a confirmation dialog, because every now and then I accidentally hit the del key without noticing.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
GG (giorgio-gilestro) wrote : | #34 |
I swear I am having the hardest time understanding those who oppose this.
There is already a checkbox to ask the user whether they want a confirmation dialog for real delete.
What is the big deal in having another checkbox to ask whether they want a confirmation upon move to trash???
It's 10 lines of code, for chris sake!
You don't want no confirmation dialog? You leave unchanged and your life is the same.
I did loose some files just because I hit the delete key accidentally(reads: *without even noticing I did*). How useful is the trashbin when it contains things that you are not even aware are inside? You empty your trashbin and voila, your data are gone! This is incredible.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sky (omgee) wrote : | #35 |
After losing my entire movie collection due to an accidental deletion (how was I supposed to know half my hard drive was in the trash can when I emptied it?), the lack of a confirmation option may well be enough to get me to move back to Windows. It is absolutely absurd to me that an operating system as powerful and flexible as Ubuntu won't even give me the *option* to request a dialogue box before deleting items with one keystroke.
I'm a huge fan of Linux, but this is probably a deal-breaker for me -- especially since this is a feature that's been requested for years from many users and still has not been implemented. If I can't find a workaround for this, I'll be forced back to Windows, because I simply do not have the time to continually restore all of my files from backup due to one accidental keystroke.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #36 |
could people stop adding such comments there, you are only spamming people subscribed to the bug, you should discuss the change on bugzilla if you want to convince the code writters, ubuntu only distribute the option, and one could think that checking what is in the trash before emptying it would make sense
Changed in hundredpapercuts: | |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
David Siegel (djsiegel-deactivatedaccount) wrote : | #37 |
Marking this as High importance because it deserves some user testing to determine the appropriate solution.
Changed in hundredpapercuts: | |
importance: | Undecided → High |
milestone: | none → round-7 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Blackhall (johnny-one-eye) wrote : | #38 |
Just putting in my 2 cents: Wouter's suggested idea is a fantastic compromise. It allows power users to keep using the delete key without being interrupted by having to confirm an action, but things that are accidentally trashed can be quickly and easily un-done. It'll be interesting to see what the user testing shows.
>Perhaps we could have one of those yellow message bars that some
>applications use, to tell you you deleted a file and providing a
>button to cancel it? It is less intrusive and still provides a clue
>about what happened and a way to undo it."
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Holger Berndt (berndth) wrote : | #39 |
I think Nautilus' behaviour is correct. The behaviour is by design, and the "confirm_trash" option is doing what it is supposed to do: Request confirmation for the non-revertable actions "Delete Trash" and "Delete files", but not for the revertable "Move to trash". And guys, please stop speaking for "the users" - 10 vocal guys on a bug tracker don't represent a majority of users.
That being said, I agree that a cluebar with an "Undo" button might be a useful _enhancement_ to Nautilus.
But this whole discussion also has a downside. Nautilus is not the only program which can move files to the trash, so that option would either make the desktop more inconsistent, or it would have to be implemented in all applications that can send files to the trash.
There might be another option: It's easy to monitor the trash, and act upon trash-related events, no matter which application caused it (Python code for having notification bubbles on trashing stuff would probably not be longer than this very post). So this feature would maybe better be implemented outside Nautilus.
Of course, there is already an application that does exactly this: The trash applet. So one possible solution would be to provide an option to make this one more noisy, and maybe provide a trashing-diary with undo buttons.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Martin Marek (76house) wrote : | #40 |
>I think Nautilus' behaviour is correct. The behaviour is by design, and the "confirm_trash"
>option is doing what it is supposed to do: Request confirmation for the non-revertable actions
>"Delete Trash" and "Delete files", but not for the revertable "Move to trash".
Despite I have different opinion, I accept the Nautilus authors' decision. I just wonder if the requested behavior can be reached e.g. by some plugin.
>That being said, I agree that a cluebar with an "Undo" button might be a useful _enhancement_ to Nautilus.
I can also imagine such a solution - not obtrusive, but giving sufficient visual feedback to the user, with a possibility to revert the action. Just to find find proper look and feel...
>Python code for having notification bubbles...
Concerning some system-wide notification, I would be careful here. With the new notification system in jaunty, I can feel "inflation of notification" a bit as many apps still notify something (IM events, music player, incoming email...)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vish (vish) wrote : | #41 |
I have to say Sebastien and Holger are correct...
The present behavior is correct.
THERE IS a confirmation while final deletion of the trash, Just because A couple of users did a mistake by ignoring the final deleting confirmation ,and not checking what they are deleting...
it not useful to change the behavior for ALL the others!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Yann Lossouarn (yann-lossouarn) wrote : | #42 |
Mac_v, Sebastien, Holger, I understand your point of view, and I partly agree with you : basically, I think the way Nautilus runs is good. Deleting files is possible without asking confirmation each time, and asking confirmation only before the real deletion is really fluent...
BUT, what makes me say that eventhough I like current Nautilus way of behaving, I'd prefer it to be changed is the discrepancy between Nautilus/Gnome and other major OS'es. Both Windows & MacOS ask confirmation before both file deletion and trash emptying. Most people expect a confirmation at this point. For better usability, we shall meet this expectation AND make this feature customizable so that people like you (and probably me) can deactivate the confirmation before file "move to trash".
Here's the way it's implemented in Vista : http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Wouter Stomp (wouterstomp-deactivatedaccount) wrote : | #43 |
The confirmation before emptying the trash is often useless, as by the time I have to empty the trash there are often hundreds or thousands of files in it and there is no way I am going to spot that accidentily deleted file between them.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kenden (kenden) wrote : | #44 |
I have changed the title to better reflect the situation:
the current behavior is working as designed, this bug is about get getting a new feature: an option to get a warning.
The Importance of the bug should be changed to wishlist.
Regarding inconsistency of behavior with other programs, there is an equivalent bug for Rhythmbox:
https:/
Other programs might have this request logged also.
summary: |
- Delete file in Nautlus - no warning + Add confirmation dialog before deleting files in Nautilus |
summary: |
- Add confirmation dialog before deleting files in Nautilus + Add an option to get a confirmation dialog before deleting files in + Nautilus |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tomer Shalev (shalev-tomer) wrote : Re: [Bug 95853] Re: Delete file in Nautlus - no warning | #45 |
Please can you answer the following question:
If I open a directory in Nautilus, select a file, and press delete - will I
be presented with a confirmation dialog-box?
And now I close all windows, and select a file on the desktop, then press
delete - will I be presented with a confirmation dialog-box?
Should these two scenarios behave the same? Isn't the desktop a specific
case of a folder opened in Nautilus?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kikl (kilian-klaiber) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #46 |
I think we have to be very careful not to copy stuff from windows, which is actually being complained about by many many users. Vista constantly asks you for all kinds of confirmations so much so that people don't read any of the stuff anymore. They just blindly klick away... What good is that?
If you accidentally delete an object, then the trashbin let's you recover the object. That's what the trashbin is for and that's enough protection. If you delete the trashbin without checking the content, then that's just your fault. Or should we have a second trashbin for the items deleted from the trashbin? This is getting absurd. You don't need to be reminded every time that you are deleting an object. Those kind of permanent reminders and confirmation boxes are a nuisance, IMHO. I definitely want to switch that off, if you want to implement it. Sorry, I get passionate about this. But please don't repeat other peoples mistakes, just because user's have become used to these quirks.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Diego Moya (turingt) wrote : | #47 |
For those advocating a dialog confirmation, here's a relevant article from a usability professional, explaining why confirmation dialogs don't work in general as a way to protect user data:
Never use a warning when you mean Undo
http://
I think this is the central point in the linked article:
"interfaces that don’t respect habituation are very bad"
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Diego Moya (turingt) wrote : | #48 |
As for my opinion on the bug, I strongly favor the "Undo button" on a yellow non-modal notification.
For those suggesting to copy Windows, note that in Windows' Explorer there *is* a working "undo" feature when moving files to trash.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kikl (kilian-klaiber) wrote : | #49 |
The working undo feature is the trash bin! You could pop up a notification, which disappears automatically, saying: "You have just deleted..., you can recover it from the trash bin." Once people get used to this, they will not pay any attention to the notification, but at least it doesn't distract your workflow.
Then someone will want a louder and larger notification, possibly an emergency siren, a nuclear bomb, or a collapsing star. Once they get used to that, people won't bother to listen to or look at it anymore, ..... it's a vicious circle, it just doesn't work.
In conclusion, people are responsible for what they do and if you empty your garbage bin without checking the content, then that's your fault, take the blame! You did it even though you were explicitly warned! This notification didn't work, so why should an additional notification make a difference? How many warnings do you need?
I would like to have the option not to have this notification pop up in the future, because I know what the garbage bin is for. Most people migrating from microsoft know this anyhow.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Diego Moya (turingt) wrote : | #50 |
@kikl: the trash bin is not the same as an undo. Even if it provides the same functionality, it is by far much more complex to use than a single key-press (Ctrl-z).
Also last time I checked the trash bin didn't have a way to restore files to the same place they were deleted (like Windows trash bin does).
Compare these two workflows:
- user presses Del key by mistake. Files are moved to trash.
- open the trash bin.
- remember which files where selected when the mistake was made, and find them in the trash bin.
- select files.
- move the deleted files back to the folder (supposing the user did notice the mistake and didn't close the window)
vs
- user presses Del key by mistake. Files are moved to trash, and a prominent but unobtrusive message notifies the operation.
- user presses Undo. The files are restored.
Undo function Just Works(tm). It can be safely ignored in normal workflow, but it's just one click away when you notice you've made an error.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kikl (kilian-klaiber) wrote : | #51 |
@diego:
You can restore to the same folder by right clicking the file in the garbage bin and checking "restore". It's automatically restored to the place, where it was deleted from. Unfortunately, you didn't find that, so that should be improved too. The "restore" and "delete permanently" options in the context menu of the trash bin should appear first, since these are the most important commands in the trash bin. Furthermore, there should be dedicated buttons in the GUI of the trash bin showing these two commands only. At present you open the trash bin in nautilus, right click the file and check restore. So it's a lot easier than what you say. But granted, you didn't find it, so it should be improved.
I don't think your solution is really helpful. People will just stop paying attention to the permanently reoccurring notifications you propose and in the end whine again, when they do something wrong. "It's not me, it's the stupid machine, which should have warned me, grief.... I completely deleted the trash bin in spite of the warning, because I never check it's content, why should I, the machines fault...grief grief"
But, I grant you, that your solution is a lot better than having those confirmation buttons pop up everywhere. I hate that passionately! I'm a grown up person and don't want to be treated by this machine like an imbecile by continually being reminded of the same damn thing each and every time. In particular, the notification should disappear automatically and reasonably fast without the user having to interact with it...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Diego Moya (turingt) wrote : | #52 |
@kikl: You still have to locate in the trash the deleted files after you accidentally delete them. This can be really cumbersome and time-consuming if there are hundreds of files in the trash.
Penalizing the user this way for a small mistake seems a bad idea, specially if the warning before deleting files is to be removed as per this bug proposal.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kikl (kilian-klaiber) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #53 |
Hi diego,
Just keep you're home tidy and you wont have a problem finding stuff.
The same goes for your computer, in particular your trash bin. If you've
got hundreds of files in your trash bin, then it is high time to clean
up the place. Do it, it's your responsibility. If you refuse to clean up
your trash bin, you can enter the file name into the search bar. That's
reasonably fast, isn't it? So no one is penalizing the user for a small
mistake. The user has all the possibilities for correcting his mistake.
The user is just expected to be a grown up person, who acts responsibly.
If you've got notifications popping up all the time, you wont pay any
attention to them and it won't solve your problem. Eventually you will
be looking into the trash bin because the notification wasn't noticed.
That's my opinion and my experience with windows vista. Maybe usability
tests can confirm or refute this. I don't know. As long as these
notifications can be suppressed or disappear automatically in a
reasonable amount of time, I would live with it. If I had to click them
each and every time in order for them to disappear, I would start
cursing the computer and eventually look for another distribution, but
that's just me... Maybe other people love clicking notifications, but I
doubt it.
Regards,
kikl
On Sun, 2009-07-12 at 09:39 +0000, Diego Moya wrote:
> @kikl: You still have to locate in the trash the deleted files after you
> accidentally delete them. This can be really cumbersome and time-
> consuming if there are hundreds of files in the trash.
>
> Penalizing the user this way for a small mistake seems a bad idea,
> specially if the warning before deleting files is to be removed as per
> this bug proposal.
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vish (vish) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #54 |
Seriously , this is a problem /mainly/ for keyboard layouts which have the delete key close to arrow/enter.
Since this is more of a hardware specific + user preference specific issue , even if this feature is implemented,
Penalizing all the users wont be fair , there *should* be a way to turn it off. [File Manager preferences > Behavior tab]
Used to hate the multiple confirmations I had to accept to delete files in Windows.
BTW,As kikl says, notifications will be a bad implementation! It will only lead to ignoring more important notifications.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Yann Lossouarn (yann-lossouarn) wrote : | #55 |
@all : this is fun stuff for an HMI designer/UX specialist... Indeed, an excellent example case for a UX course : how to make a choice between all these point of view, and make everyone happy ? IMHO, there's no way to make everyone happy, as people have antinomic opinions. It seems we have 3 classes of users, here :
- power users who claim they master the machine, and don't want to be bothered by confirmation popup when they pushed the Del key -> "I'm responsible and educated, I know what I do"
- power users who recognize they may make mistakes, sometimes -> "I'm human, error is human, I want to be protected"
- lambda users who come from other horizons , who install a vanilla Karmic -> "I just want a computer that runs ok".
IMHO, the best compromise for these profiles is to have "confirmation before moving to trash" and "confirmation before emptying the trash" = on, by default, at first install + make it customizable in some configuration menu, for "masters of the machine". This will be consistent for both lambda users (who are used to be asked for confirmation, notably on Windows), power users who may make mistakes, and "masters of the machine" are skilled enough to go and uncheck the checbox if they don't want to be asked for confirmation...
BTW : I *know* speaking about Windows as a reference sounds annoying/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Holger Berndt (berndth) wrote : | #56 |
@kikl: Completely unrelated to whether it's a good idea to get undo dialogs/bars on moving to trash or not, Nautilus's trash display does indeed have poor usability. No deletion date grouping, sorting or even displaying. Also, one can't really know where the files are going to be restored to. That makes it hard to navigate or even use the trash, especially when it hasn't been emptied in a while. Also, even with "clean" trashes, there's no way to distinguish several files with identical names etc.
I put together a small Python application to have a better view of the trash (Screenshot: http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vish (vish) wrote : | #57 |
@Holger Berndt:
There is bug for this feature,
https:/
But was rejected in papercuts, because this was considered a difficult task. Could you submit your idea there?
@ Yann Lossouarn, I dont think anyone who has commented here considers themselves "masters of the machine" ;)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kikl (kilian-klaiber) wrote : | #58 |
@Holger Berndt, I like it, I think it's a good idea!
@mac_v thanks for your support.
@all: Instead of a notification, maybe we could add a permanent undo/redo-feature, which looks and works like in open office. It should be familiar to most users and works fast and easy. Nodody would be bothered by windows popping up and Diego would have a fast and easy way to recover files from the trash bin - and even more! Some more food for thought, this probably goes way beyond a papercut.... Well, thanks for listening and good luck to Ubuntu's usability team. You shall succeed!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Yann Lossouarn (yann-lossouarn) wrote : | #59 |
@mac_v : don't worry, I was just kidding... :) What I mean is even if all of us on Launchpad are some kind of power users, some of us are more prone to say things like :
"I'm a grown up person and don't want to be treated by this machine like an imbecile by continually being reminded of the same damn thing each and every time."
... and some others tell thinks like :
"I did loose some files just because I hit the delete key accidentally(reads: *without even noticing I did*). How useful is the trashbin when it contains things that you are not even aware are inside? You empty your trashbin and voila, your data are gone! This is incredible."
Two kinds of users, but a single OS to make them happy... :)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alexander Fieroch (fieroch) wrote : | #60 |
I see different kinds of users and I would like to share my point of view.
I'm one of the users who don't need a recycle bin. I'm aware of files I'm deleting and when I delete them, I really don't need them anymore. So every time I'm just deleting with shift+del and I'm getting a confirmation dialog for that!
Users who don't like the confirmation dialog can switch it off in the behavior preferences, but I like it and don't want to miss it. I'm a power user only using hotkeys but sometimes I'm pressing keys faster than I'm thinking. :-) So a last warning before deleting important files irreversibly is sometimes very useful.
Using the recycle bin is a different point of view. It is for users who don't know if they really want to delete files irreversibly and so to have a fall back. As said before the current recycle bin is confusing and it is not easy to find and recover files quickly. I like the changes for the recycle bin proposed in #56 combined with an "undo" button in nautilus for the last few file-actions. IMO having these improvements makes the recycle bin useful again.
Useful or not the topic is an option for a confirmation dialog. I have to support the wish for an option to get a confirmation dialog before deleting files. A simple confirmation dialog with a checkbox always to confirm deleting files could please all kind of users. The default behavior should show the confirmation dialog for people expecting it and all others can uncheck it to never see it again.
Why is a warning to this action important for some users? Even if you are always aware of files you are deleting, you never can be sure not pressing del by accident for example by a cat crossing the keyboard like in #14 and deleting files you were not aware of.
Sure, you'll find your files in the recycle bin if you didn't disable the trash but if you don't realize that files were deleted you will wonder next time you open the recycle bin and have to spend a lot of time between searching and recovering files you wanted to delete and files deleted by accident. An undo button is a good option to quickly restore files deleted by accident but what if you didn't realize that you hit the del key?
For those people who want to have consistency and don't want to have possible confirmation dialogs for every moving operation: I don't see the action "delete files" and in background moving them to the trash as the same action as "moving files". For the user deleting files is just deleting files and not moving them to the recycle bin. This is only a fall back and in the user minds the files are already deleted.
@#30: I think you cannot compare the actions like cutting files with that pressing delete. Just cutting files by pressing CTRL+x doesn't do anything - you have to press CTRL+v for inserting to achieve a filemoving. Moreover the file combination CTRL+x is not as easy as just pressing del by accident. People who press CTRL-x and then in an other directory CTRL+v know what they are doing in contrast to people who hit the del key by accident because of a very bad designed keyboard.
Once again: where is the consistency? Why am I getting a confirmation dialog for direct deleting by shif...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
aljos (aljos) wrote : | #61 |
I find so many parts of this discussion inane.
All that is needed here is an option! Just a simple item in the preferences that allows you to enable an "are you sure" prompt. No change is needed to the functionality of anything. The option can be added unchecked by default and the average user will never notice. This will end this discussion since it will harm no one who doesn't want it and will get the rest of us to shut up. I have absolutely no idea why this is such a big issue. This is one of many bug reports about the same issue that i have followed for almost 6 months now. I gather that some people seem to be offended by the idea of adding this option. I have no idea why.
Some other thoughts:
- We are arguing about the usage of the recycling bin, and it's usefulness, and its functionality. This discussion has nothing to do with this bug/request, since it is a feature that is used differently by different people. Adding functionality to the recycle bin is not going to change the issue.
- We are all different. I personally think the recycle bin concept is silly, and never use it. If i want a file gone, i delete it. I have backups, and if i'm not sure i want to delete a file, i can move it somewhere else myself. Many people would consider this to be a power user mentality, but i also like a prompt when i hit the delete key. Call me a windows user, a newbie, whatever you want. It really doesn't matter. I'm just different... like we all are.
- We have been discussing a whole bunch of added functionality. I find all of this to be unnecessary. Why are we adding fancy features when all people want is an option to have an "are you sure" prompt?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sashin (sashin) wrote : | #62 |
I don't think it's an issue, merely deleting them in nautilus as they can be recovered from the recycle bin. A notification would be good, since people may delete by accident. But what is important is for a confirmation dialogue to appear when deleting from the recycle bin, but I think we already have this.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joel Pickett (jpickett) wrote : | #63 |
I've tried toggling the checkbox on and off for "Ask before emptying Garbage bin or deleting files"
I'm still not getting a confirmation prompt which slightly annoys me. Like other users, I don't use the Garbage Bin unless I have to so I'd prefer the confirmation prompt when deleting!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
David Siegel (djsiegel-deactivatedaccount) wrote : | #64 |
This bug has no clear fix, and no user testing has been done to determine (A) if this is indeed a problem or (B) what the solution might look like. This can no longer be considered a paper cut.
Changed in hundredpapercuts: | |
milestone: | round-7 → none |
status: | Confirmed → Invalid |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : | #66 |
Bug #95853:Need a confirmation dialog before winning as a cry-baby
The command is not DELETE. It is MOVE to trash. Use common sens before to empty your trash folder.
Windows is the realm of a thousand pop up windows/warnings for every click and key one pushes. If you need a nanny, get back to it.
This bug report is is merely a preference. As for the beginner idea, I am a beginner myself. I use caution at this time, and learn the bash commands to free myself from the GUI.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
bon3fire (bon3fire) wrote : | #67 |
Yeah, use common sense. Or move on to another windowmanager, if the gnome dev's can't be bothered, to implement one stupid _option_, which is not to bother anyone. Unless activated by default. I'm using awesome now. There I can configure the behaviour all by myself. "Screw you guys, I'm going home." (Eric Cartman)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
aljos (aljos) wrote : | #68 |
In response to David Siegel....
*jaw dropping dumbfoundedness*
I really have very few words for your comment and the actions that followed. I have seen very few requests to solve a problem that have simpler or more strait forward solutions. I fail completely to see how your comment has anything to do with this particular bug, and must only conclude that you accidentally commented on, and changed the status of, the wrong bug.
Please correct your mistake. :)
Thanks.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote : | #69 |
I support the proposed change.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
David Siegel (djsiegel-deactivatedaccount) wrote : | #70 |
aljos, I see a proposal to add an option, which would not affect the default experience of Ubuntu unless that option were activated. I see no user data showing that a confirmation dialog before moving to trash would improve user experience. I don't doubt that it would, but we can't make large (it terms of exposure to users) changes like this ad hoc. The Trash feature itself is a form of confirmation. Please don't be dumfounded -- if you think this is a paper cut, prove me wrong. Do some user testing, report your findings, and summarize the change. If the change is to show a confirmation dialog, specify what it should say, what buttons should it have?
The conversation is already going on upstream, so I don't see the advantage of having the same discussion in parallel here.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
jpcote (jp-cotegraphiste) wrote : | #71 |
Can't believe this is not fixed. By not fixing this right away you are giving so much arguments to new users to run away. I can't explain we don't have to choice between a question before deleting or not. My mother in law is having a new computer on Ubuntu for the first time and because of this little detail not fixed I am affraid she will lose important document. She just don't understand what going on and being affraid of every button is not a great way of learning. We are not all teenagers that has a computer only to learn the system, like I was few years ago. Make this system grow up please if we want this system being more than the exception.
Changed in nautilus (Ubuntu): | |
status: | Triaged → Invalid |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
GG (giorgio-gilestro) wrote : | #72 |
- Add the possibility to be prompted by a confirmation dialogue before trashing stuff Edit (18.0 KiB, text/plain)
I made a patch that will fix this by adding a new option to the preference menu. The option is FALSE by default, meaning that default behavior is for things to stay as they are. All those who want to be notified before moving stuff to the trash just check it true.
Hopefully it will be committed at some point.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
aljos (aljos) wrote : | #73 |
GG... You are awesome! Thank you so much. This is all that was needed to fix this problem, and as you said, by default it will change nothing.
Please commit this!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
korvins (katarata) wrote : | #74 |
I think this should be on by default... and I still do not see the point of NOT asking novice users if they are sure to delete a document... It is the one of the most dangerous thing you can do on a computer.
You removed control+
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #75 |
Thank you for your work, could you send the change to GNOME for review?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : | #76 |
winning, winning, and praising... for details...
FN keys not working on most of the notebooks; hardware compatibility; real software bugs, etc. there are serious issues out there with Ubuntu. those should be the "paper cut" bugs: hardware compatibility and usability.
such feedback on a thread from a bunch or crybabies winning about "will my stuff be deleted if I push a key, or can I have zillion warnings before anything happens..."
are you in a religious quest or something for pushing it so hard? Gnome is simple, light. use KDE if you look for bloat, or go back to Windows. Or even better, ask for your mom before pushing your DELETE key. and if she is already dead, out of confusion, hang yourself.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joel Pickett (jpickett) wrote : | #77 |
nomnex, I think you're getting one confirmation confused with a zillion.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kikl (kilian-klaiber) wrote : | #78 |
Well, you already get a confirmation if you want to delete the trash-bin. So you are asking for two confirmations instead of one. The question is: If one confirmation does not prevent you from deleting the trash, why should a second confirmation make a difference? IMHO it doesn't. It's just bloat.
But, I don't object to the way it's supposed to be implemented. It's an additional option. The default behaviour isn't changed. So you can enable it if you like joel.
Finally, I agree with nomnex - although he could have been a little more polite - this issues has been completely overblown and is not very important. Ubuntu folks should not wast any more time with this topic.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : | #79 |
I am extrapolating. but whatever, when people open a bug/comment, asking "can you fix the problem" while there is no problem, but these people themselves, they should be turned down.
I welcome usability to some extend, eg. automount a USB drive, vs. opening the prompt to mount the volume, but this thread is not about usability, is about stupidity (and winning).
Today there is a request for this, and tomorrow for that. ++ code, ++ bloat, ++ actions/settings and -- usability.
The imbeciles should voice up their stupidity on commercial software boards. Windows or Mac are especially designed for them, welcome them and listen to them. Here is a perfect cretins tool http://
Just wondering, the day (if) the very same people try "rsync", they will probably open new bugs to request all sorts of warnings, ha-ha!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vish (vish) wrote : | #80 |
@nomnex : To maintain a respectful atmosphere, please follow the code of conduct - http://
You might not agree with the bug report or its intentions , but there is no need to be rude.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : | #81 |
@mac_v. thanks to clarify.
side-note: it did occurred to my mind calling imbeciles imbeciles was rude, sorry about it ;-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : | #82 |
oups, typo!
Edit: it did "not" occurred to my mind, etcetera.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Druciferre (drewchapin) wrote : | #83 |
It bothers me that no one wants to fix this. It would seem more logical to me that deletion of a file via the delete key needs more confirmation than deleting with the mouse.
If you delete with the mouse that requires two clicks and mouse movement. It's pretty intentional...
If you delete with the delete key, all it requires a file to be selected and hitting the delete key. There is a lot of opportunity here for accidental deletion. Say you just finished opening a file and then something fell on your keyboard and pressed the delete key. File is gone, and you might not even know it. Or say you meant to press the End key to go the last file and you pressed delete...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #84 |
On Fri, 2010-04-30 at 07:20 +0000, Druciferre wrote:
> It bothers me that no one wants to fix this. It would seem more logical
This is not a bug, so there is nothing to fix. the Del key sends your
files in the trash, they are not gone. the command $ rm does remove the
files from your system, so you rather use it with the switch (-i or -I).
Now, if you don't know what you are deleting or how, you'd better be off
using an OS for average cretins like Windoze or OSX. I find so boring
people asking for even more unnecessary warnings to excuse their own
carelessness.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Druciferre (drewchapin) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #85 |
nomnex, I do not appreciate your attitude, assumptions that I am novice user, and implication that I do not know how to use the rm command.
My point is that the warnings in place are the unnecessary ones and that ones that ought to be necessary are what is being debated. Deleting a file with the cursor is clear and deliberate. It requires too many actions for it not it be. Pressing the delete key is not always a deliberate action. How often do you hit A when you meant to hit S? Most people read context menu items before clicking them, even expert users. Most people do NOT read the keys on their keyboard before hitting them, ESPECIALLY expert users.
Also, I don't see why you feel the need to reiterate the file goes to the trash? This has been clarified quite clearly in previous posts. Regardless of where the file goes, with no confirmation on pressing the delete key, there is much greater potential you don't know the file has been removed, and then if you empty the trash, the file IS gone. Are you saying you want everyone to look over EVERY single file in their trash before emptying it?
My overall point is that I don't understand why this is even a debate. Developers are acting like it's a major overall to add an if statement with a message box.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Druciferre (drewchapin) wrote : | #86 |
*overhaul
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
jce (jceatwell) wrote : | #87 |
this is not a bug though myself and many other users really feel that there needs to be a confirmation for the delete action (well at least an option to turn it on - before the file(s) are moved to trash). whilst most people are arguing that they are content with a confirmation on delete of the trash bin, my argument is that if i have already confirmed the file deleted in trash why would i ask for a delete out of trash.
when you throw away a piece of paper you don't hunt through your garbage checking everything, you just throw it out. though i'm positive you think before throwing it out in the first place.
can't this just be resolved with a simple added check-box for confirmation of delete before moving to trash? please
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #88 |
On Fri, 2010-04-30 at 08:29 +0000, Druciferre wrote:
> nomnex, I do not appreciate your attitude, assumptions that I am novice
> user, and implication that I do not know how to use the rm command.
>
> My point is that the warnings in place are the unnecessary ones and that
> ones that ought to be necessary are what is being debated.
What are you talking about? Del means just MOVE your files to another
directory called Trash. Trash is a directory in you /home along other
directories. When you actually remove files from your system (i.e. you
empty the trash) you will have a WARNING message (default). What else do
you need??
All the people whining along this thread have the misconception of
over-protective OS with redundant features. They just can't get it
right.
Now look at the bug status: WON'T FIX
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : | #89 |
On second though, what some of you ask in this thread is a confirmation
to MOVE files and that's wrong.
We can do without warning confirmation for moving or copying files can't
we? You have one warning when you actually REMOVE files from you system
and that's appropriate.
And it goes without saying that one needs to manage its Trash
directory's content as any other directory.
Hope that ease the grief?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Andrei Drynov (adrynov) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #90 |
I am sorry, but I got tired of this thread. Who do I close the bug (I am the originator)?
I am a happy cretin user of Windows (yes, nomnex, you give very bad impression of Linux users, unlike people in Ubuntu forums), so I do some cretin stuff like Silverlight 4 development, VLDB processing and AD management - without any issues.
Specific tools for specific uses...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
nomnex (nomnex) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #91 |
On Fri, 2010-04-30 at 12:55 +0000, Andrei Drynov wrote:
> I am sorry, but I got tired of this thread. Who do I close the bug (I
> am
> the originator)?
>
> I am a happy cretin user of Windows (yes, nomnex, you give very bad
> impression of Linux users, unlike people in Ubuntu forums), so I do
> some
> cretin stuff like Silverlight 4 development, VLDB processing and AD
> management - without any issues.
>
> Specific tools for specific uses...
Oh, you want to humor me. Go head.
Bugs don't close -- this is not a thread on the Ubuntu forum. See the
wiki https:/
bug status.
As for for Silverlight it is indeed just another MS cretin stuff to,
once again, attempt to impose a proprietary format no one--the normal
people--will ever care about. Microsoft is the bug number 1 on Launchpad
Ubuntu, see: https:/
why you bring this here? Go post about you skills on a MS board.
Give a very bad impression of Linux users? No way. I am always glad to
help other Linux users and to get help. What makes you think such thing?
I have put in perspective the difference between "MOVE" and "DELETE from
the system". Obviously some (insecure) ex-MS fan boys still do not catch
the difference very well, hence the whining. But that's part of the
learning curve. Linux needs commitment.
PS: Tired? Nothing holds you to un-subscribe.
Bye
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthew Paul Thomas (mpt) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus | #92 |
When an interface makes something too easy to do, it often causes arguments like this one. One group of people gets frustrated that they keep doing the thing by mistake. And another group of people -- for whom "too easy" seems like an oxymoron -- can't believe that the first group are making the mistake, so they resort to unhelpful insults. (I know this because I was once in the second group, arguing against people who complained that Mozilla's Ctrl+Enter keyboard combo made it too easy to send an e-mail message by mistake.)
Adding a confirmation alert is one way to make something more difficult to do, but it is the most crass way. A much simpler solution would be to change the keyboard combo for sending something to the trash, so that it requires two keys rather than one.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alexander Fieroch (fieroch) wrote : | #93 |
@#92: That's what I said in #60 with my last sentence too:
change the combo to something like CTRL+m to prevent a shortcut that can be hit by accident with a single key and to show it's not a deleting but a moving operation.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Leeq (leekyuh) wrote : | #94 |
To some people who think "Delete" is just a "Move to Trash bin":
Suppose that you have 1500+ items in your trash bin. You pressed DEL without noticing which file it was.
Objectively speaking, do you still think it is a reasonable behavior?
You'll understand how irritating this is if you commit and feel the pain. (As I did just now on a Lucid 32bit Desktop.)
If one wants to "Move" to the "Trash bin", he will simply drag and drop it to the waste bin.
I'm not saying they are "short-sighted", but it would be really nice to consider other people's view and think what could be the possible outcomes if not fixed.
And who simply says "because it is Not Windows" does not seem to be logical answer to me - just emotional.
As you could see from the above example, confirmation dialogue should be quite "practical" for many people, especially for people who want to move to the Linux world from Windows.
If it makes Ubuntu better, why not accept and fix it?
People who don't like this functionality could simply turn it off.
No loser, isn't it?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Holger Berndt (berndth) wrote : | #95 |
> Suppose that you have 1500+ items in your trash bin.
> You pressed DEL without noticing which file it was.
A warning for every single move-to-trash operation to "fix" this problematic usecase is implementing a cruel workaround instead of fixing the issues (in this case trash view usability). In fact, current Nautilus git master has "trashed-on" column in list view, and (irrespective of the view) sorts the trashcan by reversed deletion date by default. So, the question "Which file did I just delete" is pretty simple to answer, no matter how many million files you have in your trashcan: It's the topmost.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alexander Obersht (alexander-obersht) wrote : | #96 |
I don't understand the ongoing "holy war" at all. Why can't the confirmation dialog be optional. Those who want it, will turn it on, and those who don't want it will turn it off. Problem solved and everyone's happy.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jon White (molip) wrote : | #97 |
Holger Berndt wrote:
> the question "Which file did I just delete" is pretty simple to answer, no matter how many million files you have in your trashcan: It's the topmost.
How is it the topmost? The Wastebasket has no way to sort by deleted date. If it did, then this improvement would be a lot less urgent, IMHO.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Holger Berndt (berndth) wrote : | #98 |
> The Wastebasket has no way to sort by deleted date.
> If it did, then this improvement would be a lot less urgent, IMHO
Please read what I wrote. Quoting myself:
"In fact, current Nautilus git master has "trashed-on" column in list view, and (irrespective of the view) sorts the trashcan by reversed deletion date by default".
So, as it landed in git master, it will be in one of the next releases.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
David Tombs (dgtombs) wrote : | #99 |
Good news, the "trashed on" column will be in maverick: bug 301552.
Changed in nautilus: | |
importance: | Unknown → Wishlist |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
dopey (dopey-mailinator) wrote : | #100 |
I don't know why it is not implemented.
Come on, it's no big deal : it's 20 lines of code, something like this ! look at the proposed patch.
It's just an preference. It will harm noone, you can disable it or enable it.... all file manager do it...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
agofay (agofay) wrote : | #101 |
After several years asking/waiting for the implementation of an option like ¨Prompt before send Files or Folder to trash¨ I´m almost near to left gnome, it´s my favorite but many people needs this a simple option easy to implement.
If developers does n´t want to do ... well .. we just resign or ...
If someone knows how or who can do this behavior (please let me know) I´m disposed to pay for that, please, someone who ask to nautilus developers how much cost implement this option and I will pay for that. If it is very expensive, I hope other users help me to pay.
Other option is to help to programming it, with a correct guide I´l be able to do it.
Maybe they can say again ¨this is how nautilus works, will not be changed¨ ... if so... then sadly I´l be pushed to move to other desktop/distro (Maybe W***) :(
Thanks
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Paul Sladen (sladen) wrote : | #102 |
agofry:
1. Run 'gconf-editor'
2. Navigate to apps/nautilus/
3. Ensure "confirm_trash" is ticked.
Changed in hundredpapercuts: | |
importance: | High → Low |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
kenden (kenden) wrote : Re: Add an option to get a confirmation dialog before sending files to the trash in Nautilus | #103 |
Thanks Paul. There is already an option for that in the Nautilus GUI:
Edit > Preferences > Behavior: Ask before emptying the trash or deleting files..
This bug is actually about getting an option to warn the user before sending files to the trash.
I'll update the title of the bug.
summary: |
- Add an option to get a confirmation dialog before deleting files in - Nautilus + Add an option to get a confirmation dialog before sending files to the + trash in Nautilus |
Changed in hundredpapercuts: | |
importance: | Low → Wishlist |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
William (Mike) Alam (commerce-fastmail) wrote : | #104 |
After 103 comments, I don't know why I am compelled to jump in. OCD, I guess.
In pseuocode:
IF NOT Options.
MoveToTrash
This is bloat? Seriously?
I detest Windows. I'm convinced that Microsoft is the company Dilbert works for. I tell all my friends how wonderful Linux is, and what an easy path to Linux Ubuntu is. But then I have to add: "It's still a little geeky around the edges. For instance, if you accidentally hit delete, it will move files and even whole folders to the trash without asking--but don't worry you can get them back. But the trash can isn't where you expect it to be. It's down here..."
True, one of the things I love about Linux is that it runs fast on cheap hardware and I suppose bazillions of confirmations could add up to bloat, eventually, but you'd have to work hard to overtake Moore's law. I fact, I think you'd have to make it a priority.
Maybe an even cheaper fix would be to put the trash bin on the desktop by default. That's where refugees from Windows expect to see it. Since Ubuntu is positioning itself as the gateway to Linux, the option could be set by Ubuntu's installation. This behavior is alarming only because the Delete key says "Delete," not "Move" and because a new user might not notice the trash bin hiding out on the bottom panel, but if the trash bin was highly visible, that should solve it.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
GG (giorgio-gilestro) wrote : | #105 |
I submitted a patch to solve this issue back in 2009 (see comment #72). It's depressing to see that it has not been taken into account despite lots of people really want this.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Paul Sladen (sladen) wrote : | #106 |
GG: please could you re-make the patch as a unified diff ("diff -u old new") and we'll see whether we can help get this upstream. I'm sorry that it was missed for so long. It would be useful if you could give a quick outline of why/how this interacts with the current schema that can be overridden with:
1. Run 'gconf-editor'
2. Navigate to apps/nautilus/
3. Ensure "confirm_trash" is ticked.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
GG (giorgio-gilestro) wrote : | #107 |
- nautilus-2.32.2.1-confirmtotrash.patch Edit (18.9 KiB, text/plain)
Paul: the attached file will patch correctly against nautilus 2.32.2.1
The current schema you are referring to has nothing to do with this bug. The confirm_trash boolean value will ask user a confirmation before emptying the trashbin or before deleting files without passing through the trash first.
Bug #95853 is about having a confirmation when you move files to the trash (mainly because if you hit the delete key on your keyboard without noticing it you will lose stuff).
My patch adds a new schema variable in apps/nautilus/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #108 |
thanks for your work there but the issue is not that your patch is wrong but that having inconsistant behaviours between installations and such options in the ui is not really the way to go
Changed in nautilus (Ubuntu): | |
assignee: | Ubuntu Desktop Bugs (desktop-bugs) → nobody |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
GG (giorgio-gilestro) wrote : | #109 |
Sebastien,
If all installations were to ship exactly the same stuff, there would be no point using one or the other, don't you think?
Anyway, I just sent the patch upstream and let's see what they say. In my case, I don't really care anymore cause I switched to archlinux about 3 years ago and I am using my own patched version of nautilus-
description: | updated |
summary: |
- Add an option to get a confirmation dialog before sending files to the - trash in Nautilus + Nautilus: too easy to move files/folders to Trash (single key press of + "Delete") |
description: | updated |
tags: | added: needs-design |
description: | updated |
description: | updated |
no longer affects: | hundredpapercuts |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
pcalligaris (pcalligaris) wrote : | #110 |
there is some news about this feature? It will be a precious enhancement for Nautilus users...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Philipp Noack (philipp-noack-b) wrote : | #111 |
I don't understand whats the problem with giving users the choice of letting nautilus prompt before moving files to trash. It could also be disabled by default but we should be able to choose!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Wagner Macedo (wagnerluis1982) wrote : Re: [Bug 95853] Re: Nautilus: too easy to move files/folders to Trash (single key press of "Delete") | #112 |
I switched to KDE some years ago. The last straw that made me change was
this bug.
Dolphin has this feature for years. I (as many others) really don't
understand what the barrier which makes this bug not be fixed yet.
I don't mean to return to Gnome (or Cinnamon/
have friends that still like it, hence my interest.
--
Wagner Macedo
On 22 June 2015 at 09:55, Philipp Noack <email address hidden> wrote:
> I don't understand whats the problem with giving users the choice of
> letting nautilus prompt before moving files to trash. It could also be
> disabled by default but we should be able to choose!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Nautilus: too easy to move files/folders to Trash (single key press of
> "Delete")
>
> To manage notifications about this bug go to:
> https:/
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Isaac (isaac-d1) wrote : | #113 |
Gosh, this thread got ugly, with the "windoze" bashing and calling people "imbeciles", over a feature that is:
a) easily solved (I went back and forth between looking for solutions on the internet, and essentially rewriting most of the code GG wrote in a patch more than 7 years ago, before noticing that he did it).
b) would inconvenience NOBODY (it would be an option, turned OFF by default, so the default behavior wouldn't change)
c) ... in an application that isn't exactly overflowing with user options
d) ... and would have effectively no additional performance overhead (we're calling one user setting, one branch operation, and MAYBE a hundred bytes of memory - if this is what we're calling bloat, give me a break kids).
e) and when you find yourself on a strange, annoying or poorly laid out keyboard, becomes VERY important.
I truly can't believe this community sometimes. Because credentials and history seems to matter to some people, I've been using Linux AND Windows for over 15 years (each). I am comfortable in both - though more comfortable on the command line, where things can't accidentally end up in the trash by hitting a delete key that is too close to an enter key. I spend most of my time developing code in Linux, and then using Windows for anything "productive" that I want to do - i.e. anything other than develop code on the command line. Why? Because in a modern operating system - one that wants its users to know what's going on, and prevent things like accidental data loss if the wrong key is pressed - these aren't issues. And I'm a user who knows what I'm doing - I can only imagine the user that is relatively new to Linux.
The arguments - 'OMG do we need a dialog box for copies? moves? drags?' Sure, if those can be done by one errant keypress. If move-to-trash became a ctrl+whatever combo instead of a single key, this whole topic would be moot.
Did I spend 20 minutes having to fish things out of the trash because of it tonight? Yes. Could I have possibly, irreparably, lost data if I hadn't noticed? Absolutely.
If these are the sort of things that generate ridicule, then it's time to stop trying to entice "ordinary users" (you know, the OSX and Windoze folks everyone seems to revile) from ever using Ubuntu. Or to stop making Gnome/Nautilus the default file browser.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Frankie (26021999-6) wrote : | #114 |
Isaac,
thank you for that comment - you are just hitting the nail on the head!!
I'm IT professional for 25 years and decided to change to ubuntu 8.04 LTS - I really like it.
On the other hand I can't believe that nobody took care on the need of so many users since more than 8 years now.
I read about hundreds of workarounds in GNOME to change Nautilus short cuts, but I didn't make any of them work for Ubuntu.
Hitting DEL by accident may happen to everybody !!
Please Nautilus developers out there bring this annoying discussion to an end. any of the above mentioned options would be fine.
I hate wasting time to check the trash before deleting its content - that's just not user friendly.
Regards
There is a discussion in gnome.org about this issue.
I'm personally in favour of not asking confirmation but warning the user (for instance through the status bar message).