Bug 142016

Summary: [EMF] Path with PolylineTo + CloseFigure + StrokePath = nothing loaded
Product: LibreOffice Reporter: Valek Filippov <frob>
Component: graphics stackAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: 79045_79045
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103859    
Attachments: EMF sample with Path/PolylineTo/CloseFigure/Stroke
Screenshot for the attached sample opened in MSO
EMF sample with Path/PolylineTo/CloseFigure/Stroke

Description Valek Filippov 2021-05-01 12:14:59 UTC
Description:
LO seems to fail to load fail with a Path and CloseFigure records: nothing is loaded.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
Empty document w/o any image loaded

Expected Results:
An image of non-filled triangle with a thick stroke.


Reproducible: Always


User Profile Reset: No



Additional Info:
DLP rulez
Comment 1 Valek Filippov 2021-05-01 12:15:42 UTC
Created attachment 171562 [details]
EMF sample with Path/PolylineTo/CloseFigure/Stroke
Comment 2 Valek Filippov 2021-05-01 12:16:57 UTC
Created attachment 171563 [details]
Screenshot for the attached sample opened in MSO
Comment 3 Roman Kuznetsov 2021-05-03 13:45:35 UTC
Navigator shows that there is one Shape (EMF) in the document but the page looks empty. So I confirm the problem 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:08:53 UTC
Created attachment 172278 [details]
EMF sample with Path/PolylineTo/CloseFigure/Stroke

Replace with fixed header.
MSO opened it, but MS Paint doesn't -- no need to be bug-to-bug compatible.