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

            Bug ID: 159306
           Summary: LibreOffice Draw 7.6 handles metafiles worse than 7.4
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I updated from LO 7.4 to 7.6, and there was a behavior change where certain
.wmf files look worse than they did in 7.4.

Previously, importing .wmf files from a chemical structure editor drew all the
lines with 0.01" thickness (and it looked good). Now, they're drawn with 0.00"
thickness and I have to go in, break the object, select all the lines, and
manually set them to 0.01". On top of that, when "breaking" the object, the
components are scattered all over the page. I found that if the object is
placed so that the top left corner is precisely at the top left corner of the
page, things stay in place after breaking. The lines can then all be selected
and set to 0.01", but this is unusably tedious especially for complicated
drawings.

Regarding the line-thickness issue, I suspect it's from this commit:
https://gerrit.libreoffice.org/c/core/+/146551

I linked to an example file and screenshot explaining what I mean in the 'Other
Information' section.

Steps to Reproduce:
1. Insert -> Image -> .wmf file (I attached the one I used in the example)
2. Right click -> Break

Actual Results:
1. When the file is imported, all the lines are set to 0.00" thickness, which
looks quite bad. They used to import as 0.01" thickness by default.

2. After 'Right click -> Break', the .wmf object's elements are randomly
scattered all over the document. This doesn't happen if the .wmf is positioned
exactly at the top-left corner of the page, however.

Expected Results:
1. Inserting a .wmf file should have the default line-width be 0.01", or
perhaps have it possible to change the default

2. 'Right click -> Break'ing a .wmf object should keep all the components in
place, as it used to do in LO7.4


Reproducible: Always


User Profile Reset: Yes

Additional Info:
A screenshot and example .wmf file can be found here:
https://github.com/LibreOffice/core/commit/bbdbe8ea2ef176ef6f08b30b3c18876c2c4f0c22#commitcomment-135821157

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to