You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/07/29 21:54:39 UTC

[Issue 125323] New: Keep ratio option for pictures lost at save

https://issues.apache.org/ooo/show_bug.cgi?id=125323

          Issue ID: 125323
        Issue Type: DEFECT
           Summary: Keep ratio option for pictures lost at save
           Product: Writer
           Version: 4.1.0
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: hagar.delest@laposte.net

How to reproduce:
Create a document.
Insert a picture (Insert>Picture>From file).
Anchoring option does not matter.
Set the Type option Keep ration to ON.
Save (only .odt tried) and close completely AOO.
Open the file and check the picture setting: keep ratio is now unchecked.
NB: setting remains as long as there is an instance of AOO opened.

No problem with Impress, Draw and Calc. For these applications, the Keep ratio
option is ON by default (should be standard setting for Writer as well).

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125323] Keep ratio option for pictures lost at save

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125323

--- Comment #1 from Hagar Delest <ha...@laposte.net> ---
See the discussion in the forum for further details:
https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=71305

If Keep ratio is not to be kept as a picture setting, the resizing of a pic is
not an expected behavior. Bug title can be changed if needed.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125323] Keep ratio option for pictures lost at save

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125323

--- Comment #3 from Regina Henschel <rb...@t-online.de> ---
This checkbox is no picture property but a dialog property. It binds the input
fields together. Same with the analogous options on the tab 'Crop'. This leads
to many user irritations.

The problem with this check box is from the beginning, see bugs 6769, 18181,
21917, 16042, .... A search in Comment with phrase "keep ratio" gives you 74
results with various Status/Resolutions. It is time to solve it.

In ODF1.2 you can use the attribute "style:rel-height" and "style:rel-width" of
the element "graphic-properties". They allow the values "scale" and "scale-min"
and a percent number. Currently only the percent number is implemented. But
"scale" might solve the problem. Read in section "19.509 style:rel-height" the
description, "●scale: the height should be calculated depending on the width,
so that the ratio of width and height of the original image or object size is
preserved." Details would have to be cleared, for example if only one of width
and height has to be set.

The dialog has currently the options 'Contents', 'Position', 'Size' on tab
"Options" in section "Protect". There is enough space to add an option 'Ratio'.
At least for pictures and OLE is should be checked as default.

But the whole dialog would need a new design, because there is not only on tab
"Type" this option to bind the input fields, but on tab "Crop" exists similar
options. Are they still needed? How works the input on ratio-protected
pictures? In addition the drag behavior is affected. Therefore I think a UI
discussion on the mailing list is needed before implementing the feature.

For a 'form:image-frame' element "keep ratio" is solved by an attribute
'style:repeat="scale"'. But that looks very suspicious, because the value
"scale" is not listed as valid value of the attribute "style:repeat".

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125323] Keep ratio option for pictures lost at save

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125323

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com,
                   |                            |rb.henschel@t-online.de
         Issue Type|DEFECT                      |ENHANCEMENT

--- Comment #2 from Armin Le Grand <Ar...@me.com> ---
AFAIK keep ratio is not a object attribute (for graphic frames in this case)
and not saved. It is an AOO setting per App and exists during runtime (not sure
if it is saved in the App presets).
I see that this would make sense as object attribute (what would make it an
enhance ment request). The main question would probably be if ODF supports such
an information on Object-Level. Doe someone know? Regina?

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125323] Keep ratio option for pictures lost at save

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125323

--- Comment #4 from Hagar Delest <ha...@laposte.net> ---
Thanks for your inputs.
It's clear now that there is a user issue with the Keep ratio option.

But if the setting is set to ON by default like in Draw, Impress and Calc,
could it prevent the issue experienced by the user in the forum (see his
attachment that shows the problem page 27)?
Simply keeping this setting as ON (from an application setting POV, not from
the file POV), it would greatly decrease the users claims IMHO.

If the setting has no effect, there is still a problem with the pic being
resized in height. Should I open another report for that one and keep this for
the Keep ratio discussion?

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.