Bug 140370 - Scaled image size not retained after DOCX export
Summary: Scaled image size not retained after DOCX export
Status: RESOLVED DUPLICATE of bug 140355
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: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2021-02-12 10:39 UTC by Telesto
Modified: 2021-02-17 12:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (180.37 KB, application/vnd.oasis.opendocument.text)
2021-02-16 19:00 UTC, Telesto
Details
The original file with slightly resized table and its docx version (274.58 KB, image/png)
2021-02-17 12:57 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-02-12 10:39:46 UTC
Description:
Scaled image size not retained after DOCX export

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

Actual Results:
Image grown

Expected Results:
Same as ODT


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3ed9bba283a6a67864c0928186e277240be0d9ba
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
Comment 1 Telesto 2021-02-12 10:41:51 UTC
Still fine with
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 568b820bc2d52c007ee08ad7a3849c94a458115d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

Looks a lot like bug 140355
Comment 2 Telesto 2021-02-12 10:43:08 UTC
Still OK with 
Version: 7.1.0.0.beta1+ (x64)
Build ID: f9fab4203c1aa0b9a3f27ce2713b6d5addc7df19
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL

Except for the wrong position
Comment 3 NISZ LibreOffice Team 2021-02-15 14:49:42 UTC
Attachment is missing.
Comment 4 Telesto 2021-02-16 19:00:37 UTC
Created attachment 169791 [details]
Example file

Small adjustment of the STR:

1. Open the attached file
2. Hoover over left border frame 1: <-> appears
3. Drag inwards
4. Save as DOCX

Notice frame 1 being 'totally' off. And Frame 2 slightly broken (maybe 2 bugs..)
Comment 5 NISZ LibreOffice Team 2021-02-17 12:57:16 UTC
Created attachment 169822 [details]
The original file with slightly resized table and its docx version

This is not the usual image+caption in a frame, but images and text in a table.

Resizing the table makes the scaling of the left image change: 
from 59% width and 65% height 
to   50% width and 63% height.

The scaling export bug makes the 50% width becoming 63%, so it does no longer fit in the cell and the right side disappears. 
But manually changing the values fixes the layout for me.

I strongly believe this is another way to better visualize the scaling export problem in bug #140355
Comment 6 NISZ LibreOffice Team 2021-02-17 12:57:35 UTC

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