Issue 118920 - while opening a pptx file, images in Impress distorted
Summary: while opening a pptx file, images in Impress distorted
Status: UNCONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.3 RC10
Hardware: PC Windows XP
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2012-02-15 19:29 UTC by Sergiy
Modified: 2013-06-15 19:22 UTC (History)
3 users (show)

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


Attachments
image viewing bug (490.83 KB, image/jpeg)
2012-02-15 19:29 UTC, Sergiy
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Sergiy 2012-02-15 19:29:01 UTC
Created attachment 77221 [details]
image viewing bug

Hi guys,

When I opened a Power Point presentation with the .pptx extension (the latest MS Office) in Impress 3.3.0 build 9567, a few images were compressed in the form that I attach to this email. 

As you can see from the screenshot, the images on different pages are compressed in a differnet way. However, they must not be distorted in any way, well theoretically speaking. I know, it is about the compatibitility with Power POint. 

Thanks for your time, and good luck!

Sergiy.
Comment 1 DanielAlvaro 2013-04-27 15:02:45 UTC
Hello Sergiy,

I'd like to reproduce your case but I need more details to teste it, Could you attach more information about your problem, (document, steps).

Thank you.
Regards 

Daniel Alvaro.
Comment 2 TarekSelim 2013-06-15 19:22:06 UTC
**** Update Regarding File Attachments ****

I attempted to attach all the files which I have used in my tests and referenced below, however, Apache OpenOffice did not allow me to upload them due to their large files.  If anyone would like a copy of these files, please email me at tkselim@hotmail.com and reference the Impress Bug 118920 in the email subject – Thanks!

Hi Sergiy,
 
In my attempt to reproduce this bug, I tried to download Impress 3.3.0 as you stated in your report, however, the Impress download link was broken on the OpenOffice website, and other websites offering the Impress 3.3.0 download looked “fishy”.  So, I ended up attempting the bug reproduction using Impress 3.4.1, Build 9593.  Additionally, I assume that you utilized MS PowerPoint 2010 since you referred to the “latest MS Office” back in 2012.  I do not have PowerPoint 2010, but, I have used PowerPoint 2007 instead. 
 
The Following is a Description of My Test Environment:
 
Operating System: Windows 7 Home Premium, Service Pack 1
System Type: 64-bit Operating System
Computer: Toshiba Satellite C675
Processor: Intel® CPU B960 @ 2.20 GHz
Installed Memory (RAM): 4.00 GB
Display Adapter: Intel® HD Graphics Family
Power Point 2007
Impress 3.4.1

 
Below are the Steps I Followed in My Attempt to Reproduce the Bug:
 
1)      Opened MS Power Point 2007;
2)      Created a slide presentation consisting of 5 slides & added page numbers to the slides;
3)      Inserted the following pictures (of different image formats) in the slides: 3 JPEG pictures in the first 2 slides, 1 PNG picture in the third slide, 1 BitMap picture in the fourth slide, and 1 TIFF picture in the fifth slide;
4)      Labeled each picture to show the type of picture file that was inserted (JPEG, PNG, etc.);
5)      Saved the Power Point File with a .pptx extension.  The file is attached and labeled “TarekSelim2007”; and
6)      Opened the TarekSelim2007.pptx file in Impress 3.4.1 and visually-inspected the slides to see if any of the pictures was compressed (distorted).  
 
My Test Results:
 
The result of my test was that, none of the text and/or pictures appeared to have been distorted when I opened the TarekSelim2007.pptx file in Impress 3.4.1.  Specifically, no pixilated images were displayed and all of the pictures retained their horizontal-to-vertical dimension ratios.  
 
My Follow-up Test:

Since the original PowerPoint file which you utilized to report the bug was not available, and since I have used different testing environment (PowerPoint and Impress) than what you reported, I attempted to repeat the test using PowerPoint 2013 with the addition of “tables with pictures inserted in them” as we as “text written inside and outside the table cells”, to assess the possibility of image or text distortion.  I also utilized MS Word 2013 as described below.

