Issue 77402 - 'Keep Ratio' in Picture dialog box calculates relative size wrongly
Summary: 'Keep Ratio' in Picture dialog box calculates relative size wrongly
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial with 5 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 95992 100101 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-05-15 15:02 UTC by jdpipe
Modified: 2017-05-20 11:20 UTC (History)
2 users (show)

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


Attachments
test image for bug 77402 (30.94 KB, image/jpeg)
2007-05-15 15:03 UTC, jdpipe
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jdpipe 2007-05-15 15:02:36 UTC
This is a serious bug in scaling pictures with aspect ratio fixed. 

Steps to reproduce:

1. ctrl-N for new Writer doc
2. insert a picture (I used a JPG file off my desktop)
3. double-click image.
4. click 'as character' and click OK.
5. double-click picture
6. click 'relative' under 'height'
7. click 'relative' under 'width'
8. click OK
9. double-click picture
10. in the 'width' box, enter 10, then hit ENTER.

Result: picture has scaled in the X direction only, and has not kept aspect
ratio fixed.

Just in case it matters, I will attach my test image.
Comment 1 jdpipe 2007-05-15 15:03:07 UTC
Created attachment 45119 [details]
test image for bug 77402
Comment 2 crolidge 2007-05-15 19:51:30 UTC
Just wanted to tell you that in OO 2.2 in Windows XP this error(?) does not occur.
Comment 3 jdpipe 2007-05-16 00:17:30 UTC
I tested this on Fedora Core 6 with Open Office 2.0. The bug exists on that
platform also, so it's not just an Ubuntu thing.
Comment 4 michael.ruess 2007-05-16 09:05:19 UTC
Also reproducible on Windows.

MRU->OS: insert a picture into document, in the properties, activate "keep
aspect ratio" and both relative sizes, enter 10% for width -> height will be
calculated wrongly.
This may be related to issue 25391.
Comment 5 uazure 2008-10-17 07:26:11 UTC
Other method to reveal the bug:
(image should be not sqaure, e.g. with 3:4 aspect ratio, not 1:1)
insert image
dbl click on it
ensure Keep ratio turned on
check Relative checkbox near Width or Height (or even both)
(here is still all ok with image aspect, it can be easily verified by clicking 
ok)
input new value of width or height (doesn't matter) and u will see that image 
is rescaled to be square :(

OOo 3, also OOo 2.4.1, Gentoo GNU/Linux, x86_64

This is very stupid BUG!
Comment 6 michael.ruess 2008-11-12 15:58:43 UTC
*** Issue 95992 has been marked as a duplicate of this issue. ***
Comment 7 eric.savary 2009-03-10 17:01:19 UTC
*** Issue 100101 has been marked as a duplicate of this issue. ***
Comment 8 Marcus 2017-05-20 11:20:11 UTC
Reset assigne to the default "issues@openoffice.apache.org".