Bug 144390

Summary: Marker (arrow head) on enhanced-path in custom shape is wrong
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, xiscofauli
Priority: medium    
Version: 7.3.0.0 alpha0+   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 123648    
Attachments: Example file with four non-primitive custom-shapes
Example file with five non-primitive custom-shapes

Description Regina Henschel 2021-09-08 22:51:28 UTC
Created attachment 174906 [details]
Example file with four non-primitive custom-shapes

Open attached file. It contains four shapes and next to it the markup of the enhanced-path attribute.

A is correct. The path is closed by command Z and therefore has no markers.

B is wrong. The path is not closed but has only accidentally same coordinates in start and end point. It should show markers. This is a custom shape with an enhanced-path. The handling of polyline and polygon does not apply.

C is wrong. The path is closed by command Z and therefore should show no markers. Difference to A is, that here exists a second sub-paths set (starting after the N command) that has a line.

D is wrong. The path is not closed and therefore should show markers. It is the same as B but with an addition second sub-paths set with a line.
Comment 1 Regina Henschel 2021-09-08 23:09:12 UTC
Created attachment 174907 [details]
Example file with five non-primitive custom-shapes

Correction: C is OK
E is wrong, because a closed path should not have markers regardless of other sub-paths in the same set.
Comment 2 Xisco FaulĂ­ 2021-09-29 10:07:59 UTC
Moving to NEW