Bug 168301 - Dashed/dotted lines created in LibreOffice draw with line thickness more than 0.5, when exported to .svg or .svgz, dashed lines get converted into solid lines in the exported vector image.
Summary: Dashed/dotted lines created in LibreOffice draw with line thickness more than...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-06 18:52 UTC by Arnab C
Modified: 2025-09-06 18:52 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnab C 2025-09-06 18:52:47 UTC
Description:
Overview: 

Considering a dashed/dotted line/shape is created in LibreOffice Draw, when the drawing is exported as a .svg or .svgz file, the final exported vector file looses the dashed/dotted style line/shape and that is converted into solid line/shape. So as a result, all the lines in the final exported file are solid lines.


Steps to Reproduce:
Steps to Reproduce:

- Open LibreOffice draw. Insert a line/rectange.
- For line : Select these
[Properties: Line = Dash or dotted, Thickness > 0.5]
For rectangle : Select these
[Properties: Area : Fill = None, Line = Dash or dotted, Thickness > 0.5]
- Export the image as .svg or .svgz.

Actual Results:
Actual Results:

- Open the .svg or .svgz in any browser or in inkscape. You will see all the dashed/dotted lines with thickness more than 0.5 are converted into solid lines.
- You can try combining different line styles (dashed, long dashed, dotted, long dotted etc.) with different Line width (0.8, 1, 1.5, 2.3 and so on). Mostly you will find the lines are converted into solid lines. Sometimes even Line Width 0.5 also results in conversion into solid lines depending on other factors.
- The main point is that, this problem is happening for different combinations.

Expected Results:
Expected Results:

When different combinations are selected for the lines/shapes in the drawing, the same should be retained in the exported vector files (.svg & .svgz). If dotted line is selected with Line Width 1.5, the same should be retained in the exported vector image. Instead the vector image is having solid line with Line Width 1.5.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
None.