A guide already on the canvas, moved with the Move tool (or with Ctrl/Cmd and another tool), kept
following the pointer: `handle_move_pointer` (canvas/tool_input.rs) called `GuideDrag::track`,
which never looked at Shift.
- `GuideDrag::follow_pointer`: with Shift the guide goes to the ruler tick nearest the pointer,
with the same `snap_to_tick` as a ruler drag. The tick is taken from the pointer before
View › Snap moved it (`unsnapped(raw)`), as a ruler drag never calls `snap_guide`, and that
move's snap lines are cleared. It goes through `track`, so a guide ⌥ turns (#5034) snaps along
the axis it now runs on.
- The release is judged by the pointer (`GuideDrag::pointer`), not by the tick: let go where it
was pressed, the guide is clicked (selected); let go off the document, it is removed. Off the
document a Shift move doesn't snap, and a tick past the document's edge leaves the guide on it.
- `snap_tick`: in a pixel ruler Shift snaps no closer than a whole pixel (guides out of a ruler,
moved guides, the zero point). Deep in, a pixel ruler labels every 5, 2 or 1 px, so its minor
ticks were 0.5, 0.2 or 0.1 px apart and Shift put guides between pixels.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A surface drag moves the cylinder without touching its shape, however narrow;
the bend handle shifts both arcs' depths by the same amount and a depth past
the limit is kept as it is rather than clamped by a press; a stored warp is
edited only when its source could be previewed without it, else the box keeps
a fresh mesh as before; the depths and wrap of a cylinder are compared with a
dimensionless tolerance; the parity row names the placements that keep a
stored cylinder editable. Also the explicit imports main now requires.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
The cylinder is outlined and cut into a 3 × 2 grid (two horizontal curves and
the centre line) that hugs the warped picture. The handle in the middle of the
upper arc sets the bend of both arcs, the one in the middle of the lower arc the
lower edge's height, and the wrap handle sits at the grid's centre and slides to
the right (starting 15 % along), stretching the middle of the picture and
squeezing its sides round the back.
A smart object's stored warp used to enter Warp mode with the layer's already
warped render as the preview texels, which the mesh then warped again, so the
picture never sat on the grid: the session now previews the source placed
without the warp over the warp box. Edit › Transform › Warp carries a check
while the active layer is warped, as the reference's does.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
As a maintainer compared it with the reference application: Bend, H and V stay
in the bar, greyed (no Top/Bottom/Wrap fields); the starting cylinder has its
four corners on the box and both curves 50 % deep; five handles (the top-right
and bottom-left corners, the front of each curve, a wrap handle near the middle
dragged sideways); a drag on the surface moves the whole cylinder; the overlay
is the two curves and the centre line, not a grid.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
The Warp menu lists Cylinder after the presets (not on type). Picking it starts
a cylinder fitted to the box; handles set its seven values: the corners move a
silhouette and an edge, the middle of a silhouette moves it alone, the middle of
the top and bottom edge sets that ellipse's depth, and a drag across the surface
turns the contents round the cylinder. The options bar shows Top, Bottom and
Wrap in place of Bend, H and V, with Split, Grid and the orientation switch
greyed. The warp stays a cylinder through the commit, so a smart object keeps it
as `warpCylinder`.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Conflicts:
- crates/ui-egui/src/panels/options_bar.rs: main added Brush tooltips
(#11813) and made Opacity a whole_percent_field (1-100) with tip();
this branch moved Hardness (and the `fixed` binding) up beside Size so
Opacity follows Mode (#9784). Kept main's tooltip/Opacity/Flow code and
only removed its Hardness/`fixed` lines after Mode, since the branch
now draws them right after Size.
- docs/ui-parity.md: status line is main's with this PR's entry
("painting tools' options bar shows Opacity right after Mode in every
theme, #9784") added first and Last updated 2026-11-09; revision
history keeps this PR's row and all of main's new rows.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Actions panel rows carried a drag payload that only the reorder drop understood, so dropping a row on the footer trash or on Create new action did nothing. The footer buttons now take the drop (the trash deletes the dragged row, the plus duplicates it right after itself) through shared delete_row and duplicate_row helpers that also keep the selection and disclosure rows right, with a hover highlight and the same recording rules as the buttons. Tests drive real pointer drags for step and action rows onto both buttons, a drop on empty space, and a drop on the trash while recording.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove and briefed; Sonnet 5.5 wrote at medium
Conflict only in the docs/ui-parity.md status line: kept both entries.
Co-Authored-By: ljkx <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#9970 reopened Image > Adjustments > Photo Filter... at the filter, colour,
density and Preserve Luminosity of its last OK. Measured in the reference
application: after OK at 60, 70 and 74 %, with a preset or with Color and a
custom colour, it reopens every time at Warming Filter (85), the orange
swatch and 25 %; only Preserve Luminosity carries over (off after an OK with
it off, on after an OK with it on). Opening now starts from the neutral
settings and takes just that one value from the last OK; Alt still reopens
at all the last settings (#8900). Tests and the ui-parity row follow the
measured behaviour.
Co-Authored-By: ljkx <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#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 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflict: docs/ui-parity.md status line keeps main's Reset Transform entry
and #9648's.
Co-Authored-By: ljkx <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
In the reference application's filter dialogs (measured with Unsharp Mask)
a press on the image centres the preview window there, but dragging on
afterwards leaves it: neither the held moves nor the release move it. The
locator here followed the drag, on the canvas and through ui.pointer. Now
only the press centres it, so the held-press state ui.pointer kept across
requests (__pvPointerDown, clear_pointer_state) is gone, and the tests
check that a drag stays where it was pressed.
Co-Authored-By: ljkx <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflicts: canvas.rs and dispatch.rs keep main's Gradient Overlay drag and
sampler release_taken_drag next to the preview locator; cursors.rs keeps
main's cached Paint Bucket cursor beside preview_locator_cursor; ui-parity.md
keeps both status lines and revision rows.
Co-Authored-By: ljkx <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
main added preferences since the PR's last merge, so the toolColors field now
makes it 10 of 195 settings that do nothing (was 10 of 194 on main); the
ui-parity preference row follows the scorecard.
Co-Authored-By: GyoJoong Kum <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
`docs/ui-parity.md`'s status line conflicted: the branch and main each
prepended a clause at the head of the change list, and the branch also
carried the newer `Last updated` date. The merged line keeps main's
toolbar tool-memory clause (#3569) word for word after our Reset
Transform clause (#11662), with one `Change:` header and the later date.
Review finding on this PR (#11675, discussion_r4499346688): with the warp now cleared as part of
the reset, a smart object whose stack holds a visible filter this build cannot apply took the
Free Transform path's forgiving branch - `refresh_layer` returns false for that stack,
`refresh_text` drops it on the floor, and `restore_unrendered` put the OLD cache back warped by
the relative map. The step recorded a placement at 100 % with no warp whose pixels still showed
the warp.
The step now insists on the guarded refresh the other smart-object edits use:
- `unapplied_filters` is checked before anything changes, so an unsupported Photoshop filter kept
verbatim from a PSD names itself in the error and the document is never touched.
- `refresh_or_fail(doc, id)?` runs at the reset boundary, right after `transform_by_map` and
before the exact map is pinned. It is a cache-warm call in the normal case (same document state
as the render `transform_by_map` just did), and it refuses an unreadable source or a render that
fails outright. Because `Session::edit` runs its closure on a copy and returns early on `Err`,
a refused reset leaves the document, the placement, the warp and the history list exactly as
they were - the fallback pixels are never accepted.
Regression test `reset_transform_refuses_a_stack_it_cannot_re_render` (red before this commit:
the reset returned Ok) asserts the error names the filter, that transform, warp and filter stack
are unchanged, that no history state was added, and that the same object resets normally once the
unsupported filter is off the stack. The four existing reset tests still pass, so the success
path and its warp clearing are unchanged.
No new dependency; photocraft_io's UNSUPPORTED_FILTER was already re-exported by this module.
The ui-parity row, its revision entry and the status line said the Warp survives Reset Transform.
It does not: measured against the reference application 2026-11-06 (report in #11675), the warp is
cleared with the rest of the transform, and the object centres on the average of the placement's
four corners. A 2026-11-07 revision row records the correction; the 2026-11-06 entry stays as the
history of what landed when.
cargo xtask parity and scorecard re-run: unchanged (661 of 661 live), so nothing to regenerate.
cargo xtask parity and cargo xtask scorecard regenerated: 661 of 661 menu items
live, Layer 162 of 162. A ui-parity row for the command and the Layers panel
row-menu item, with the revision entry and the status line (#11662).
The range bar's handles moved one at a time. As in Photoshop 2025,
dragging between them moves them together: the fully-on span moves all
four, the left or right fade its own two. A side stops at the other and
the range never passes a turn. One history step per drag.
Co-Authored-By: Claude Opus 5.5 <[email protected]>