Issue 116796 - Although Hide background graphics is enabled, graphics appear
Summary: Although Hide background graphics is enabled, graphics appear
Status: ACCEPTED
Alias: None
Product: Impress
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.3
Hardware: All All
: P3 Major (vote)
Target Milestone: 4.2.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on: 124755
Blocks:
  Show dependency tree
 
Reported: 2011-02-04 08:03 UTC by tora3
Modified: 2014-04-28 03:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---


Attachments
a sample bugdoc (60.97 KB, application/vnd.ms-powerpoint)
2011-02-04 08:05 UTC, tora3
no flags Details
snapshots illustrating a phenomenon (572.75 KB, application/pdf)
2011-02-04 08:06 UTC, tora3
no flags Details
A counter part of the bugdoc. Hide Backgournd Graphics is disabled. (64.86 KB, application/vnd.ms-powerpoint)
2011-02-17 19:13 UTC, tora3
no flags Details
output of gdiff -u -r Hide_Background_Graphics-2011-02-04-0002 Hide_Background_Graphics-2011-02-04-0002-disabled (19.35 KB, text/plain)
2011-02-17 19:42 UTC, tora3
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tora3 2011-02-04 08:03:14 UTC
Problem:
 Graphics on the Slide Master appear even though "Hide background graphics" 
 is enabled.

Reproduction:
1. Start PowerPoint 2007.
2. Draw a shape on the Slide Master.
3. Enable "Hide background graphics" on a Layout.
4. Write something using the Layout.
5. Save the document in .pptx.
6. Open the file with OpenOffice.org 3.3.0.

Expectation:
 The shape drawn on the step 2 above should not appear.

Reality:
 The shape appears.
Comment 1 tora3 2011-02-04 08:05:22 UTC
Created attachment 75764 [details]
a sample bugdoc
Comment 2 tora3 2011-02-04 08:06:45 UTC
Created attachment 75765 [details]
snapshots illustrating a phenomenon
Comment 3 wolframgarten 2011-02-07 11:35:35 UTC
Reproducible. Reassigned.
Comment 4 tora3 2011-02-17 19:13:27 UTC
Created attachment 75865 [details]
A counter part of the bugdoc. Hide Backgournd Graphics is disabled.
Comment 5 tora3 2011-02-17 19:37:20 UTC
Quick investigation:

1. Download a Perl script odf-ooxml-unzip.pl from
   https://bitbucket.org/tora/tools/src/tip/odf/odf-ooxml-unzip/odf-ooxml-unzip.pl

2. perl odf-ooxml-unzip.pl Hide_Background_Graphics-2011-02-04-0002.pptx
Hide_Background_Graphics-2011-02-04-0002-disabled.pptx

3. gdiff -u -r Hide_Background_Graphics-2011-02-04-0002
Hide_Background_Graphics-2011-02-04-0002-disabled > d.diff

The step 3 reveals a major difference between them:

--- Hide_Background_Graphics-2011-02-04-0002/ppt/slideLayouts/slideLayout2.xml
2011-02-18 03:55:03.875232716 +0900
+++
Hide_Background_Graphics-2011-02-04-0002-disabled/ppt/slideLayouts/slideLayout2.xml
2011-02-18 03:54:40.106591190 +0900
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
showMasterSp="0" type="obj" preserve="1">
+<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" type="obj"
preserve="1">
   <p:cSld name="Title and Content">
     <p:spTree>
       <p:nvGrpSpPr>

The difference is the existence of showMasterSp="0" .

I hope this help a little.
Comment 6 tora3 2011-02-17 19:42:50 UTC
Created attachment 75867 [details]
output of gdiff -u -r Hide_Background_Graphics-2011-02-04-0002 Hide_Background_Graphics-2011-02-04-0002-disabled
Comment 7 Steve Yin 2014-04-23 16:35:33 UTC
PPT 2010 moves the keyword showMasterSp to slideX.xml.

  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
- <p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" showMasterSp="0">
- <p:cSld>


Changed the severity to Major and target to 4.2
Comment 8 Steve Yin 2014-04-24 08:28:35 UTC
Used in
Attribute group p:AG_ChildSlide
Type p:CT_NotesSlide via reference to p:AG_ChildSlide (Element p:notes)
Type p:CT_Slide via reference to p:AG_ChildSlide (Element p:sld)
Type p:CT_SlideLayout via reference to p:AG_ChildSlide (Element p:sldLayout)
Comment 9 Steve Yin 2014-04-28 03:32:41 UTC
Added dependence of issue 124755