Commit Graph
11425 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 89196404db Background Eraser: the Angle field drops its out-of-range flag whenever it is not being typed in
Clearing it on gained focus left a gap when focus arrived by keyboard
navigation; now any frame the field draws without focus clears it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:56:44 +01:00
David Mann f66bf92f42 Merge pull request #12190 from davidmann4/fix/11906-bg-eraser-alt-eyedropper
Background Eraser: Alt+click picks the foreground colour (#11906)
2026-11-07 23:54:39 +01:00
David Mann ebfd46de82 Merge pull request #12139 from hectorviov/fix/transform-relative-position
Free Transform: relative positioning toggle between X and Y (#11679)
2026-11-07 23:53:13 +01:00
David Mann 5e5884603c Merge pull request #12092 from yoriswind/codex/brush-behind-key-11894
Select Behind with Shift+Alt+Q for Brush and Pencil
2026-11-07 23:51:32 +01:00
David Mann 13d0d486e4 Merge pull request #12166 from hectorviov/fix/move-target-layer-default
Move tool: Auto-Select target defaults to Layer; dropdown lists Group, Layer (#11380)
2026-11-07 23:49:21 +01:00
David Mann 2385489d4f Merge pull request #12110 from hnoerenberg/fix/type-default-size-50pt-12051
fix(type-tool): start the type tool at 50 pt
2026-11-07 23:48:08 +01:00
Hector Villarreal 324489a66f Notes: default colour 255,255,131, popup at icon + (8,10) 240x140, local-time date; the popup keeps its size under transforms (#11795) 2026-11-07 16:47:19 -06:00
David Mann 8b1e614e7b Merge pull request #11856 from RickiNano/fix/11810-brush-reset-default-tip
Reset Tool gives the Brush a 13 px soft tip (#11810)
2026-11-07 23:45:04 +01:00
c751712a53 Merge origin/main into PR #5250 (Both Axes on the Scatter header)
Main added Brush Tip Shape Angle/Roundness tests and doc rows at the same places as
this PR's Scatter header tests and rows; both sides are kept, and the doc status
lines name both changes.

Co-Authored-By: augrclk <augrclk@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:45:02 +01:00
David MannandClaude Opus 5.5 8b3e769173 Background Eraser: drop a pending Tolerance alert when the field is entered again (#11909)
An out-of-range edit cut off by hiding the options bar no longer shows its
alert later, when the field is entered and left again without a change.
The caption scrub test now starts at 90 and checks that it reaches 100.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:44:07 +01:00
Hector Villarreal 8e003123df Perspective Crop: dim the image outside the quad with a shield (#11972)
The image outside a pending quad is covered by a grey shield at the
measured strength, painted as the canvas minus the convex quad and
following the quad while it is dragged. A quad that is not convex keeps
today's red outline without a shield.
2026-11-07 16:39:52 -06:00
David MannandClaude Opus 5.5 58978a5315 Background Eraser: refusal test in the UI uses Lock image pixels (#11905)
Lock transparent pixels no longer refuses the Background Eraser, so the
UI test for a refused stroke locks the image pixels instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:37:12 +01:00
David MannandClaude Opus 5.5 2a989225f6 Background Eraser: no alert for a caption scrub, strokes use the stored Tolerance (#11909)
A scrub of the Tolerance caption while the field has the keyboard stops at
the range's end without the alert. Strokes send the Tolerance as the field
stores it, so a restored fraction erases the same whether or not the
options bar has drawn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:33:56 +01:00
David Mann 977f80dc42 Merge origin/main into PR #9058 (raw: Hasselblad 3FR/FFF)
# Conflicts:
#	docs/gaps.md
2026-11-07 23:30:32 +01:00
David Mann 5d0c8ce8c3 Merge pull request #8140 from Tungtono/feat/psd-puppet-warp-2
PSD: Photoshop's Puppet Warp smart filter, drawn with the mesh the file stores
2026-11-07 23:29:51 +01:00
David Mann c976762718 Merge pull request #5238 from bommerts/codex/live-mixer-brush-delay
Render live painting and canvas navigation in the input frame
2026-11-07 23:26:29 +01:00
David Mann 0a184f4a60 Merge pull request #8261 from Korg1ch/fix/8230-fade-preview
fix(ui): live preview in the Fade dialog (#8230)
2026-11-07 23:24:45 +01:00
e80f242575 PR #9306: preview Path Selection drags on main's own drag code
The review on #9306 asked to build the live preview on main's Path
Selection dragging instead of a separate handler. A drag now draws the work
path, or the saved path selected in the Paths panel, where its release will
put it: the same whole-pixel offset and click threshold as
path_selection_finish (path_selection_offset, shared by both), and only the
selected components when some but not all are (path_components::
moved_selected, through the engine's own move_anchors). The document still
changes only on release, as one History step. A shape layer's or vector
mask's outline is not previewed: their pixels move only on release. A stale
drag (VectorGestureOwner) shows nothing, as its release moves nothing.

Co-Authored-By: FartmanAndBurps <FartmanAndBurps@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:23:59 +01:00
David Mann 27ea4eddbc Merge pull request #5269 from augrclk/fix/brush-tip-geometry-layout
Brush Settings: align Angle and Roundness left of the tip widget
2026-11-07 23:23:49 +01:00
David Mann 6c9031da01 Merge pull request #10429 from hectorviov/fix/path-selection-chords
Paths: ⇧⌥⌘↩ intersects the path with the selection (#7726)
2026-11-07 23:22:16 +01:00
David MannandClaude Opus 5.5 393390c479 Background Eraser: a new Angle entry starts without a stale out-of-range flag
An entry left uncommitted by a tool switch kept its flag, so focusing the
field again and pressing Enter without typing showed the alert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:22:07 +01:00
David Mann 50d9042e54 Merge pull request #10445 from hectorviov/fix/new-guide-arithmetic
New Guide takes arithmetic in its position, as in Photoshop (#10440)
2026-11-07 23:21:08 +01:00
David Mann 5967e6e7bc Merge pull request #8485 from david419kr/fix/persist-tool-colors
fix(ui): remember foreground and background colors between launches (Photoshop parity)
2026-11-07 23:20:15 +01:00
Hector Villarreal 321e306a8f Perspective Crop: the options bar's Cancel and Commit show only during a session (#11978) 2026-11-07 16:14:42 -06:00
Trevor BrownandClaude Fable 5.1 e2471998de File: Open as Smart Object... opens the same file dialog as Open and takes several files (#11678)
The menu item with no path asks with File > Open's dialog (multi-select) and opens each chosen file as its own document; failures are reported as File > Open reports them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-07 17:08:24 -05:00
David MannandClaude Opus 5.5 d61aa40aa4 Background Eraser Alt tests: right-drag, held drag, erase and resize checks
Adds an Alt+right-drag test (resizes, samples nothing), checks the
foreground while an Alt-drag is still held, that a plain click clears the
pixel, and that Control+Alt-drag changes the brush size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:06:00 +01:00
75bb7cea01 Merge origin/main into PR #9306
Main now drags paths through Path Selection's own code (path_ops.rs
path_selection_finish, path_components::move_selected) and drops a stale
vector drag through VectorGestureOwner, and vector_ui.rs is split into
tools/vector_ui/. The separate work_path_drag.rs handler is dropped here, as
the review on the PR asked; the next commit ports the live preview onto
main's code.

Co-Authored-By: FartmanAndBurps <FartmanAndBurps@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:04:27 +01:00
Trevor BrownandClaude Fable 5.1 5e583a3f9f File: Open as Smart Object... opens a file as a new document holding one embedded smart object (#11678)
New file.openAsSmartObject command (path or paths) and a File menu item after Open As.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-07 17:04:06 -05:00
Hector Villarreal 7159ab4265 Note tool: Clear All asks before deleting all notes; the step is named Delete all Notes (#11791) 2026-11-07 15:57:10 -06:00
David MannandClaude Opus 5.5 8f9643c932 Background Eraser: alert for an expression committed past the range, normalize a restored Tolerance (#11909)
An expression such as 50*4 is applied as the field is left, so the
out-of-range check now also counts the frame the field loses focus. A
restored setting (an older 0, a fraction) shows and erases as the field
would store it: a whole number in 1..100.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:54:47 +01:00
David MannandClaude Opus 5.5 c052e3f5ec Background Eraser: Alt+click picks the foreground colour (#11906)
Holding Alt with the Background Eraser now turns it into the Eyedropper
for that press, as with the Brush, Pencil, Gradient and Paint Bucket: a
click or drag sets the foreground colour, adds no history state and
changes no pixel, and the cursor shows the pipette. Control+Alt stays the
brush-resize gesture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:54:36 +01:00
David MannandClaude Opus 5.5 09aa750b1c Background Eraser: erase transparency-locked layers (#11905)
Like the reference application, a click or drag on a layer with Lock
transparent pixels on erases to transparency and leaves the lock on.
Lock image pixels and Lock all still refuse. The live preview mixes
dabs back without the lock so it shows what the commit does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:52:19 +01:00
Trevor BrownandClaude Fable 5.1 c1f630791a Open as Smart Object: tests (#11678)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-07 16:49:36 -05:00
David MannandClaude Opus 5.5 b697d52ca0 Background Eraser: Tolerance takes whole numbers 1-100 with an alert, bar tooltips (#11909)
The options bar's Tolerance field stores whole numbers in 1..100. A value
typed past the range becomes the closest one and, once the field is left,
an alert with OK says "An integer between 1% and 100% is required. Closest
value inserted." paint.backgroundEraser clamps tolerance to 1..100 and its
params doc says so. The brush chip, Limits, Tolerance and Protect
Foreground Color get the reference application's tooltips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:42:13 +01:00
David MannandClaude Opus 5.5 66fe90cbcb Background Eraser: Angle and Pressure for Size on the options bar (#11908)
The Background Eraser bar gets the Angle field (whole degrees, -180 to 180,
with the reference application's alert for a typed value outside that)
between Tolerance and Protect Foreground Color, and the Pressure for Size
toggle after it. Both edit the tool's own brush through tools.setBrush.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:33:40 +01:00
DuBearteandClaude Opus 5.5 8f40ec9181 Pencil: the Auto Erase checkbox shows its tooltip
Fixes #11968.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:30:48 -05:00
38b7064daa Gradient stops: a stop dragged the other way off the bar comes off too (#10823)
The reference application removes a colour stop dragged up past the
opacity stops and an opacity stop dragged down past the colour stops,
not only colour-down / opacity-up. The test that kept them now checks
that they are removed.

Co-Authored-By: ljkx <ljkx@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:17:47 +01:00
c951b80e27 Merge origin/main into fix/gradient-stop-drag-off (#10823)
#10797 landed the Gradient Map drag-off and a shared off_strip() on main.
Conflicts resolved to main's Gradient Map code and main's off_strip(): a
stop comes off the bar dragged up or down, as measured in the reference
application, so the PR's directional stop_dragged_off() is dropped and
Layer Style's Gradient Overlay uses off_strip() too.

Co-Authored-By: ljkx <ljkx@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 22:17:30 +01:00
AethelisDEV c7a4f6258e notices: format leftover blank lines 2026-11-08 00:00:22 +03:00
Hector VillarrealandClaude Opus 5.5 b62fb60596 Color Sampler: a drag whose release went to another tool no longer takes Escape (CodeRabbit review on crates/ui-egui/src/tools/analysis_ui.rs:1094)
A tool letter pressed mid-drag hands the release to the new tool, so the sampler
drag was never ended and the next Escape (Deselect, a toolbar flyout) was eaten
by it. The Escape hook now drops a sampler drag once the Color Sampler is no
longer the tool, and only consumes Escape while it still is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:51:38 -06:00
Hector VillarrealandClaude Opus 5.5 b6c1f68869 Color Sampler: no 11th marker preview at the 10-point limit (CodeRabbit review on crates/ui-egui/src/tools/analysis_ui.rs:489)
At the limit a drag off a point drew marker 11 following the pointer, though the
release cannot place it. The marker drawing now skips the new-point preview once
the document has MAX_SAMPLERS points; the release still reports the limit as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:50:46 -06:00
Hector Villarreal 920bf1b6a8 Count tool: History names Add/Drag/Delete Count Object, Add Count Group and one name per group setting (#11763) 2026-11-07 14:50:09 -06:00
David MannandClaude Opus 5.5 a91bc05a3d Format the merged test module list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 21:26:04 +01:00
David MannandClaude Opus 5.5 c5ebcd9dc7 Regenerate docs/scorecard.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 21:12:31 +01:00
David MannandClaude Opus 5.5 b6ab68ea3b Merge main into 3498
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 21:08:48 +01:00
David MannandClaude Opus 5.5 a11204c677 Background Eraser: Protect Foreground Color fades with the distance (#11903)
Protect Foreground Color skipped every pixel within the whole Tolerance of
the foreground colour, the sampled colour included, so with a foreground
near the sample nothing was erased at all. It now narrows the Tolerance to
the distance between the sampled colour and the foreground colour: the
sample is still erased, the protection fades towards the sample, and the
foreground colour and colours beyond it are kept, as the reference
application does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 21:04:55 +01:00
Hector Villarreal 0be6bd516f Color Sampler: points sit on the clicked pixel's centre (#11725) 2026-11-07 14:00:15 -06:00
Hector Villarreal 584e1c35aa Color Sampler: a new point lands where the drag ends, markers follow the pointer, a click on a point moves it, Escape cancels (#11729) 2026-11-07 13:59:54 -06:00
David MannandClaude Opus 5.5 3bc095040f Merge main into 11823
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 20:45:18 +01:00
d4f27c60fa #9348: only Clone Stamp and Healing Brush wrap in Pattern Preview
Measured in the reference application: in View > Pattern Preview the
Clone Stamp and Healing Brush carry a stroke on across the canvas edges.
Blur, Sharpen, Smudge, Dodge, Burn, Sponge, Color Replacement, Background
Eraser, Pattern Stamp and History Brush show "Symmetry and Pattern Preview
are not supported with this tool ... does not perform wrap-around" and
stop at the edge; Spot Healing stops at the edge too.

Keep the Healing Brush wrap (commit and live preview, through
periodic::stroke) and drop the wrap from the other tools: their commands,
WorkTiles' wrap tile, photocraft_paint::wrap and the canvas params go
back to main's code. Tests: the tiling checks stay for Clone Stamp and
Healing Brush; new tests check that the other tools' strokes, live and
committed, stop at the edge and that the canvas sends `wrap` only for
the two tools that wrap.

Co-Authored-By: VoiceLessQ <44067308+VoiceLessQ@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 20:40:29 +01:00