[haiku-bugs] Re: [Haiku] #5827: Trash sometimes visible, sometimes hidden

#5827: Trash sometimes visible, sometimes hidden
----------------------------------+-----------------------------------------
 Reporter:  axeld                 |       Owner:  anevilyak     
     Type:  bug                   |      Status:  in-progress   
 Priority:  normal                |   Milestone:  R1/alpha2     
Component:  Applications/Tracker  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
 Platform:  All                   |    Blocking:                
----------------------------------+-----------------------------------------

Comment(by anevilyak):

 Come to think of it, that might be the problem...FSCreateTrashDirs() is
 run on Tracker startup, but if the volume is new and mounted later, the
 trash dir will only be created once FSGetTrashDir() is called on that
 volume for the first time. The former writes the hidden and icon
 attributes to the directory, the latter does not. That should probably be
 changed, since FSCreateTrashDirs() calls FSGetTrashDir() to handle
 directory creation anyhow.

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

Other related posts: