Bug 139178 - The shape dashes are rendered differently after docx export (creating different effect)
Summary: The shape dashes are rendered differently after docx export (creating differe...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2020-12-23 08:49 UTC by Telesto
Modified: 2021-01-11 05:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (11.25 KB, application/vnd.oasis.opendocument.text)
2020-12-23 08:49 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-12-23 08:49:15 UTC
Description:
The shape dashes are rendered differently after docx export (creating different effect)

Steps to Reproduce:
1. Open the attached file
2. Save as DOCX
3. File reload

Actual Results:
Compared results

Expected Results:
Ideally the same


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 315c7570c4a72f4c834086082825533b1e50d1bf
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-12-23 08:49:27 UTC
Created attachment 168447 [details]
Example file
Comment 2 Telesto 2020-12-23 08:51:44 UTC
@Regina
I the feeling I'm asking the impossible here.. Even the ODT is opened differently on older versions.. However if same calculations are used.. it look the same for all document types? Or kind of rounding involved (or something like that)
Comment 3 mulla.tasanim 2020-12-23 21:42:38 UTC
Thank you for reporting the bug.

I can confirm that the bug is present in

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 761a672d62df1891b9f4f367a499b220ab2b33fa
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 4 Regina Henschel 2020-12-25 23:23:36 UTC
The shapes are indeed different. The Smiley from the toolbar in LO reflects the geometry from MSO binary. These binary shapes are not directly available in OOXML. So LibreOffice has two options: A) Map it to a similar shape available in the preset shapes of OOXML, or B) convert it to a custom geometry. Currently option A) is used for the smiley. On import the preset shape of OOXML is kept, because the file has no information, that it was in original a shape from MS binary format.

The MSO binary geometry has the start point at the left of the shape, the OOXML preset shape has it at the right of the shape. The line is drawn clockwise. Dashing starts with a dash at the start point. To get the same in ODT as in DOCX, you need to start with an OOXML shape.

I consider this a "Wont fix".
Comment 5 Telesto 2020-12-26 08:42:08 UTC
(In reply to Regina Henschel from comment #4)
> I consider this a "Wont fix".

Sounds reasonable. However throwing it into UX to get more input/insights/feedback.
The sample file is obviously not real life; and kind of uncertain if there are cases where it could be relevant..

---
Self memo: should go to the compatibility wiki
Comment 6 Heiko Tietze 2021-01-11 05:46:40 UTC
Regina is the expert in this field => WF (NOB since it's a bug)

(In reply to Telesto from comment #5)
> Self memo: should go to the compatibility wiki
Good idea!