The Following is a Description of My Follow-up Test Environment:
 
Same as above, with the exception of the use of PowerPoint 2013 (in lieu of PowerPoint 2007), and the addition of MS Word 2013.

Below are the Steps I Followed in My Follow-up Test:
 
1.	Opened MS Power Point 2013;
2.	Created a slide presentation, initially consisting of 4 blank slides;
3.	Inserted the following pictures/objects in the slides: 
•	1 JPEG picture and text boxes in the first slide;
•	1 BitMap picture and text boxes in the second slide;
•	1 PNG picture and text boxes in the third slide;
•	1 TIFF picture and text boxes in the fourth slide;
4.	Inserted a 5th blank slide in the presentation;
5.	Inserted a table in the 5th slide consisting of two rows and two columns (Insert > Table > Insert Table > Number of Rows and Columns).
6.	Using the mouse to drag the table cell boundaries, I enlarged the table cells;
7.	Inserted copies of the 4 pictures described above (JPEG, BitMap, PNG, and TIFF) in the table cells (using the mouse, I highlighted each cell > Design > Shading > Picture > From a File > Browse).  Please note that, this function already resulted in PowerPoint not maintaining the horizontal to vertical picture ratio, instead, distorting the pictures to completely fill the entire table cells.
8.	Added a text box at the bottom of the 5th slide to describe the image distortion described in Step #8 above;
9.	Inserted a 6th “Compression Slide” (Insert > New Slide > Compression);  
10.	Inserted a PNG picture in the bottom left field and a JPEG picture in the bottom right field of the slide (by clicking the “Picture icons from inside the field, and selecting the desired picture from the hard drive directory);
11.	Added text in some of the text fields atop the picture (please note that this would lead to another compatibility bug conversation below).
12.	Opened Word 2013 and created a file containing a table.  Inserted the 4 pictures described above along with text in the table cells;
13.	Inserted a 7th slide to the PowerPoint Presentation.  Inserted the Word 2013 file into that slide (Insert > Object > Create From File > Browse > (selected the file from the directory) > OK);
14.	Saved the PowerPoint Presentation as TarekSelim2013.pptx (file attached above);
15.	Opened a copy of the TarekSelim2013.pptx in Impress 3.4.1;
16.	Made a side-by-side comparison between the two files as they were opened in Impress 3.4.1 (on the left) and PowerPoint 2013 (on the right);
17.	Used the printscreen feature to make copies of each two corresponding slides for visual comparison and reporting purposes.  These files are attached and labeled “Slide1ComparisonImpressLeftMSPPRight through Slide7ComparisonImpressLeftMSPPRight”.

My Follow-up Test Results:
 
The result of my follow-up test was that, none of the text and/or pictures appeared to have been distorted when I opened the TarekSelim2013.pptx file in Impress 3.4.1.  Specifically, no pixilated images were displayed and all of the pictures retained their horizontal-to-vertical dimension ratios, regardless of the picture being placed inside a Power Point table cell, an imported Word table cell, or in a PowerPoint slide field.  The only changes observed in the slides when opened in Impress was a text color change in Slide 5, and some of the text partially disappearing in Slide 6.  However, these potential text display compatibility bugs are not related to the subject “image distortion bug” and I will report them in a separate bug report, if applicable.

My Findings:

Based on the results of my initial and follow-up tests, I do see not the need to perform additional testing, especially after having utilized most of the widely-used picture formats (JPEG, PNG, etc.) and text boxes being placed in Powerpoint slide fields, tables, imported tables from MS Word, etc.  I have also concluded that, if this bug had existed in Impress 3.3.0, it appears to have been fixed in Impress 3.4.1.  Furthermore, since this bug could not be reproduced in updated versions of updated versions of Impress and Powerpoint, bringing this bug to the attention of stakeholders is unnecessary at this time.
  
Sincerely,

Tarek Selim