Issue 50630 - Problems with relative frame height (and width)
Summary: Problems with relative frame height (and width)
Status: CLOSED DUPLICATE of issue 25391
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-12 11:30 UTC by timi_openoffice
Modified: 2005-06-14 14:02 UTC (History)
1 user (show)

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


Attachments
The document showing the bug (6.24 KB, application/vnd.oasis.opendocument.text)
2005-06-12 11:31 UTC, timi_openoffice
no flags Details
The same content in 1.1 without problems (5.51 KB, application/vnd.sun.xml.writer)
2005-06-12 11:31 UTC, timi_openoffice
no flags Details
The file made from the test1.1.sxw without showing problems (6.57 KB, application/vnd.oasis.opendocument.text)
2005-06-12 11:32 UTC, timi_openoffice
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description timi_openoffice 2005-06-12 11:30:06 UTC
When I open the attached document test.odt (with one frame anchor type "page"
width: 100%, height: 100%; and another frame anchor type "frame" width: 50%,
height: 50%), it is displayed correctly. When I open the dialog Format->Frame,
he shows me width:50% and height:25%. When I click OK without making any
changes, the height is halved to 25%. I can repeat this (opening the dialog and
click OK) and each time the hight is halved: 12%, then 6%, then 3%, then 1%.

I don't know much about the file format, but values for svg:height in the file
test.odt are also a litte bit strange:

 <office:body>
  <office:text>
   <office:forms form:automatic-focus="false" form:apply-design-mode="false"/>
   <text:sequence-decls>
    <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
    <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
    <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
    <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
   </text:sequence-decls><draw:frame draw:style-name="fr1" draw:name="Frame1"
text:anchor-type="page" text:anchor-page-number="1" svg:width="169.99mm"
style:rel-width="100%" svg:height="64.24mm" style:rel-height="50%" draw:z-index="0">
    <draw:text-box><draw:frame draw:style-name="fr2" draw:name="Frame2"
text:anchor-type="frame" svg:width="84.98mm" style:rel-width="50%"
svg:height="64.24mm" style:rel-height="50%" draw:z-index="1">
      <draw:text-box>
       <text:p text:style-name="Frame_20_contents"/>
      </draw:text-box>
     </draw:frame>
     <text:p text:style-name="Frame_20_contents"/>
    </draw:text-box>
   </draw:frame>
   <text:p text:style-name="Standard"/>
  </office:text>
 </office:body>
 
PS: When I construct the same document with 1.1 (attached as test1.1.sxw) and
then open it in 1.9.104, save it as odt (attached as test1.1.odt) and reopen it
with 1.9.104, there are no problems.

I'm working under linux - but under windows, there seem also to be problems...
Comment 1 timi_openoffice 2005-06-12 11:31:01 UTC
Created attachment 27105 [details]
The document showing the bug
Comment 2 timi_openoffice 2005-06-12 11:31:45 UTC
Created attachment 27106 [details]
The same content in 1.1 without problems
Comment 3 timi_openoffice 2005-06-12 11:32:28 UTC
Created attachment 27107 [details]
The file made from the test1.1.sxw without showing problems
Comment 4 michael.ruess 2005-06-14 14:00:50 UTC
Currently there is a problem with relative width and height adjustment in Frame-
and Graphic dialog. See issue 25391.

*** This issue has been marked as a duplicate of 25391 ***
Comment 5 michael.ruess 2005-06-14 14:02:40 UTC
Closing duplicate.