https://bz.apache.org/ooo/show_bug.cgi?id=126869

Arrigo Marchiori <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #33 from Arrigo Marchiori <[email protected]> ---
I am trying to understand what is happening "behind the scenes" of a save
operation.

First interesting fact: if we "Save as" a text document, the green line
disappears in method SwXMLWriter::_Write() at
main/sw/source/filter/xml/wrtxml.cxx:468

At this point, the file is not yet created.

That method is called (two levels above) by method StgWriter::Write() file
main/sw/source/filter/writer/writer.cxx:617
But nothing happens there after the write ends.

The file is finally generated by SfxObjectShell::SaveTo_Imp() after at
main/sfx2/source/doc/objstor.cxx after line 1470 (several levels above in the
stack trace).

If the file is "big enough", some time may pass between the moment in which the
green line disappears, and the above method writes the actual file.
I am using a test document with a big image, resulting in an ODT file that is
12 megabytes big. This "hidden" step takes about 3 seconds.

The user is somewhat warned that the save operation is not completed yet, by
the fact that the Writer window remains disabled. But this is not acceptable,
is it?

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to