Bug 170396 - Dashed lines export to SVG as solid
Summary: Dashed lines export to SVG as solid
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:26.8.0 target:26.2.1 target:25...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-20 06:36 UTC by Mike Kaganski
Modified: 2026-01-27 08:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A sample with a dashed line (3.65 KB, application/vnd.oasis.opendocument.graphics)
2026-01-20 06:38 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2026-01-20 06:36:21 UTC

    
Comment 1 Mike Kaganski 2026-01-20 06:38:29 UTC
Created attachment 205098 [details]
A sample with a dashed line

Starting from v.7.2, exporting a dashed line to SVG produces a solid line.

Open the attachment, and export to SVG. Check the result.
Comment 2 Mike Kaganski 2026-01-20 07:22:13 UTC
https://gerrit.libreoffice.org/c/core/+/197618
Comment 3 Commit Notification 2026-01-20 09:14:16 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c103d337bd41eaa44b65accabe978fe542e41d06

tdf#170396: implement SVG export support for dashed lines

It will be available in 26.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2026-01-20 12:13:07 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

https://git.libreoffice.org/core/commit/1bc488dffee9f5415615c926028b0e95e989ae32

tdf#170396: implement SVG export support for dashed lines

It will be available in 26.2.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2026-01-20 15:40:34 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/afe5809395480b0da18555092118dcd3a9ea239f

tdf#170396: implement SVG export support for dashed lines

It will be available in 25.8.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Andreas Heinisch 2026-01-20 23:41:30 UTC Comment hidden (obsolete)
Comment 7 nutka 2026-01-27 08:02:38 UTC
Looks OK with 26.8.0

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 8; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (fr_FR); UI: en-US
Calc: threaded