Description: When you add a watermark additionally a new page header is added in the document. When you try to erase the page header, the watermark is also deleted. It also occurs if the user before adding a watermark already has a page header established and if it is deleted, the watermark is deleted. So you can't have a watermark without setting a page header. Steps to Reproduce: 1. Open new document (Enable formatting marks to improve visibility) 2. Add a watermark: Ex. "Draft" using Format|Watermark 3. Delete the page header Actual Results: When you add a watermark, system add a page header Expected Results: Only watermark is added Reproducible: Always User Profile Reset: Yes Additional Info: Testing on: LibreOffice 5.4.0.3 (7556cbc6811c9d992f4064ab9287069087d7f62c) gtk+3 LibreOffice 6.0.0.0.alpha0 (e0bafa78e3ad0df397d78cd65ad19bd5b07dc5f2) gtk+3 Fedora 26 64bit XFCE User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Created attachment 135116 [details] Screenshot
Reproducible with LO 5.4.1.0.0+ built at home under Ubuntu 16.04 x86-64. Header creation is not visible on the screencast on the blog post by Szymon cited in the 5.4 release notes (https://eszkadev.blogspot.fr/2017/06/watermark-for-libreoffice-writer.html). So I guess it is no intended then it is a bug. Set to NEW. Best regards. JBF
But it is not an issue it's how watermark was implemented, in fact you don't need the watermark option to do the same, but it simplifies to do it a lot and makes it visible. http://eszkadev.blogspot.com.es/2017/06/watermark-for-libreoffice-writer.html
@Szymon, Could you please comment on this one ?
(In reply to m.a.riosv from comment #3) > But it is not an issue it's how watermark was implemented, This feature derives from the function of the TSCP standard added in an earlier version of LO, so I guess that's why the reason for adding a header automatically, however, is not what is expected for a single watermark feature. > in fact you don't > need the watermark option to do the same, but it simplifies to do it a lot > and makes it visible. > That's the idea! Other office suites offer to add text or an image easily as a watermark for a while.
(In reply to Jean-Baptiste Faure from comment #2) > Header creation is not visible on the screencast on the blog post by Szymon > cited in the 5.4 release notes > (https://eszkadev.blogspot.fr/2017/06/watermark-for-libreoffice-writer.html). > So I guess it is no intended then it is a bug. Header was added, after insertion the content was slightly moved down. 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). In my opinion: NOTABUG
(In reply to Szymon Kłos from comment #6) > (In reply to Jean-Baptiste Faure from comment #2) > > Header creation is not visible on the screencast on the blog post by Szymon > > cited in the 5.4 release notes > > (https://eszkadev.blogspot.fr/2017/06/watermark-for-libreoffice-writer.html). > > So I guess it is no intended then it is a bug. > > Header was added, after insertion the content was slightly moved down. > > 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). > > In my opinion: NOTABUG I understand what you say and I really don't know how this feature works internally, however, it is different from what you see in other applications. For example, in MS Office and WPS Office the page header to add a watermark is completely invisible to the user and therefore a) doesn't modify the size of the page margin and b) the user can insert/remove headers/footers without deleting the watermark. I see as a problem that the user can edit visible elements with unexpected results, in addition to importing an OOXML document with a watermark to LibreOffice changes the layout of the same one when adding new elements (header/footer) modifying the margins, etc.
I had a similar problem to the one described here. I had to manually calculate the top margin so that it was equal to the bottom margin in a printed document and when using a header I have to manually change the values to match with the footer. If it is not possible to improve the UX, at least the header that is added with the watermark could use the same values of the default style? Both say "default style" but do not use the same values.
So issue is: "Adding a watermark moves the document content down" not "Adding a watermark automatically adds a page header". I can confirm that. "When you try to erase the page header, the watermark is also deleted." - I see that in MS Office when watermark is inserted then removing the header is impossible(only content is deleted). This should be a separate bug report, I think.
(In reply to Szymon Kłos from comment #9) > So issue is: "Adding a watermark moves the document content down" not > "Adding a watermark automatically adds a page header". I can confirm that. > Yeah, a common user doesn't know the relationship between the header and the watermark. Moving the content below is a consequence of inserting a header into LO. You are free to change the title of the report. > "When you try to erase the page header, the watermark is also deleted." - I > see that in MS Office when watermark is inserted then removing the header is > impossible(only content is deleted). This should be a separate bug report, I > think. Ok, although it seems a bigger UX problem because of how LO handles headers/footers compared to other applications. On the other hand I also noticed that there is no intuitive way to erase the watermark (deleting content doesn't delete the header). Cheers
*** Bug 160923 has been marked as a duplicate of this bug. ***