Bug 143934 - FILEOPEN DOCX Images in header/footer and document body can’t be positioned partly off page (compatibilityMode 15)
Summary: FILEOPEN DOCX Images in header/footer and document body can’t be positioned p...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Images DOCX-Header-Footer DOCX-compatibilityMode-15
  Show dependency treegraph
 
Reported: 2021-08-18 13:39 UTC by NISZ LibreOffice Team
Modified: 2023-10-29 12:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word with square and tight wrapped images in header/footer (CM15) (102.38 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-08-18 13:39 UTC, NISZ LibreOffice Team
Details
Example file from Word with through and top/bottom wrapped images in header/footer (CM15) (99.65 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-08-18 13:39 UTC, NISZ LibreOffice Team
Details
Example file from Word with behind text and in front of text wrapped images in header/footer (CM15) (101.23 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-08-18 13:40 UTC, NISZ LibreOffice Team
Details
Screenshot of the document with square and tight wrapped images side by side in Word and Writer (243.65 KB, image/png)
2021-08-18 13:40 UTC, NISZ LibreOffice Team
Details
Screenshot of the document with through and top/bottom wrapped images side by side in Word and Writer (192.39 KB, image/png)
2021-08-18 13:41 UTC, NISZ LibreOffice Team
Details
Screenshot of the document with behind text and in front of text wrapped images side by side in Word and Writer (228.14 KB, image/png)
2021-08-18 13:41 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-08-18 13:39:31 UTC
Created attachment 174372 [details]
Example file from Word with square and tight wrapped images in header/footer (CM15)

When an image is relatively positioned to page (i.e. Move object with text is OFF) and partly positioned outside of the page area, this placement is not always imported correctly from DOCX files in compatibilityMode 15.
If the same image is placed in the header/footer, the placement is similarly imported incorrectly.
As a result the images are entirely inside the page area.

Steps to reproduce:
    1. Open attached files that have examples with all six wrap types for images partly outside of the page area, compare to Word. The examples are in compatibility mode 15, behavior is a bit different in compatibility mode 14.

Actual results:
Image-square-tight-wrap_C15.docx 
No bleed margin in header/footer for square wrapped image (top) and Tight wrapped image (bottom); this is similar to the C14 case.
No bleed margin in document body for square wrapped image (top) and Tight wrapped image (bottom).

Image-through-topbottom-wrap_C15.docx:
No bleed margin in header/footer and document body for Through (top); as well as for Top and Bottom wrapped image (bottom).

Image-behind-front-wrap_C15.docx:
Bleed margin is allowed both for behind text wrapped image (top) and in front of text wrapped image (bottom) both in header/footer and in document body. These cases open fine!

Expected results:
Image-square-tight-wrap_C15.docx: 
Bleed margin should be allowed both in header/footer and document body for square wrapped image (top) and Tight wrapped image (bottom).

Image-through-topbottom-wrap_C15.docx:
Bleed margin should be allowed both in header/footer and document body for Through wrapped image (top) and Top and Bottom wrapped image (bottom).

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5aac78e5fb241050a86714687e9ff8804588ae3c
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2021-08-18 13:39:59 UTC
Created attachment 174373 [details]
Example file from Word with through and top/bottom wrapped images in header/footer (CM15)
Comment 2 NISZ LibreOffice Team 2021-08-18 13:40:22 UTC
Created attachment 174374 [details]
Example file from Word with behind text and in front of text wrapped images in header/footer (CM15)
Comment 3 NISZ LibreOffice Team 2021-08-18 13:40:43 UTC
Created attachment 174375 [details]
Screenshot of the document with square and tight wrapped images side by side in Word and Writer
Comment 4 NISZ LibreOffice Team 2021-08-18 13:41:05 UTC
Created attachment 174376 [details]
Screenshot of the document with through and top/bottom wrapped images side by side in Word and Writer
Comment 5 NISZ LibreOffice Team 2021-08-18 13:41:25 UTC
Created attachment 174377 [details]
Screenshot of the document with behind text and in front of text wrapped images side by side in Word and Writer
Comment 6 Dieter 2021-09-04 09:52:19 UTC
Not really sure about compatibility mode. I use Word 2016 and after reading bug 131304 comment 0 I assume, that Word 2016 uses CM 15.

I confirm the bug with

Version: 7.2.1.1 (x64) / LibreOffice Community
Build ID: 3cfc32d9754d2d239bd8ce2941029c12873010c1
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

an Word 2016
Comment 7 QA Administrators 2023-09-05 03:13:21 UTC
Dear NISZ LibreOffice Team,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug