[haiku-bugs] Re: [Haiku] #5335: Conflicts and inconsistencies when sending files and folders to the trash. (was: Can't delete a folder with same name as a trashed file)

  • From: "jstressman" <trac@xxxxxxxxxxxx>
  • Date: Sat, 20 Mar 2010 19:00:23 -0000

#5335: Conflicts and inconsistencies when sending files and folders to the 
trash.
----------------------------------+-----------------------------------------
 Reporter:  humdinger             |       Owner:  axeld         
     Type:  bug                   |      Status:  new           
 Priority:  normal                |   Milestone:  R1            
Component:  Applications/Tracker  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
 Platform:  All                   |    Blocking:                
----------------------------------+-----------------------------------------
Changes (by jstressman):

 * cc: jstressman@… (added)


Comment:

 After humdinger mentioned this I did some further testing and we have even
 more inconsistent and bad behavior...

 If you have a folder in the trash calling "Testing" and you then delete
 another folder called "Testing" it will be silently merged with the
 previous folder and any files inside that folder will silently overwrite
 the previous files regardless of their contents.

 So if you have a "Testing" folder with a "Foobar" file in it that is 1mB
 of data... and you then delete a "Testing" folder with a file in it called
 "Foobar" that is 0 size, it will silently overwrite the previous file with
 the 0 size file.

 If you then delete a folder called "Testing" with a folder called "Foobar"
 in it, with the other "Testing" folder with the "Foobar" file in it
 already in the trash, the new folder "Foobar" in the "Testing" folder will
 simply be silently discarded completely as in the behavior humdinger was
 talking about.

 Should there be some kind of invisible means of indexing deletes by time
 or something that you wouldn't start piling up copies of copies, and
 instead have the files using their original names, with a "deleted on"
 date or something? That way there would be no issue with the name
 conflicts to begin with?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5335#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #5335: Conflicts and inconsistencies when sending files and folders to the trash. (was: Can't delete a folder with same name as a trashed file) - jstressman