Apache OpenOffice (AOO) Bugzilla – Issue 124966
Picture loss on save
Last modified: 2017-05-20 10:35:26 UTC
Small embedded pictures (less than 128x128 pixels) which are not in *.png format are lost under special conditions during several save actions. - Open attached presentation and assure that slide 5 is not visible in Slide Sorter. If slide 5 is visible in Slide Sorter, then resize application windows or Slide Sorter, close the presentation and open it again, having slide 5 not been visible. - Save-As the presentation with a new file name - Make slide 5 visible in Slide Sorter by scrolling its area - Make an arbitrary change to slide 1 - Save - Bring slide 4 or slide 5 into the main view by clicking on it in Slide Sorter --> picture is lost. Root cause: A small picture (less than 128x128 pixels) have to be inserted at least twice in a presentation (or draw document). After an first save action the second picture had to become into the view. For the view only preview picture data are generated which does not keep the picture format information. In case the picture is small enough the preview data are equal the picture data the picture format data for the picture is also lost. The following save is not able to determine the picture format and stores the embedded picture file with extension *.png. The changed embedded picture file name is not set a the internal picture data --> picture is lost A reload in this situation will bring back the picture, but if another save action is triggered before the picture is lost forever.
Created attachment 83455 [details] sample document to reproduce the picture los
Aquick test with "AOO 4.0.1 – German UI / German locale [AOO401m3(Build:9712) - Rev. 1520285 2013-09-05 13:52:01]" on German WIN7 Home Premium (64bit)", Common 4.0 User Profile did not show the problem
(In reply to Rainer Bielefeld from comment #2) > Aquick test with "AOO 4.0.1 – German UI / German locale > [AOO401m3(Build:9712) - Rev. 1520285 2013-09-05 13:52:01]" on German WIN7 > Home Premium (64bit)", Common 4.0 User Profile did not show the problem Thanks for having a look. I am able to reproduce the picture loss with AOO 4.0.1 under Windows 7 (64bit). Unfortunately, the conditions which have to be meant are hard to setup. Important is that the second picture on slide 5 is not visible until the document is save into a new file.
"orw" committed SVN revision 1597109 into trunk: 124966: keep picture format information - <GfxLink> instance - also for the r...
P2 because Blocks 124985
fixed on trunk
grant showstopper flag, data loss and already fixed
"orw" committed SVN revision 1603774 into branches/AOO410: 124966: keep picture format information - <GfxLink> instance - also for the r...
fixed on branch AOO410 for planned 4.1.1 release
OK. Under OpenOffice 4.1.1 Build 9770 under Ubuntu 14.04 no loss of images observed. Document length: 50 pages, 34 images and 35 frames.
I cannot reproduce it in both AOO410m18(Build:9764) - Rev. 1589052 and AOO411m1(Build:9770) - Rev. 1603804 on Windows 7, so I am hesitating to mark it as fixed. David Paenson, have you reproduced this problem in previous build which does not include the fix?
I could not reproduce the bug in AOO 4.1.0 or in AOO 4.1.1 RC1 (under Windows 7 x64) This either means that the instructions are not clear enough or that the bug is fixed. The only way to be sure is for Oliver-Rainer to test it...