Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Opening files in the Trash
Opening files in the Trash
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Tue Feb 17, 2009 3:24 am    Post subject: Opening files in the Trash

I read this article on TidBITS today with interest:

http://db.tidbits.com/article/10062

On OS X 10.4.11 this is possible to do with NeoOffice 3.0EA. Would it be difficult to add a check for the file's location on opening, or is this deep in the OpenOffice code?

Andy.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Feb 17, 2009 10:20 am    Post subject:

This is a nice thought. However, the cost to NeoOffice performance is huge and given that this is really a user error (the user did move it to the Trash first in this case), we are not going to implement a fix for this.

While a fix took me only about an hour of work, I found that the Mac SO X code needed to check if each file is a file in the Trash causes NeoOffice to require nearly 10 minutes to launch. You may wonder why it takes so long, but NeoOffice opens and reads a lot of files at startup and filtering out the paths that are not likely to be in the Trash was nearly as horrible in performance as just checking if the file is in the Trash.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.