Bug 142819 - Image caption frame is not a frame (shape type) and oddly exported border (line width 4.5pt) not properly exported (smaller) and image got bigger (fine with DOC (frame), only DOCX)
Summary: Image caption frame is not a frame (shape type) and oddly exported border (li...
Status: RESOLVED DUPLICATE of bug 140355
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-12 15:50 UTC by Telesto
Modified: 2021-06-14 10:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (143.03 KB, application/vnd.oasis.opendocument.text)
2021-06-12 15:50 UTC, Telesto
Details
The original document and its docx version in Word (213.76 KB, image/png)
2021-06-14 08:07 UTC, NISZ LibreOffice Team
Details
Image width settings in Writer and Word (373.73 KB, image/png)
2021-06-14 10:19 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-06-12 15:50:11 UTC
Description:
Image caption frame border not properly exported (smaller) and image got bigger

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

Actual Results:
Border lines are thinner.. image bigger

Expected Results:
Similar to ODT


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 239b4bb27fd8db26e8416045b3015688a8b1b0ae
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

borders OK, but image and caption distributed oddly
in 6.4

and in 
4.3

Frame looks OK in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

[except anchor positioning being off]
Comment 1 Telesto 2021-06-12 15:50:29 UTC
Created attachment 172839 [details]
Example file
Comment 2 Telesto 2021-06-12 17:28:17 UTC
Note: DOC exports a frame, DOCX a shape.
Comment 3 Telesto 2021-06-12 17:31:01 UTC
NISZ surely has more wisdom about this compared to me
Comment 4 NISZ LibreOffice Team 2021-06-14 08:07:22 UTC
Created attachment 172860 [details]
The original document and its docx version in Word

The border width seems to be correctly exported as line width.

Something else is off though, the caption is vertically slightly lower and the bottom border overlaps it. 
This does not seem to happen in Writer with the docx, only in Word.
Comment 5 NISZ LibreOffice Team 2021-06-14 10:19:49 UTC
Created attachment 172865 [details]
Image width settings in Writer and Word

The images width indeed changes: under Crop settings the horizontal and vertical scale was not the same originally, but became the same in docx. 
This is the same problem as bug #140355.
Comment 6 NISZ LibreOffice Team 2021-06-14 10:23:43 UTC
Let me mark this as a duplicate per last comment.

Also why it changes from frame to shape: the Word-shape object has more options compared to the Word-frame object and this makes it a better candidate to map the Writer-frame object to.
See also: https://bugs.documentfoundation.org/show_bug.cgi?id=140195#c3

*** This bug has been marked as a duplicate of bug 140355 ***