Bug 142006 - [EMF] Path with MoveTo and two LineTo not displayed
Summary: [EMF] Path with MoveTo and two LineTo not displayed
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2021-05-01 01:14 UTC by Valek Filippov
Modified: 2021-05-23 17:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot for the attached sample opened in MSO (14.82 KB, image/png)
2021-05-01 01:14 UTC, Valek Filippov
Details
EMF sample with path/move/line/line/end/stroke (320 bytes, image/emf)
2021-05-01 01:15 UTC, Valek Filippov
Details
EMF sample with path/move/line/line/end/stroke (320 bytes, image/x-emf)
2021-05-23 17:03 UTC, Valek Filippov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valek Filippov 2021-05-01 01:14:00 UTC
Description:
LO rendered a EMF file with PathBegin/MoveToEx/LineTo/PathEnd/Stroke/Path, but failed to draw anything with one more LineTo added.

Steps to Reproduce:
Open attached EMF sample in LO.

Actual Results:
LO shows nothing (probably fails to load at all -- not even empty object is shown.)

Expected Results:
Should show a polyline going from 10,10 to 50,20 to 0,0


Reproducible: Always


User Profile Reset: No



Additional Info:
Additional samples available (No raincheck).
Comment 1 Valek Filippov 2021-05-01 01:14:47 UTC
Created attachment 171547 [details]
Screenshot for the attached sample opened in MSO
Comment 2 Valek Filippov 2021-05-01 01:15:21 UTC
Created attachment 171548 [details]
EMF sample with path/move/line/line/end/stroke
Comment 3 Roman Kuznetsov 2021-05-03 13:51:09 UTC
confirm in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: a52590d76b89dc75be2aa87f4287624c89f1e82f
CPU threads: 4; OS: Mac OS X 11.3; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 4 Valek Filippov 2021-05-23 17:03:46 UTC
Created attachment 172277 [details]
EMF sample with path/move/line/line/end/stroke

Looks like attached sample was corrupted and ability to open it depends on specific MS implementation.

Fixed file works for me in LO 7.0.5 and 7.2