Switching Module Off with Export Style

Darktable 4.0.1, Linux, I try to switch off the single instance of the watermark module I have in my edits at export time. For this I created a style with solely a switched off watermark module in. Unfortunately, neither in append nor in replace mode I get the desired result. In append, it just does not get switched off, and in replace, it replaces the whole stack. Any hint on how this is supposed to work (the manual is not too verbose on that, unless I missed the correct section) and how I could achieve what I am trying would be very welcome.

Background information: I am preparing my annual gift calendars for my children’s grandparents and I am using a watermark overlay to show what will be hidden by the calendar’s mechanics (ring binding etc.). For export I want of course to get rid of it, but I cannot get it to work.

Edit: Btw, it works (switches off the watermark) if I apply the style to the image directly in append mode.

That was indeed the way to go.

What does that mean? Does the append work different for applying styles regularly and in the export module in append mode?

1 Like

Trying out possible workflows I found that when switching off the watermark with a style, then going into darkroom and switching it on again, and going back to the lighttable, the thumbnail does not update. Only previews of different size are updated on demand afterwards. @Nilvus, do you think this is worth a bug report?

Seems I do not understand correctly you Edit line. The append mode on export module works the same. But it also depend on style you use. You provide no info about it. Would be good to post it (you can export styles). For such style, you need to have only watermark off selected to expect it to work. Did you test also the opposite: set a style with a watermark on and try to export an image without watermark and apply watermark on style? Just to check if it works correctly in a way or the other.

About your other issue in your last comment, it’s a minor refresh issue. A bug report could be needed but I fear that this will not be fixed until a time, regarding issues actually and work main developer of that part have actually and for weeks (months)?
So as you want.

I am using the same style for both tests, appending it in the styles module in lighttable, and, appending it in the export module. In styles module it works, in export module, it does not. The style:

As said before, it contains only the switched-off watermark module.

Here’s the file: watermark_off.dtstyle (570 Bytes)

The opposite test you suggested works correctly in both cases, switching on the watermark with a style (same as above, but switched on) works in the styles module as well as in the export module.

Where is my misunderstanding?

Understood. Yes, it’s incredible what job you devs are doing, the features and fixes that are coming to 4.2 are mindblowing again (as with each of the releases). Kudos/Chapeau!

Thanks for your tests. So probably there’s an issue to apply off modules. I suggest you so test an issue on Github, explaining it clearly, regarding comments we post here and a link to this thread.

While this message comes late as the github issue already got fixed, for reference, here’s the link: https://github.com/darktable-org/darktable/issues/12789.

And, here’s the one about the thumbs not updating when leaving darkroom: https://github.com/darktable-org/darktable/issues/12803 (not yet fixed).