Disappearing graphics in Write: where to look (bug 33393)

Jan Holesovsky kendy at suse.cz
Tue Feb 21 01:36:06 PST 2012


Hi Cor, all,

On 2012-02-20 at 17:11 +0100, Cor Nouws wrote:

> > 	Having a well formed, and reproducible bug report would be rather
> > useful :-)
> 
> Yes, I think we realise that :-)
> Therefore I added some comments on how I can reliably reproduce (more 
> opening the doc and doing some random work for some time, but it will 
> lose the images).
> However I failed to see any comments from devs that tried to follow my 
> advise and what it did for them ;-p

So - I have already spent some 4 hours, or more, trying to fix this one.

The Autosave executes nearly the same code path as Save As; but there is
something different happening - at some stage, the ID's get invalidated
(both during Save As, as well as during Autosave), but in the Save As
case, they are re-created, while during the Autosave, they are still the
old ones - leading to loss of the images.  I dropped the ball at that
stage & did not find where exactly the ID's are recreated in the Save As
case.

Should the above ring any bell to someone & wants to step in, just set
the Autosave to 1 minute, open the document from the bug, and wait one
minute; and you'll lose the images :-(

Regards,
Kendy



More information about the LibreOffice mailing list