Bug Hunting Session
Bug 123569 - FILESAVE DOCX: Rotated image is saved with wrong size/position
Summary: FILESAVE DOCX: Rotated image is saved with wrong size/position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Images
  Show dependency treegraph
 
Reported: 2019-02-19 09:50 UTC by Aron Budea
Modified: 2019-04-15 15:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODT (14.28 KB, application/vnd.oasis.opendocument.text)
2019-02-19 09:50 UTC, Aron Budea
Details
Wrongly exported DOCX (4.92 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-02-19 09:51 UTC, Aron Budea
Details
Similar sample DOCX (created in Word) (20.12 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-02-19 09:53 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2019-02-19 09:50:17 UTC
Created attachment 149409 [details]
Sample ODT

Open the attached ODT, created in Writer, containing a single rotated image.
Save as DOCX and reopen (or open it in Word).

=> The image is too big, and falls off to the right (the position is different in Word and Writer).

There's no issue with a DOCX containing a rotated image, originating from Word, and there's no issue with the sample attachment 140588 [details] from bug 116371.

Observed using LO 6.3.0.0.alpha0+ (e0745a11597e5d57eb8001a295314e86810a6027) / Windows 7.
Needs the DOCX part of bug 116371 fix, b226383a83e41bbced9fc2a02dc09a449401ec97.
Comment 1 Aron Budea 2019-02-19 09:51:26 UTC
Created attachment 149410 [details]
Wrongly exported DOCX
Comment 2 Aron Budea 2019-02-19 09:53:17 UTC
Created attachment 149411 [details]
Similar sample DOCX (created in Word)

Roundtripping this file keeps the image correctly rotated.
Comment 3 Dieter Praas 2019-02-19 16:48:57 UTC
I confirm it with

Version: 6.3.0.0.alpha0+ (x64)
Build ID: f42554a1886ebe49170c25096dc3281b2c7bb1f4
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-08_22:37:30
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded