[Libreoffice-bugs] [Bug 139785] New: FILEOPEN Embedded Draw object is rendered with wrong viewport in FODT

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 20 13:41:41 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=139785

            Bug ID: 139785
           Summary: FILEOPEN Embedded Draw object is rendered with wrong
                    viewport in FODT
           Product: LibreOffice
           Version: 7.1.0.2 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: woundorf at gmail.com

Created attachment 169049
  --> https://bugs.documentfoundation.org/attachment.cgi?id=169049&action=edit
FODT file that shows the bug in LibreOffice 7.1 and later.

When creating an ODT with an embedded Draw object, the viewport of the drawing
can be adjusted to show the correct part and ignore margins, etc. This works
well with both ODT and FODT in LibreOffice up to 7.0. However since the current
7.1 RC and up to yesterday's nightly (2021-01-19) in ODT the result is the same
but in FODT the viewport is ignored when opening the file, thus the drawing can
show big margins at the top and the left and be cropped at the right and the
bottom.

See the attached files as examples. Both have been saved from the same document
but the ODT is displayed as expected but the FODT is displayed wrongly. 

Steps to Reproduce:
1. Create new document with LibreOffice Writer
2. Insert > Object > OLE object…
3. LibreOffice <version> Drawing
4. Draw some big object
5. Adjust the viewport to leave it centered
6. Click outside of the drawing area to return to the text document
7. Save the document as odt
8. Save the document as fodt
9. Close the document
10. Open both the odt and the fodt

Actual Results:
In the odt the drawing is shown as before closing. In the fodt the drawing is
shown panned and cropped.

Expected Results:
In both files the drawing is shown as before closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210120/7bbc523a/attachment.htm>


More information about the Libreoffice-bugs mailing list