Bug 99228 - Page Borders and drawing shapes displayed incorrectly
Summary: Page Borders and drawing shapes displayed incorrectly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Keywords: filter:docx
Depends on:
Blocks: DOCX-Page Page-Borders
  Show dependency treegraph
Reported: 2016-04-11 17:41 UTC by Richard
Modified: 2024-06-08 03:15 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Borders&Logo (358.36 KB, application/wps-office.docx)
2016-04-11 17:43 UTC, Richard
How it looks in MSOffice (99.26 KB, image/png)
2016-04-11 17:45 UTC, Richard
minimum demonstration (33.40 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-06-21 02:28 UTC, Ammar A
Minimized example file from Word 2016 with page border and drawing shapes (32.14 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-06-08 09:50 UTC, Gabor Kelemen (allotropia)
The minimized example in Word 2016 and current master (83.40 KB, image/png)
2022-06-08 09:54 UTC, Gabor Kelemen (allotropia)

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2016-04-11 17:41:31 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Build Identifier: LibreOffice

When I open the document in Libreoffice shapes on the title page are completely off and the "Harriman's" watermark has no transparency.

Reproducible: Always

Steps to Reproduce:
1.Download the Document
2.Open in LibreOffice (I haven't tested other versions)
Actual Results:  
Title Page wrong, No Transparency for Logo-Not sure if there is a way to work around it.

Expected Results:  
Title page displayed correctly, text over logo easily readable.

[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (Ubuntu 14.04)
OS is 64bit: yes

Reset User Profile?No
Comment 1 Richard 2016-04-11 17:43:34 UTC
Created attachment 124258 [details]
Comment 2 Richard 2016-04-11 17:45:02 UTC
Created attachment 124259 [details]
How it looks in MSOffice
Comment 3 raal 2016-04-12 11:00:13 UTC
I can confirm with Version:; win7
Comment 4 Telesto 2016-11-28 17:39:43 UTC
Confirming with:
Version: (x64)
Build ID: 7aa2b5a041df8e71a435cccbc79ee13799ec9138
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; Layout Engine: new; 
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2016-11-24_11:40:27
Locale: nl-NL (nl_NL); Calc: CL
Comment 5 QA Administrators 2018-06-26 02:44:20 UTC Comment hidden (obsolete)
Comment 6 Thomas Lendo 2019-01-05 18:28:56 UTC
Still repro.
Build-ID: be8897d9c63a77b223a9c0aed1d2eb689e0e0082
CPU-Threads: 4; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-01-02_04:49:04
Comment 7 QA Administrators 2021-01-05 03:48:24 UTC Comment hidden (obsolete)
Comment 8 Ammar A 2021-06-21 02:27:25 UTC
This is still the case as of the latest release. Steps to reproduce:
1. Create a new Microsoft Word document
2. Add a watermark to the document and save.
3. Open document in LibreOffice Writer, notice that the watermark image no longer has any transparency applied.
Comment 9 Ammar A 2021-06-21 02:28:35 UTC
Created attachment 173045 [details]
minimum demonstration
Comment 10 Gabor Kelemen (allotropia) 2022-06-08 09:49:47 UTC
The watermark looks transparent in 7.4 master since:


author	Miklos Vajna <vmiklos@collabora.com>	Thu Dec 16 10:16:02 2021 +0100
committer	Miklos Vajna <vmiklos@collabora.com>	Thu Dec 16 12:43:11 2021 +0100

VML import: handle <v:imagedata gain="..." blacklevel="...">

Thanks Miklos for fixing this issue!

However, there are still some issues with the shapes and the page border: in Word the page border is in front of the shapes, in Writer it is behind them. 
Let's refocus this bug on that.
Comment 11 Gabor Kelemen (allotropia) 2022-06-08 09:50:50 UTC
Created attachment 180632 [details]
Minimized example file from Word 2016 with page border and drawing shapes
Comment 12 Gabor Kelemen (allotropia) 2022-06-08 09:54:29 UTC
Created attachment 180633 [details]
The minimized example in Word 2016 and current master

Version: (x64) / LibreOffice Community
Build ID: f572585756494c59fb81f5d93c51cc2d35421f0e
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Note: in Word it looks like the Z-order is kinda implicit: page border is always in front of the shapes, I'm unable to put shapes in front of it.

In Writer putting the shapes to the background creates the same effect as in Word, but setting that on import would likely create visibility issues with text.
Comment 13 QA Administrators 2024-06-08 03:15:37 UTC
Dear Richard,

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