Bug 127331 - FORMATTING: Watermark should be on top of all page elements
Summary: FORMATTING: Watermark should be on top of all page elements
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Page-Watermark
  Show dependency treegraph
 
Reported: 2019-09-04 11:42 UTC by Thomas Lendo
Modified: 2022-10-16 10:33 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
png file showing a watermark below a picture (37.62 KB, image/png)
2019-09-04 11:42 UTC, Thomas Lendo
Details
Test document with watermark (16.68 KB, application/vnd.oasis.opendocument.text)
2019-09-04 11:44 UTC, Thomas Lendo
Details
Comparison of watermark features in LibreOffice (26.77 KB, application/pdf)
2019-09-23 07:40 UTC, Thomas Lendo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Lendo 2019-09-04 11:42:35 UTC
Created attachment 153858 [details]
png file showing a watermark below a picture

A watermark in a Writer document is placed below other images that exists in this document.

This makes the watermark to be not readable or it makes the document looking bad.

Ideally the watermark is on top of all page elements even though it's not clickable by mouse (to ensure, that other page elements can be edited without annoyance. Is this technically possible?


Workaround:
- Go to the Navigator.
- Open the 'Drawing objects' tree.
- Double-click at the first 'PowerPlusWaterMarkObject'. Now the watermark is selected in the page.
- Go to menu Format > Wrap > In background and deselect this item. There should be no check mark.
- Go to menu Format > Arrange > Bring to Front.
Now the watermark is in front of the pictures.


Version: 6.4.0.0.alpha0+ (x64)
Build ID: 41cd3e8e817c8c33a13608e62eeb06ce2c6977e4
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-01_22:04:10
Comment 1 Thomas Lendo 2019-09-04 11:44:38 UTC
Created attachment 153859 [details]
Test document with watermark
Comment 2 Dieter 2019-09-23 06:06:31 UTC
I would expect watermark in the background.

cc: Design Team for further input
Comment 3 Heiko Tietze 2019-09-23 07:16:37 UTC
(In reply to Dieter Praas from comment #2)
> I would expect watermark in the background.

Me too. But OTOH the statement CONFIDENTIAL or DON'T PANIC in bug red letters is expected to be readable. Miklos, what do you think?
Comment 4 Miklos Vajna 2019-09-23 07:21:35 UTC
I don't have a strong opinion on this. Szymon worked on the watermark dialog, perhaps he has.

Did you check what the competition (Word, etc) do?
Comment 5 Dieter 2019-09-23 07:38:54 UTC
I think, it is more a kind of stamp, Thomas is asking for. Do we have this in LO or could this be an additional feature?
Comment 6 Thomas Lendo 2019-09-23 07:40:10 UTC
Created attachment 154379 [details]
Comparison of watermark features in LibreOffice

(In reply to Dieter Praas from comment #2)
> I would expect watermark in the background.
Background yes, but I've never seen a watermark feature in other programs that hides itself behind document content which would make nonsense of the watermark feature.

Also the watermark feature of the inbuilt pdf export is putting the watermark on top of the document content. See attached documents with Writer watermark feature in red and pdf export watermark feature in green.
Comment 7 Thomas Lendo 2019-09-23 07:46:53 UTC
PDF-XChange Editor version 8 sets the watermark in foreground. There is a checkbox (which isn't activated per default) where the user can choose "in background" additionally.

MS Word 2016 behaves like LibreOffice now with watermark in the background.
Comment 8 Daveo 2019-09-23 08:13:24 UTC
By placing the mark in the foreground it would by definition cease to be a watermark and become an over-stamp. Any professional printer would tell you this. Making watermarks default to stamps would undoubtedly create user misunderstanding and complaints.

In the case of the test document the simple solution is to select the "PowerPlusWatermarkObject" and bring it to the foreground (Front).

My take is this is either WFM ot NAB.
Comment 9 Heiko Tietze 2019-09-23 08:31:43 UTC
I could imagine a checkbox "[ ] Always on top" that allows this enhancement. However, while you can do that with LibreOffice (click an object like the image, then right-click the water mark and set Arrange > To Foreground) it fails the round-trip (save as docx and load in MSO). 

Szymon, what do you think?
Comment 10 Daveo 2019-09-23 09:40:40 UTC
A checkbox would not resolve the MSO round trip issue, because our OOXML export filter correctly identifies the words as a watermark in the page header and MS Word will always place watermarks behind the page content. Anyway, the MSO round trip is a separate issue.

What the OP is asking for is a stamp, with some degree of text transparency.
Comment 11 Heiko Tietze 2019-09-25 09:23:58 UTC
(In reply to Dave Barton from comment #10)
> What the OP is asking for is a stamp, with some degree of text transparency.

Exactly, and he expects this with the same workflow as for watermarks. So my proposal was, to add a checkbox to the dialog and do some magic in the code. Of course, round-trips are doomed.

While I agree with WFM we should keep the ticket alive since no means exist to show a shape or fontwork on every page.
Comment 12 csongor 2022-09-23 16:43:39 UTC
Bug 151151(In reply to Thomas Lendo from comment #0)
 
> Workaround:
> - Go to the Navigator.
> - Open the 'Drawing objects' tree.
> - Double-click at the first 'PowerPlusWaterMarkObject'. Now the watermark is
> selected in the page.
> - Go to menu Format > Wrap > In background and deselect this item. There
> should be no check mark.
> - Go to menu Format > Arrange > Bring to Front.
> Now the watermark is in front of the pictures.

This work-around doesn't work with the current version of LO (7.4.1.2) anymore. However, it brings a lot of bugs to the surface. I created Bug #151151 to show the ones I found (all together seven of them). 

All these issues could be avoided with a solution like @Heiko also proposed in Comment #9. The only difference is that I would implement the UI with a pair of radiobuttons rather than a checkbox because it makes it easier to compare the result of the two settings.

Regarding the discussion whether the watermark should be in front of everything or behind everything, I think it should work like a "CONFIDENTIAL" stamp on documents. It should cover everything. I cannot see any advantage of the other way but seemingly there are others who can. That's why I believe it should be adjustable in a straightforward way.


Note: I am opened to see a real world example why it can be useful. The wikipedia page of https://en.wikipedia.org/wiki/Watermark says stamp (overprint) is also a watermark:

> The word is also used for digital practices that share similarities with physical 
> watermarks. In one case, overprint on computer-printed output may be used to identify 
> output from an unlicensed trial version of a program. In another instance, identifying 
> codes can be encoded as a digital watermark for a music, video, picture, or other file.