To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66491
                  Issue #:|66491
                  Summary:|Do copy on "Save as" if doc is in unchanged state (to
                          |speed up)
                Component:|framework
                  Version:|OOo 2.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tm
              Reported by:|maenneph





------- Additional comments from [EMAIL PROTECTED] Thu Jun 15 14:29:18 -0700 
2006 -------
On older systems, OOo's saving function is not instant but takes a couple of
seconds. This issue discusses a special, but common use case ("save as" after
"save") and suggests a performance improvement through 1:1 copy.

Steps to reproduce the special case:

1. have an existing document open and make changes to it 
2. save the changes to this document (regular save, ctrl+s)
3. leave document completely unchanged (indicated by disabled save button)
4. use "save as" to save this document under a different file-name

Optimal / expected result:

Since the document's content/state is unchanged between the first save request
and the second save request, the second save request could issue a simple
file-system copy command and therefore be completed much faster. 

Actual result:
On second save ("save as"), the resulting file is unnecesserily genenerated from
scratch out of the doctree again.

Comments:
I tested this behaviour with OOo-writer only, but I think the pattern applies to
all OOo applications equally. I don't have the OOo SRC available atm for
inspection, but I did some black-box testing to back this: 
When using OOo-writer for creating two test-files using the steps described
above, an XML diff on the odf files shows they are completely identical,so a
simple copy on second save would be no problem, and would make the second save
be really fast. I don't see why it should make a difference whether a user
copies an unchanged document in the FS by hand or through OOo ("save as" after
"save"), when nothing was changed.

Please tell me if I am missing something.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to