Commit Graph
18216 Commits
Author SHA1 Message Date
David Mann b5bf348b05 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18160-move-drag-cursors 2026-12-01 18:01:59 +01:00
David MannandClaude Opus 5.5 5e274b4d1c Move tool: the Alt drag test reads the drag's arrowhead (#18160)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 18:00:07 +01:00
David Mann 7203ac71ea Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18161-reference-point-drag 2026-12-01 17:29:27 +01:00
David MannandClaude Opus 5.5 28cdbfc131 Move tool: drag the reference point into Free Transform (#18161)
With Show Transform Controls on, the Move box now has its reference
point. A drag that starts on the box centre opens Free Transform through
the existing hand-off and moves the reference point, not the layer; the
session is told to show its point so its own box carries the drag on.
A press elsewhere inside the box still moves the layer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 17:28:49 +01:00
David Mann 38180c8970 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into HEAD 2026-12-01 17:19:53 +01:00
David MannandClaude Opus 5.5 ca691f017e Move tool: arrowhead cursor while a drag runs (#18160)
A layer or pixels drag shows the small arrowhead with no four-way cross,
hollow for the layer that was already active or the selected pixels,
solid for a layer Auto-Select picked at the press; Shift and Alt alike.
The layer marquee keeps the hover cursor, and the hover inside the
transform box shows the arrow with the cross like the rest of the canvas.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 17:10:34 +01:00
David MannandClaude Opus 5.5 ca6c0d9d13 Move tool: a moved board takes in loose layers it covers (#18154)
auto_nest now also looks at the loose (top-level) layers when a board moves: each one with more
than a tenth of its area on a moved board joins it, on top of its stack, in the same Move step.
The Alt-drag copy goes through the same path, so the layer joins the copy. A Prevent Auto-Nesting
lock on the board or on the layer keeps it loose; layers of other boards are never taken.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 17:08:26 +01:00
David Mann 544bdeaa15 WIP: Move tool: arrowhead cursor while a drag runs (#18160) 2026-12-01 17:04:29 +01:00
David Mann 96be76c526 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18130-locked-nudge-alert 2026-12-01 17:03:29 +01:00
David MannandClaude Opus 5.5 eee2b42d5b Move tool nudge alert tests: name the lock case type for clippy (#18130)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 17:02:38 +01:00
David Mann e9e6b4d87a WIP: Move tool: drag the reference point into Free Transform (#18161) 2026-12-01 17:01:36 +01:00
David MannandClaude Opus 5.5 c14937595d Move tool nudge alert tests: compile fixes (#18130)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 16:46:43 +01:00
David MannandClaude Opus 5.5 736d5894ef Move tool: no hover outline on the active layer (#18433)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 16:44:37 +01:00
David MannandClaude Opus 5.5 c9ee61bbd7 Move tool: an arrow-key nudge of a locked layer opens its own alert (#18130)
An arrow key with the Move tool on a layer locked in place (Lock all,
Lock position, the Background) with no selection now opens an alert
that says the nudge could not be done, instead of only a status-bar
line. Further presses while it is open add no second alert. Several
layers and a selection keep today's behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 16:40:08 +01:00
David Mann df65a96dff WIP: Move tool: no hover outline on the active layer (#18433) 2026-12-01 16:39:04 +01:00
David Mann b9eee057cf Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18156-nest-locked-target 2026-12-01 16:34:53 +01:00
David MannandClaude Opus 5.5 260425817c Move tool: a layer dragged onto a board locked against auto-nesting goes to the top level (#18156)
A board with Lock > Prevent Auto-Nesting (or Lock All) takes no layer in. Until now auto_nest
then left the layer in its old board, drawn outside it and clipped away. Now the layer stays in
its own board only while it still overlaps it; otherwise it leaves for the top level, as in the
reference application. Locks on the layer or its own board still keep it in its board.

The #10218 test that expected the layer to stay in its board now expects the top level.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 16:26:11 +01:00
David Mann 0666aeefbc WIP: Move tool: locked-layer alert on an arrow-key nudge (#18130) 2026-12-01 16:25:12 +01:00
David Mann 289918f320 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18141-nudge-run-pause 2026-12-01 16:18:13 +01:00
David MannandClaude Opus 5.5 6df61942fb Move tool: Alt+drag of a linked layer copies its partners and moves only the copies (#18137)
The Alt duplicate runs layer.duplicate with the new withLinks flag: every layer linked to a
selected one is copied too, and the copies are linked only among themselves, so the move that
follows leaves the originals where they were, as in the reference application.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 16:08:52 +01:00
David MannandClaude Opus 5.5 5abd1c172d Prefs test: Reset restores the 5 s nudge pause default (#18141)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 15:52:42 +01:00
David MannandClaude Opus 5.5 d7349ffee9 Move tool: arrow nudges seconds apart stay one Nudge state (#18141)
The Tools Nudge Bundle Pause default goes from 1 s to 5 s, so taps a few
seconds apart are still one History state, as in the reference
application. A press on the canvas now ends the run even when it changes
nothing in the document, so the next nudge is a state of its own.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 15:41:44 +01:00
David Mann 0023cf370f WIP: Move tool: Alt+drag copies linked partners too (#18137) 2026-12-01 15:34:51 +01:00
David Mann c3f01f43bb Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18151-leave-board-top 2026-12-01 15:30:19 +01:00
David Mann d8aaec1a59 WIP: Move tool: arrow nudges seconds apart stay one Nudge state (#18141) 2026-12-01 15:29:37 +01:00
David Mann 7648a12367 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18131-lock-pixels-selection 2026-12-01 15:25:05 +01:00
David MannandClaude Opus 5.5 7477fd71ac Move tool: a layer leaving every artboard lands on top of the stack (#18151)
A layer the Move tool drags off every artboard now goes above every
other top-level layer, as the reference application does, instead of
directly above the board it left. Layers leaving together keep their
order.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 15:18:07 +01:00
David MannandClaude Opus 5.5 e13dedea03 Layers: locking an artboard switches to the Artboard tool (#18158)
A lock click in the Layers panel with an artboard among the selected
layers makes the Artboard tool current, as in the reference application.
Locking a normal layer, or a lock set by a command or action step, keeps
the tool.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 15:09:11 +01:00
David MannandClaude Opus 5.5 ba0ed09347 Move tool: refuse a drag of the selection on a pixel-locked layer (#18131)
With Lock image pixels and a selection, a Move-tool drag inside the selection
opens the Move tool's locked alert and changes nothing. Without a selection the
layer still moves as a whole; select.float and with it the arrow-key nudge keep
today's behaviour (not measured).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 14:52:25 +01:00
David Mann 6c4c7c7448 WIP: Layers: locking an artboard switches to the Artboard tool (#18158) 2026-12-01 14:40:44 +01:00
David Mann aaa6369277 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18152-join-board-by-area 2026-12-01 14:38:53 +01:00
David MannandClaude Opus 5.5 15068b2c17 Move tool: join an artboard holding more than a tenth of the layer (#18152)
A layer moved off its own board joins a board that holds more than 10 % of
its area, not only the board under its centre; with 10 % or less it goes to
the top level.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 14:38:25 +01:00
David Mann 7eacdd3409 WIP: Move tool: refuse moving a selection on a pixel-locked layer (#18131) 2026-12-01 14:37:10 +01:00
David Mann 9828546483 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18150-artboard-empty-spot 2026-12-01 14:33:25 +01:00
David Mann c0ef473423 Merge branch 'bb-move-tool-mx4onk76' of github.com:storytold/photocraft into bb-move-tool-mx4onk76--18138-group-locked-child 2026-12-01 14:13:48 +01:00
David MannandClaude Opus 5.5 e8ba9ef235 Move tool: clippy fixes in the group lock tests (#18138)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 14:13:16 +01:00
David MannandClaude Opus 5.5 3083c68250 Move tool: a press on an empty artboard spot picks nothing (#18150)
With Auto-Select on, a press on a spot of an artboard where no selectable
layer has pixels no longer picks the board: the pick returns nothing, so
the Move tool deselects every layer and moves nothing, as the reference
application does. A press on a layer's pixels on a board still picks the
layer (Group target: its top group below the board). The right-click layer
list still names the board.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 14:03:08 +01:00
David Mann 42b3a4f292 WIP: Move tool: a press on an empty artboard spot picks nothing (#18150) 2026-12-01 13:53:14 +01:00
David MannandClaude Opus 5.5 d2595e20b5 Move tool: refuse moving a group with a locked layer inside (#18138)
A Move drag or arrow nudge of a selection with a group whose own child has
Lock position or Lock all now moves nothing and opens an alert saying the
group contains a locked layer. An all-locked group or the Background in the
selection keeps the "layer is locked" alert. A locked layer two groups deep
and a child with only a pixel lock are not measured and keep moving along.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 13:51:44 +01:00
David MannandClaude Opus 5.5 9607ca9b91 Move tool: keep a layer in the artboard it still overlaps (#18140)
After a Move drag, auto-nest keeps a layer whose centre is on no board in
its own artboard while it still overlaps it; otherwise it joins the board
under its centre or the top level, as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 13:51:21 +01:00
David Mann dfa37adef2 WIP: Move tool: refuse moving a group with a locked layer inside (#18138) 2026-12-01 13:39:34 +01:00
David Mann 45b61cd7f3 Merge pull request #18543 from davidmann4/bb-epic-color-replacement-mx3tl41i
epic-color-replacement: 2 PRs (#17015, #18018)
v0.23.1-nightly.20261201.46676378520.1.g45b61cd7f322
2026-12-01 13:15:16 +01:00
David Mann 49a67e60a1 Merge queue batch #18692: #18622, #18623, #15757, #18660
Merge queue batch: 4 PRs (#18622, #18623, #15757, #18660)
2026-12-01 12:41:27 +01:00
David MannandClaude Opus 5.5 471cdf4646 Color Replacement: refuse an alpha channel or Quick Mask target at admission too
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 12:05:13 +01:00
David MannandClaude Opus 5.5 4674495026 Color Replacement: refuse an unpaintable target at admission, before a floating selection drops
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 11:57:31 +01:00
David MannandClaude Opus 5.5 07dc59dd75 Merge origin/main into the batch branch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 11:47:18 +01:00
David Mann 8b4698eaa0 Merge #18660 into the merge queue batch
Stack Mode: place None first with a separator below it (#18290)

# Conflicts:
#	crates/ui-egui/src/menu_catalog.rs
2026-12-01 11:46:39 +01:00
David Mann a617b585ae Merge #15757 into the merge queue batch
Test Keyboard Shortcuts and Menus tab layout (#15534)
2026-12-01 11:46:38 +01:00
David Mann 3d67255030 Merge #18623 into the merge queue batch
Warp: refuse several targets, a linked layer and a group (#18500)
2026-12-01 11:46:37 +01:00
David Mann 281b6cf569 Merge #18622 into the merge queue batch
Zoom: keep Zoom Out mode across Reset All Tools (#18191)
2026-12-01 11:46:37 +01:00