Bug 550316

Summary: Openoffice.org Impress loses graphics when background color is changed
Product: [Fedora] Fedora Reporter: Jonathan Dieter <jonathan>
Component: openoffice.orgAssignee: David Tardon <dtardon>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: caolanm, dtardon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.1.1-19.26.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-16 13:05:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Dieter 2009-12-24 13:49:57 UTC
Description of problem:
If I create a number of slides and insert a graphic on each slide, if I create a new slide and change the background color, all of the previous graphics disappear (though they are still saved in the file).

Version-Release number of selected component (if applicable):
openoffice.org-impress-3.1.1-19.14.fc12.i686

How reproducible:
Always, though sometimes with slightly different results

Steps to Reproduce:
1. Create a new, empty presentation
2. Create five slides, with blank slide layout, inserting a picture in each slide
3. Create one slide, with Title slide layout and type text into the title and subtitle sections
4. Create one slide, with blank slide layout, and change the background color of just this slide to black
  
Actual results:
Some or all of the first five graphics will disappear.

Expected results:
Nothing to change

Additional info:
My wife first brought this up as she was putting together a presentation in whatever version is in Fedora 11.  I've tested in 3.1.1 in Fedora 12 and have the same problem.

I saved the document both before and after the graphics disappeared and did a diff of content.xml.  It appears that the main change is:
- <draw:frame draw:style-name="gr1" draw:text-style-name="P1" draw:layer="layout" svg:width="27.999cm" svg:height="15.749cm" svg:x="0.166cm" svg:y="2.819cm">
+ <draw:frame draw:style-name="gr1" draw:text-style-name="P1" draw:layer="layout" svg:width="27.999cm" svg:height="15.749cm" svg:x="31.3cm" svg:y="31.813cm">

Comment 1 Jonathan Dieter 2009-12-24 13:52:43 UTC
I should clarify that the above difference happens for *all* five graphics, not just once.  For some reason, the pictures are being pushed totally off-screen.

Comment 2 David Tardon 2009-12-31 08:11:11 UTC
Simpler reproducer:

1. insert a picture into slide
2. create a new slide
3. set background color for the slide (Format->Page->Background->Fill, set to Color, select some color)
4. undo

After the undo the picture on the first slide 'disappears'. It appears
again after redo, but in bottom right corner of the slide.

Comment 3 David Tardon 2010-01-04 17:43:31 UTC
fix committed, will be in >=3.1.1-19.25

Comment 4 Fedora Update System 2010-02-03 09:16:37 UTC
openoffice.org-3.1.1-19.25.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/openoffice.org-3.1.1-19.25.fc12

Comment 5 Fedora Update System 2010-02-05 01:28:18 UTC
openoffice.org-3.1.1-19.25.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openoffice.org'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1460

Comment 6 Fedora Update System 2010-02-13 12:00:44 UTC
openoffice.org-3.1.1-19.26.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/openoffice.org-3.1.1-19.26.fc12

Comment 7 Fedora Update System 2010-02-16 13:03:13 UTC
openoffice.org-3.1.1-19.26.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.