To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70252
                 Issue #|70252
                 Summary|images (eps) lost when saving document
               Component|Word processor
                 Version|OOo 2.0.3
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|save-export
             Assigned to|mru
             Reported by|mr_m





------- Additional comments from [EMAIL PROTECTED] Mon Oct  9 21:21:02 -0700 
2006 -------
I encountered the problem that images disappear from my documents. This bug may
be related to Issue 59915 and the forum topic "Losing images" but occurs
reproducably to images that are linked as well as those included in the .odt
save-file.

The images in the document are eps with tiff preview, which are scatter plots
with 5000 points each generated with matplotlib 0.87.4, ghostscript-gpl 8.54 on
Gentoo. They display correctly with ghostscript-gpl and are printed correctly
with OpenOffice (previews are garbeled but that is another issue).

The following steps reproduce the error:
1) Generate 10 images
2) Create a 3x6 table using the menu dialog
3) Specify the first column and first row as heading (containing descriptive 
text)
4) Insert images with Insert>Picture>FromFile (See below for Link setting
results) each in one table cell. Right click on each image directly after
insertion and select Anchor>AsCharacter
5) Remove spacing around images by setting
table>RightClick>TableFormat>Tab:Borders>SpacingtoContents to 0
6) Save document (odt format)
7) Save document under a different filename
8) Open both documents
9) Save one document.

Result:
If images are loaded into the document files, the first (not all) images in the
table disappear completely. The respective rows shrink as they are empty. The
operation cannot be undone and I suppose that image data is lost (I have not
screened the odt file though).

If however images are linked, the first images in the table yield a broken image
even though everything is ok after re-insertion and the correct filename shows 
up.

Reason for high priority:
The effect occurred to me first when using bibus 1.2.0. Bibus creates a copy of
the document when finalizing it. In this process, the original document appears
to be saved. This operation in combination with the bug results in a loss of the
respective images in both documents that cannot be undone.

Observations:
1) The number of images that disappear is related to the OpenOffice graphics
cache size. However, even with the maximum setting of 256 MB, 3 images disappear
(with 128 MB it is 5 images). 
2) The images cause a lot of memory usage (>100MB each) when being converted
with pstoedit (e.g. to a png file). The average image file size is 6MB. The
reason for this is imho the handling of many small points which are positioned
closely together.
3) If a correctly working document is opened (which has been saved without a
second one open), the images appear correctly. They can be copied to a broken
document and - after the working document is closed again - may be saved. In
many cases, this approach prevents image loss but it is not reliable (i.e. image
loss may still occur to varying degree).
4) Inserting an additional image outside the table may or may not result in this
new image disappearing, too. Therefore, the problem is not related to tables
only. However, it is seemingly always the same image that disappears, i.e. the
sequence of image insertion is relevant.

Conclusion
I may be totally wrong, but I think that the eps handling reaches a memory limit
during save, which causes the problem.

---------------------------------------------------------------------
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