Why hatch on image area is applied only on borders?

I’m inserting images in a Writer document, but I’m not able to apply a Hatch to an image Area, despite what the properties dialog says: the hatch is applied only to the border area and not to the image area.


In the example above, I tried a blue hatch, since the black one fails to be shown, when the user interface uses the dark theme (in the preview shows as an all black zone).
It can be seen how the hatch applies only to the border area - I enlarged the border padding to make the hatch visible, or it would even be totally invisible.

What am I missing?

Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: en-US
Calc: threaded

May be a transparency empty area of the image?

Impossible to tell from the screenshot. Anyway, hatched area will not hatch borders. It hatches the background. Therefore, my guess is: your image is smaller then the frame.

@bantoniof That may be true, have to paste a transparent background: usually I paste something like pictured, with a screenshot (which has no transparent BG)

@ajlittoz Yes and no, enlarging the borders padding the hatch is larger.
I just suspect that, as pointed out by @bantoniof, the hatch applies to the background, while my wrong assumption was that the hatch applied over the image.

[EDIT]
In this second case, I’m even more puzzled about how Transparency works: it applies to the hatch, but what for, if the hatch is on the BG…?

OK, I had to pass my screenshot to another bitmap editor, select the background, delete it, and save as a PNG, with alpha channel/transparency: now the hatch applies to the background, where transparent…
Well, I hoped it would be applied over, as the watermark. This back and forth is too complex, I won’t use hatch :man_shrugging:

Exactly: the frame is a “container” with its own background (Area). Frame contents, text or image, is painted over the frame background, i.e. in the foreground. It is considered as “standard” by most people.

The case is different because you must consider the interactions between the frame and the page. It is not limited to contents of the frame only.

A watermark is a text frame. All frames are inserted “above” page text. “Ordinary” frames have a wrap property so that it will remove the frame area from usable area in the page so that no text can be set where the frame is positioned. Watermark frames have wrap property “Through”. Now text does not know there is a frame and is flown as if the frame did not exist. Watermark area is set to None (i.e. transparent). If you change watermark area to a solid colour, it will mask text underneath.

The same technique can be used to cross-hatch an image with a watermark frame. However I don’t recommend it because it is extremely difficult to synchronise two frames and frame styles because frames don’t interact with each other (except for overlap). You can control frame interaction with text and customise it; you can’t for frame interactions.

It is better to prepare the image, e.g. with Draw, and to insert the result into Writer to be used “as is”.