Issue 110432

Summary: linked images are not croped but rescaled when using crop dialog
Product: Writer Reporter: oger000 <gerhard.oettl>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, knmc, mseidel, rb.henschel
Version: OOO320m12   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
demofile (need external image for demo the issue)
none
the image (jpg)
none
picture before croping
none
the croping dialog (with correct preview)
none
the unexpected result after croping a linked image
none
picture with 120dpi set in file none

Description oger000 2010-03-27 13:28:03 UTC
When croping a linked image using
- keep scale (scale width and scale height are not changed)
and crop it some cm from top the result is:
The preview in the crop-dialog shows what I want (croping at the top without
scaling the image).
But the result after confirming the crop dialog is: The full image content is
shown, but because the hight is shrinked it is scaled.
Comment 1 oger000 2010-03-27 13:34:13 UTC
I forgot to mention that it is the ubuntu version: 1:3.1.1-5ubuntu1.1 (build 9420)
Comment 2 oger000 2010-03-27 14:15:09 UTC
It also does not work with OpenOffice.org 3.2 (OOO320m12 build 9483) downloaded
from the OOo homepage.
Comment 3 Regina Henschel 2010-03-27 14:25:32 UTC
I cannot confirm it. Cropping works without errors. I use OOo3.2 on WinXP. What
is the file format of the image? Are you using odt-format for the document?
Comment 4 eric.savary 2010-03-27 15:05:54 UTC
@Regina: I also didn't manage to reproduce it untill I re-read the summary... :)
it only works with *linked* images.
Looking now for duplicate...
Comment 5 Regina Henschel 2010-03-27 15:14:11 UTC
I have used *linked* images. I can see the error with doc file format but not
with odt file format.
Comment 6 oger000 2010-03-27 15:16:46 UTC
@regina: I use odt file format.

I will create a demo and provide screenshots.

Comment 7 oger000 2010-03-27 15:26:35 UTC
Created attachment 68571 [details]
demofile (need external image for demo the issue)
Comment 8 oger000 2010-03-27 15:28:09 UTC
Created attachment 68572 [details]
the image (jpg)
Comment 9 oger000 2010-03-27 15:29:21 UTC
Created attachment 68573 [details]
picture before croping
Comment 10 oger000 2010-03-27 15:29:58 UTC
Created attachment 68574 [details]
the croping dialog (with correct preview)
Comment 11 oger000 2010-03-27 15:30:40 UTC
Created attachment 68575 [details]
the unexpected result after croping a linked image
Comment 12 eric.savary 2010-03-27 15:55:38 UTC
@MBA: please have a look. No regression. Happened also in 2.4.2.
Comment 13 Regina Henschel 2010-03-27 19:36:51 UTC
The error is connected to the dpi information in the picture. My system is
running with 120dpi. If I set the dpi information in the picture to 120dpi, then
cropping is without error. The original picture has 600dpi set in the file.
Comment 14 Regina Henschel 2010-03-27 19:42:13 UTC
Created attachment 68586 [details]
picture with 120dpi set in file
Comment 15 Regina Henschel 2010-03-27 20:05:49 UTC
This issue is duplicate to issue 22753 and likely to issue 62269 too.
Comment 16 Mathias_Bauer 2010-03-29 08:39:05 UTC
Oliver, please take over
Comment 17 Marcus 2017-05-20 11:35:09 UTC
Reset assigne to the default "issues@openoffice.apache.org".