Bug 160923 - Inserting a watermark to a word document also adds a blank header.
Summary: Inserting a watermark to a word document also adds a blank header.
Status: RESOLVED DUPLICATE of bug 111325
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 14:22 UTC by vena.cava@virgin.net
Modified: 2024-05-19 01:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
writer document without watermark (9.09 KB, application/vnd.oasis.opendocument.text)
2024-05-03 14:23 UTC, vena.cava@virgin.net
Details
writer document with watermark (12.72 KB, application/vnd.oasis.opendocument.text)
2024-05-03 14:24 UTC, vena.cava@virgin.net
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vena.cava@virgin.net 2024-05-03 14:22:23 UTC
Description:
Inserting a watermark to a word document also adds a blank header, which shifts all the text in the body of the document down by one line.

Steps to Reproduce:
1. Make a word document and fill the page, so that it goes over onto page 2
2. Add a watermark. View the document - a new blank header is added, and all the text in the body of the document is shifted down by one space.
3. Note that when the header is deleted, the watermark is also deleted.

Actual Results:
as above

Expected Results:
I would not expect a new black header to be made when a watermark is added.
I would expect the text to stay in the same position and not be moved down by one space.


Reproducible: Always


User Profile Reset: No

Additional Info:
I have attached a two-page ODT filled in with newlines. I have put numbers at the beginning of key lines to mark the position of the lines.

I have also attached the above file after inserting a watermark. A new blank header is present, and all of the lines in the body of the document are moved down by one space.
Comment 1 vena.cava@virgin.net 2024-05-03 14:23:37 UTC
Created attachment 193952 [details]
writer document without watermark
Comment 2 vena.cava@virgin.net 2024-05-03 14:24:21 UTC
Created attachment 193953 [details]
writer document with watermark
Comment 3 m_a_riosv 2024-05-03 22:47:33 UTC
I don't think this is a bug, but the way it was designed, with the watermark belonging to the heading.

Reducing the heading height to 0.01 maybe it's enough.
Comment 4 vena.cava@virgin.net 2024-05-04 09:14:16 UTC
If it is the way it is designed, then it behaves like a bug. Users do not expect a new header to be make, and the size of the body of the letter to be reduced by one line. There is nothing in the documentation that a new header is made along with the watermark.

For example, I made a one-page document that had my signature on the last line of the page. I then added a watermark, and my signature was moved onto a new page, and the document became a two-page document (which I did not expect and did not want).
Comment 5 vena.cava@virgin.net 2024-05-05 16:35:22 UTC
(In reply to m_a_riosv from comment #3)
> I don't think this is a bug, but the way it was designed, with the watermark
> belonging to the heading.
> 
> Reducing the heading height to 0.01 maybe it's enough.

Please see my comment below.
Comment 6 Stéphane Guillou (stragu) 2024-05-19 01:07:10 UTC
Thanks for the report, Vena Cava.

Reproduced in:

Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

But as m_a_riosv said, this is considered "not a bug", as explained by Szymon in bug 111325 comment 6:

> Watermark is inserted to the page header and that is the root cause. This is
> done for a compatibility with other suites (MS Office also does Watermark this
> way, and adds page header).

I am closing as a duplicate so we keep track of how many users think this is an issues. If you want, feel free to comment in bug 111325.

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