Nautilus: too easy to move files/folders to Trash (single key press of "Delete")

Bug #95853 reported by Andrei Drynov
212
This bug affects 26 people
Affects Status Importance Assigned to Milestone
Ayatana Design
New
Undecided
Unassigned
Nautilus
Won't Fix
Wishlist
nautilus (Ubuntu)
Invalid
Low
Unassigned
Declined for Intrepid by Sebastien Bacher
Nominated for Karmic by Martin Marek

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/nautilus/preferences/confirm_delete') and accompanying user interface components to make single key deletion require a dialogue box pass-through. Some other environments, such as Konquerer, ask the user if they want to delete a file or a folder.

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.

Tags: needs-design
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

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).

Changed in nautilus:
status: Unknown → Unconfirmed
Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Wagner Macedo (wagnerluis1982) wrote :

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.

Revision history for this message
mugroko (mugroko2000) wrote :

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!

Revision history for this message
Szabolcs Szakacsits (szaka) wrote :

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://www.ntfs-3g.org/support.html#diskspace

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

Revision history for this message
Anon Ymous (arctos) wrote :

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
Revision history for this message
Boris Burtin (boris-burtin) wrote :

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").

Revision history for this message
Fred (eldmannen+launchpad) wrote :

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!

Revision history for this message
Fred (eldmannen+launchpad) wrote :

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!

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

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
Revision history for this message
Florin Oprea (z80ldir) wrote :

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.

Revision history for this message
James P Michels III (james-p-michels) wrote :

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.

Revision history for this message
dashton (dominic-ashton) wrote :

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.

Revision history for this message
GG (giorgio-gilestro) wrote :

I feel this bug should have highest importance.

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

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...

Revision history for this message
michaël (mr-michaelcox) wrote :

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.

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

not nominating this bug that's not a new behaviour and in no way a stopper for intrepid

Revision history for this message
Zmaster (zmaster-adsl) wrote :

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.

Revision history for this message
Francis Leboutte (f-leboutte) wrote :

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.

Revision history for this message
aljos (aljos) wrote :

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.

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

nautilus asks confirmation before deleting but not when moving to trash there is nothing destructive for your datas there

Revision history for this message
Cesar (cesar-astudillo) wrote :

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

Revision history for this message
Tomer Shalev (shalev-tomer) wrote :

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.

Revision history for this message
bon3fire (bon3fire) wrote :

>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.

Revision history for this message
stefano.fraccaro (sf-1) wrote :

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
Revision history for this message
Sebastien Bacher (seb128) wrote :

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

Revision history for this message
Tomer Shalev (shalev-tomer) wrote :

> 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...

Revision history for this message
Chris Coulson (chrisccoulson) 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.

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote : Re: [Bug 95853] Re: Delete file in Nautlus - no warning

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://bugs.launchpad.net/bugs/95853
> 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
>

Revision history for this message
aljos (aljos) wrote : Re: Delete file in Nautlus - no warning

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.

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

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?

Revision history for this message
aljos (aljos) wrote :

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.

Revision history for this message
Saha (smirta) wrote :

This is a bug because if there is an option "Prompt for confirmation when sending a file to trash" it MUST work!

Revision history for this message
Christian Weber (we-chris) wrote :

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.

Revision history for this message
GG (giorgio-gilestro) wrote :

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.

Revision history for this message
Sky (omgee) wrote :

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.

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

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

Martin Albisetti (beuno)
Changed in hundredpapercuts:
status: New → Confirmed
Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

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
Revision history for this message
Jonathan Blackhall (johnny-one-eye) wrote :

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."

Revision history for this message
Holger Berndt (berndth) wrote :

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.

Revision history for this message
Martin Marek (76house) wrote :

>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...)

Revision history for this message
Vish (vish) wrote :

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!

Revision history for this message
Yann Lossouarn (yann-lossouarn) wrote :

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://blogs.techrepublic.com.com/window-on-windows/?p=595

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

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.

Revision history for this message
kenden (kenden) wrote :

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://bugs.launchpad.net/rhythmbox/+bug/234353
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
Revision history for this message
Tomer Shalev (shalev-tomer) wrote : Re: [Bug 95853] Re: Delete file in Nautlus - no warning

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?

Revision history for this message
kikl (kilian-klaiber) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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.

Revision history for this message
Diego Moya (turingt) wrote :

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://www.alistapart.com/articles/neveruseawarning

I think this is the central point in the linked article:
"interfaces that don’t respect habituation are very bad"

Revision history for this message
Diego Moya (turingt) wrote :

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.

Revision history for this message
kikl (kilian-klaiber) wrote :

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.

Revision history for this message
Diego Moya (turingt) wrote :

@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.

Revision history for this message
kikl (kilian-klaiber) wrote :

@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...

Revision history for this message
Diego Moya (turingt) 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.

Revision history for this message
kikl (kilian-klaiber) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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.
>

Revision history for this message
Vish (vish) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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.

Revision history for this message
Yann Lossouarn (yann-lossouarn) wrote :

@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/exasperating to some of you. But as a UX specialist, I have to say something : eventhough standards are not everything, in HMI design, they are really helpful. Making things in a different way is great, when there's a good reason to do so, and no reason to stick to the standard. But it appears that in our case, the presence of a confirmation popup is argued : there are pros and cons. In that context, sticking to the standard + making things customizable seems to be a good approach. For a lot of people, Windows is the reference : most of them started using computers with Windows, and Windows runs >95% of computers. Beside of this, there are well known usability rules in HMI design (e.g. Bastien & Scapin principles) that say errors shall be managed, and notably by protecting the user against errors he may perform. Forgetting this kind of rules in HundredPapers (a project which aims at improving Ubuntu's usability...) would appear as counter-productive.

Revision history for this message
Holger Berndt (berndth) wrote :

@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://img10.imageshack.us/img10/5161/bildschirmfoto1t.png). Gnome's base libraries make that pretty easy. Maybe it'd be good to have such a display in Nautilus, or maybe even standalone started from the trash applet. Anyways, although trash usability is clearly related, this seems to be orthogonal to this very bug report.

Revision history for this message
Vish (vish) wrote :

@Holger Berndt:
There is bug for this feature,
https://bugs.edge.launchpad.net/hundredpapercuts/+bug/301552

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" ;)

Revision history for this message
kikl (kilian-klaiber) wrote :

@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!

Revision history for this message
Yann Lossouarn (yann-lossouarn) wrote :

@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... :)

Revision history for this message
Alexander Fieroch (fieroch) wrote :
Download full text (3.9 KiB)

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...

Read more...

Revision history for this message
aljos (aljos) wrote :

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?

Revision history for this message
Sashin (sashin) wrote :

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.

Revision history for this message
Joel Pickett (jpickett) wrote :

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!

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

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
Revision history for this message
nomnex (nomnex) wrote :

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.

Revision history for this message
bon3fire (bon3fire) wrote :

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)

Revision history for this message
aljos (aljos) wrote :

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.

Revision history for this message
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote :

I support the proposed change.

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

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.

Revision history for this message
jpcote (jp-cotegraphiste) wrote :

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
Revision history for this message
GG (giorgio-gilestro) wrote :

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.

Revision history for this message
aljos (aljos) wrote :

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!

Revision history for this message
korvins (katarata) wrote :

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+Alt+backspace behaviour (which is great to remove it) and I think we should do the same with delete without asking, specially when coming from the keyboard.

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

Thank you for your work, could you send the change to GNOME for review?

Revision history for this message
nomnex (nomnex) wrote :

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.

Revision history for this message
Joel Pickett (jpickett) wrote :

nomnex, I think you're getting one confirmation confused with a zillion.

Revision history for this message
kikl (kilian-klaiber) wrote :

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.

Revision history for this message
nomnex (nomnex) wrote :

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://www.symantec.com/norton/ghost (~200 MB) on Windows.

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!

Revision history for this message
Vish (vish) wrote :

@nomnex : To maintain a respectful atmosphere, please follow the code of conduct - http://www.ubuntu.com/community/conduct/ . This bug isnt part of the papercuts , nor does nautilus upstream want to fix this either . Hence it is marked upstream as 'wont fix"
You might not agree with the bug report or its intentions , but there is no need to be rude.

Revision history for this message
nomnex (nomnex) wrote :

@mac_v. thanks to clarify.

side-note: it did occurred to my mind calling imbeciles imbeciles was rude, sorry about it ;-)

Revision history for this message
nomnex (nomnex) wrote :

oups, typo!

Edit: it did "not" occurred to my mind, etcetera.

Revision history for this message
Druciferre (drewchapin) wrote :

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...

Revision history for this message
nomnex (nomnex) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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.

Revision history for this message
Druciferre (drewchapin) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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.

Revision history for this message
Druciferre (drewchapin) wrote :

*overhaul

Revision history for this message
jce (jceatwell) wrote :

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

Revision history for this message
nomnex (nomnex) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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

Revision history for this message
nomnex (nomnex) wrote :

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?

Revision history for this message
Andrei Drynov (adrynov) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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...

Revision history for this message
nomnex (nomnex) wrote : Re: [Bug 95853] Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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://wiki.ubuntu.com/Bugs/Status to have some insight about the
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://launchpad.net/ubuntu/+bug/1. I don't really know
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

Revision history for this message
Matthew Paul Thomas (mpt) wrote : Re: Add an option to get a confirmation dialog before deleting files in Nautilus

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.

Revision history for this message
Alexander Fieroch (fieroch) wrote :

@#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.

Revision history for this message
Leeq (leekyuh) wrote :

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?

Revision history for this message
Holger Berndt (berndth) wrote :

> 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.

Revision history for this message
Alexander Obersht (alexander-obersht) wrote :

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.

Revision history for this message
Jon White (molip) wrote :

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.

Revision history for this message
Holger Berndt (berndth) wrote :

> 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.

Revision history for this message
David Tombs (dgtombs) wrote :

Good news, the "trashed on" column will be in maverick: bug 301552.

Changed in nautilus:
importance: Unknown → Wishlist
Revision history for this message
dopey (dopey-mailinator) wrote :

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...

Revision history for this message
agofay (agofay) wrote :

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

Revision history for this message
Paul Sladen (sladen) wrote :

agofry:

  1. Run 'gconf-editor'
  2. Navigate to apps/nautilus/preferences
  3. Ensure "confirm_trash" is ticked.

Changed in hundredpapercuts:
importance: High → Low
Revision history for this message
kenden (kenden) wrote : Re: Add an option to get a confirmation dialog before sending files to the trash in Nautilus

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
Revision history for this message
William (Mike) Alam (commerce-fastmail) wrote :

After 103 comments, I don't know why I am compelled to jump in. OCD, I guess.

In pseuocode:

  IF NOT Options.Behavior.ComfirmMoveToTrash.Checked OR Confirm("OK to move <filename> to trash?") THEN
     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.

Revision history for this message
GG (giorgio-gilestro) wrote :

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.

Revision history for this message
Paul Sladen (sladen) wrote :

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/preferences
  3. Ensure "confirm_trash" is ticked.

Revision history for this message
GG (giorgio-gilestro) wrote :

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/confirm_movetotrash and that will let the user decide whether they will have a confirmation prompt or not.

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

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
Revision history for this message
GG (giorgio-gilestro) wrote :

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-elementary.

Paul Sladen (sladen)
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
Paul Sladen (sladen)
description: updated
Paul Sladen (sladen)
description: updated
no longer affects: hundredpapercuts
Revision history for this message
pcalligaris (pcalligaris) wrote :

there is some news about this feature? It will be a precious enhancement for Nautilus users...

Revision history for this message
Philipp Noack (philipp-noack-b) 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!

Revision history for this message
Wagner Macedo (wagnerluis1982) wrote : Re: [Bug 95853] Re: Nautilus: too easy to move files/folders to Trash (single key press of "Delete")

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/Mate/Unity/whatever), but I
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://bugs.launchpad.net/bugs/95853
>
> Title:
> Nautilus: too easy to move files/folders to Trash (single key press of
> "Delete")
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ayatana-design/+bug/95853/+subscriptions
>

Revision history for this message
Isaac (isaac-d1) wrote :

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.

Revision history for this message
Frankie (26021999-6) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

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