Issue 122805

Summary: Cropped Pictures in Drawings from old OOo Versions shown with wrong scaling
Product: Draw Reporter: Rainer Bielefeld <rainerbielefeld_ooo_qa>
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Major    
Priority: P3 CC: issues, orw, rb.henschel
Version: 3.4.0   
Target Milestone: ---   
Hardware: All   
OS: Windows 7   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=36808
Issue Type: DEFECT Latest Confirmation in: 4.0.0
Developer Difficulty: ---
Attachments:
Description Flags
Test Kit
none
Combination of rotation and cropping, follow text inside file. none

Description Rainer Bielefeld 2013-07-23 11:47:40 UTC
Created attachment 81119 [details]
Test Kit

Steps how to reproduce with  "AOO 4.0.0-Dev – German UI / German locale  [AOO400m3(Build:9702)  -  Rev. 1503709 (2013-07-17) ]" on German German WIN7 Home Premium (64bit)", Common 4.0-dev User Profile:

1. Download / unzip attached test kit, create a copy of 
   "SampleLibO333_OO311_B.odg"
2. Open "SampleLibO333_OO311_B.odg" with AOO 4.0 and Copy with OOo 3.1.1
3. Compare:
   Copy looks fine in OOo 3.1.1 (has been created with that or a similar version
    "SampleLibO333_OO311_B.odg" looks destroyed, drawn elements seem at wrong
    Place, main reason is that background.tiff is distorted.

Additonal Info:
---------------
a) Compare Crop dialogs you reach from Context menu of rightclick picture. Scaling shows only half the value in AOO 4.0
b) Not a new bug, same withAOO 3.4.0
c) LibO 4.0.2 also affected 
d) When you break the link in 3.1.1, save document under new name and reopen,
   you will see a similar damage. So this one might be related to or DUP of
   "Bug 36808 - Weird bug with cropped & linked images"?
Comment 1 Rainer Bielefeld 2013-07-23 13:02:43 UTC
If the effects in "Bug 36808 - Weird bug with cropped & linked images" are related that might show that the bug is in the old versions, not in the current one?
Comment 2 Regina Henschel 2013-07-23 17:33:15 UTC
Created attachment 81122 [details]
Combination of rotation and cropping, follow text inside file.

I think, that the problem is the combination of rotation and crop.

Open the attached file and follow the noted steps there to see the problems.

Cropping rotated images was already wrong in OOo3.2, see
Bug 94090 - Unexpected behavior when cropping rotated image
and
Bug 110386 - issues with saving rotated and cropped images in impress

In AOO4 it is still wrong, but wrong in a different way.

The problems seem to be not related to linked vs embedded and not to the picture format.
Comment 3 Regina Henschel 2013-07-23 17:34:26 UTC
Reproducible on Windows 7.
Comment 4 Oliver-Rainer Wittmann 2013-08-09 12:29:57 UTC
adjusting field Version as the defect has been found also in AOO 3.4.0