Repository navigation
LR-EXP-WATERMARK: separate horizontal and vertical watermark insets (#827, stacked on #833) - #845
Merged
bflatastic merged 3 commits intoOct 11, 2026
Conversation
…torytold#827) Watermark.inset becomes inset_x (from the left or right edge) and inset_y (from the top or bottom edge), like Lightroom Classic's watermark editor. The watermark keys are insetX and insetY; the old inset key still reads as both, so saved presets and existing MCP calls keep working. The Export dialog's Inset slider becomes Horizontal inset and Vertical inset, each greyed out when the position is centred along its axis. cargo fmt reflows WM_POSITIONS and its test from the previous commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 11, 2026
Closed
emmertex
added a commit
to clydecbrown/lightcraft
that referenced
this pull request
Nov 5, 2026
Issue storytold#844: import Capture One catalogs through the catalog import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #827. Stacked on #833: the first two commits are #833 unchanged. Review only the last commit.
#833 shows all nine positions and one inset slider. Lightroom Classic's watermark editor has separate horizontal and vertical insets, so this commit splits the single margin in two.
What changed
Watermark.insetbecomesinset_x(margin from the left or right edge) andinset_y(from the top or bottom edge). Both are still a fraction of the short edge, 0..0.4, default 0.025, so equal values give equal gaps. Text and graphic watermarks both use them.watermarkkeysinsetXandinsetY. The oldinsetkey is still accepted and sets both, so saved presets, Export with Previous and existing MCP calls keep working. If both are given,insetX/insetYwin. Saved settings now write only the two new keys.tools.rs,headless.rs),docs/parity-checklist.mdanddocs/vertical-watermarks.mdupdated. Translations for the two slider labels added in all nine catalogs.cargo fmtreflowed two arrays from fix(export): expose all nine watermark positions and adjustable inset #833 (WM_POSITIONSand its test), becausefmt --checkincargo xtask cifails on them as written.Tests
watermark_insets_are_horizontal_and_vertical: each margin moves text along its own axis only. An oldinsetreads as both margins, a new key overrides it, and settings save and load back as the two margins.graphic_watermark_is_placed_scaled_and_blended: now also checks a graphic placed with different horizontal and vertical margins.watermark_params_are_validated: range errors forinsetX/insetY, and the key list in error messages.CI
cargo xtask cipasses exceptlightcraft-mcpe2eexport_progress_and_cancel, which fails the same way onmainon this machine (#674, fix in #668).Merge order note
This PR (and #847 on top of it) and #843 (watermark preview) both edit the watermark tests and the
LR-EXP-WATERMARKrow. Whichever lands second has a small conflict (keep both sides). I'll rebase whichever is second.🤖 Generated with Claude Code