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: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
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-05 16:35 UTC (History)
1 user (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.