Skip to content

fix(export): expose all nine watermark positions and adjustable inset - #833

Merged
bflatastic merged 2 commits into
storytold:mainfrom
Ni-zav:fix/827-watermark-nine-anchors-s20261010T214658Z-b529
Oct 11, 2026
Merged

bflatastic merged 2 commits into
storytold:mainfrom
Ni-zav:fix/827-watermark-nine-anchors-s20261010T214658Z-b529

Conversation

@Ni-zav

@Ni-zav Ni-zav commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Problem

The Export dialog exposes only five watermark positions, although
LightCraft's watermark renderer already supports nine.

This prevents users from positioning watermarks at the bottom center,
top center, left center, or right center.

The renderer also supports an inset setting, but the Export dialog
does not provide a way to adjust it.

Changes

  • Expose all nine watermark positions in the Export dialog.
  • Arrange the position controls in a consistent 3×3 order.
  • Add an adjustable inset control ranging from 0% to 40% of the
    image's shorter edge.
  • Support the existing positioning behavior for both text and
    graphic watermarks.
  • Preserve existing watermark defaults and serialized settings.
  • Add a regression test checking that every supported position
    appears exactly once.

Validation

  • Reviewed the changes against the current watermark renderer.
  • Confirmed the branch contains two commits based on upstream main.
  • Added regression test source; not executed.
  • Cargo tests, formatting checks, GUI verification, and CI remain pending.

Issue

Addresses #827

@john01px2022

Copy link
Copy Markdown
Contributor

Thanks for this, @Ni-zav. I've built on your branch in #845. It splits the single inset into horizontal and vertical margins, like Lightroom Classic's watermark editor, and still reads the old inset key. Your two commits are included unchanged, so whichever merges first, the other rebases cleanly. Happy to restructure it if you or the maintainers prefer.

@Ni-zav

Ni-zav commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @john01px2022 for building on this!

The separate horizontal and vertical insets are a useful improvement, especially for Lightroom Classic parity. I also appreciate the backward compatibility with the existing inset key and the additional regression coverage.

I'm happy to keep #833 focused on the nine watermark positions and the initial inset control, with #845 following as the separate-margin enhancement.

Since #845 is stacked on #833 and includes my original commits unchanged, I think merging #833 first and then rebasing #845 onto the updated main would give us the cleanest history.

@echelon, does that merge order work for you?

@bflatastic
bflatastic merged commit 1ac1bc0 into storytold:main Oct 11, 2026
EddifyBot pushed a commit to good-shepherd-insights/lightcraft that referenced this pull request Oct 11, 2026
…ork after a slider click (storytold#884); tests follow the merged dialog and panel state

storytold#884 focuses a develop slider on click so the wheel and arrows adjust it, but a focused widget
owned the whole keyboard, so after touching a slider no shortcut fired (O for the mask overlay,
caught by mask_adjustments_hide_overlay_without_disabling_the_mask). Now a selected slider owns
the arrow keys only. The wheel test opens the Edit panel explicitly (the demo may start on it, and
panel.edit then toggles it shut), and the Export dialog snapshot is 546 px wide since storytold#833's
nine watermark positions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4
@bflatastic bflatastic mentioned this pull request Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants