Bug 127267 - FILESAVE: The line style is lost on writing to OOXML format, if line is a hairline
Summary: FILESAVE: The line style is lost on writing to OOXML format, if line is a hai...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-01 16:58 UTC by Regina Henschel
Modified: 2019-09-07 20:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example with dash line style on hairline (9.71 KB, application/vnd.oasis.opendocument.text)
2019-09-01 16:58 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2019-09-01 16:58:54 UTC
Created attachment 153796 [details]
Example with dash line style on hairline

Open attached document. It contains a hairline (=line with width 0) with style "Line with Fine Dots". Save the file to docx and open this docx file. Notice, the line style is lost, and instead the default "solid" is used.

The error is, that in case of a hairline an empty custDash element is written instead of the needed dash stops.
Comment 1 raal 2019-09-01 21:47:09 UTC
I can confirm with Version: 6.4.0.0.alpha0+
Build ID: 2bed8af91fc2654b9ed2432f969d32d5741a529b
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Comment 2 Regina Henschel 2019-09-07 20:12:41 UTC
Fixed with commit https://cgit.freedesktop.org/libreoffice/core/commit/?id=57c9bdab377a00649299d1a4c9ed2f9e5e03b84e

Fix available in Version: 6.4.0.0.alpha0+ (x64)
Build ID: 61b757f31f25cda6d595f64226181c7a82ce8d7f
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-07_17:48:35
Locale: en-US (en_US); UI-Language: en-US
Calc: CL