Commit Graph
12928 Commits
Author SHA1 Message Date
David Mann c8a651eeb3 Merge pull request #13913 from qvest-ssels/fix/fit-image-drops-selection-13856
Fit Image and Image Size drop the selection when they resample
2026-11-13 19:11:14 +01:00
qvest-ssels 70a1f99b31 Image Size test: expect the selection dropped, check Crop's resample keeps it
image_size_keeps_canvas_edges_opaque asserted the old behaviour (a scaled
full selection after Image Size). Image Size now drops it (#13856); the
corner check moves to resample_doc, which the Crop tool's W x H x
Resolution mode still uses.
2026-11-13 18:26:00 +01:00
.CooCoo 0e1bf698f3 Tests: the Smudge tool's hidden-layer alert in the Remove tool's tests (#13839)
#13527 made a Smudge press on a hidden target layer open the "Could not
use the smudge tool because the target layer is hidden." alert. #13187,
merged right after it, added the_other_tools_keep_their_message, which
still expected the status-bar error for the Smudge tool and fails on
main. The test now checks the Smudge tool's alert next to the Brush's.
2026-11-13 18:24:03 +01:00
qvest-ssels d6475da125 Fit Image and Image Size drop the selection when they resample (#13856)
Resampling to a new pixel size now drops the active selection instead of
keeping a scaled copy, as the reference application does. Undo restores
the old size and selection in one step. A Fit Image that changes nothing
and a resolution-only Image Size keep the selection. The shared
resample_doc helper (Crop tool) is unchanged.
2026-11-13 17:58:06 +01:00
David Mann de93ee2d38 Merge pull request #13396 from davidmann4/integration-mcp
Integration batch MCP: agents in the open PhotoCraft window, one switch in the ArtCraft Launcher (#11363, #5525)
2026-11-13 17:41:24 +01:00
David Mann 19c4632a18 Merge pull request #13797 from TrevorBrown-dev/fix/paths-ai-path-blocks-13780
Paths to Illustrator: each path is its own marked block, with a group and combine note per subpath (#13780)
2026-11-13 17:38:23 +01:00
David Mann eb726ecc4a Merge pull request #13795 from TrevorBrown-dev/fix/clut-cube-header-13750
Color Lookup Tables export: the CUBE file's comment layout and, for 8- and 16-bit documents, values on 1/32768 steps (#13750)
2026-11-13 17:38:09 +01:00
David Mann 85d713723d Merge pull request #13746 from ljkx/fix/13740-export-as-enter
Export As: Enter no longer starts the export (#13740)
2026-11-13 16:58:38 +01:00
David Mann e56668ee40 Merge pull request #13769 from TrevorBrown-dev/fix/automate-menu-groups-13704
File > Automate: Crop and Straighten Photos and Contact Sheet II each get their own separator group (#13704)
2026-11-13 15:35:18 +01:00
David Mann 1940153e65 Merge pull request #13744 from Bobderto/codex/export-as-srgb
Export As: default Convert to sRGB to on
2026-11-13 15:35:07 +01:00
David Mann 75a4455673 Merge pull request #12999 from slafebre/fix/12938-sharpen-protect-detail
Sharpen tool: Protect Detail sharpens gently instead of doing nothing (#12938)
2026-11-13 15:32:07 +01:00
FredApps 3665dbd5dc CI: use the shared git-sources check, Trunk install and gate for docs (#13376)
ci.yml's platforms job ran its own copy of the git-sources check; it is
now a git-sources job calling craft-common-actions git-sources.yml.
The web job downloads Trunk through the shared install-trunk action,
which checks the archive's SHA-256, instead of an unchecked curl.
docs.yml builds the book through the shared gate with a prebuilt mdBook
0.4.52, replacing a local job with an unpinned actions/checkout@v7.
2026-11-13 15:16:35 +01:00
David Mann f4ebab1aa3 Merge pull request #13757 from rmsff/fix/line-live-handles-13263
Line tool: end handles and a midpoint widget on the live line
2026-11-13 15:04:42 +01:00
David Mann 5031e79478 Merge pull request #13731 from rmsff/fix/ellipse-center-mark-13239
Ellipse tool: a centre mark on the live shape's box
2026-11-13 15:04:30 +01:00
David Mann ee7ca611e2 Merge pull request #13578 from TrevorBrown-dev/fix/13350-triangle-fills-box
Triangle tool: the shape fills the dragged box (#13350)
2026-11-13 15:04:19 +01:00
David Mann 300799b462 Merge pull request #13728 from wanikhawar/claude/github-issue-13370-5134a1
Triangle tool: Align Edges checkbox (#13370)
2026-11-13 15:04:08 +01:00
David Mann 4577c20e52 Merge pull request #13187 from rmsff/fix/remove-hidden-layer-message-12554
Remove: no message on a hidden active pixel layer
2026-11-13 15:03:56 +01:00
David Mann 9226bee0d5 Merge pull request #13603 from RickiNano/fix/11741-sampler-extras-hide
View › Extras hides the Color Sampler markers (#11741)
2026-11-13 15:03:44 +01:00
David Mann 2c29fc2cf1 Merge pull request #13527 from RickiNano/fix/12965-smudge-refusal-alerts
Smudge tool: a press on a hidden, locked or group layer opens an alert (#12965)
2026-11-13 15:03:32 +01:00
David Mann 858093640d Merge pull request #13532 from indy2kro/fix/13267-arrowhead-history-names
Line Properties: arrowhead edits are named in History (#13267)
2026-11-13 15:03:21 +01:00
David Mann adf849eb8b Merge pull request #13487 from ljkx/fix/12912-remove-only-split-restores-default-grid
engine: removing the only split of the Default warp grid restores it (#12912)
2026-11-13 15:03:10 +01:00
David Mann 0391fd88c4 Merge pull request #13124 from mlo0352/fix/clone-layer-source-and-preview
Fix Clone Stamp layer/document sources, preview strength and X/Y offsets
2026-11-13 15:02:58 +01:00
Trevor BrownandClaude Sonnet 5.5 56fe93fd71 Paths to Illustrator: each path is its own marked block, with a group and combine note per subpath (#13780)
paths_to_ai now writes one Path_Begin/Path_End block per path, one *u/*U group per subpath with its combine note and 1 XR, and no path name. A Join subpath takes the note of its component.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 09:01:51 -05:00
Trevor BrownandClaude Sonnet 5.5 d62728aeae Color Lookup Tables export: the CUBE file's comment layout and, for 8- and 16-bit documents, values on 1/32768 steps (#13750)
bake_cube_layers now takes the document's sample type, writes the reference
comment layout around the header, and rounds 8- and 16-bit values to
multiples of 1/32768. 32-bit values stay unquantised.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 08:59:46 -05:00
ljkx 1404739cc4 Export As Enter tests: open the dialog once the app's fonts are in
The harness draws a first frame as it is built, so a dialog opened before
setup_context was drawn with no fonts and panicked on its semibold title.
2026-11-13 14:46:00 +01:00
Sven Lafebre 61ae264e89 Merge remote-tracking branch 'origin/main' into fix/12938-sharpen-protect-detail 2026-11-13 14:42:55 +01:00
David MannandClaude Opus 5.5 309fdf1cde Address CodeRabbit review: document per-direction root overrides
In closed-app headless MCP mode, a given --automation-read-root or
--automation-write-root replaces the app's agent folder for that
direction only. Say so in control-protocol.md and mcp.md, and pin it
with a test for each direction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:19:38 +01:00
Trevor BrownandClaude Sonnet 5.5 e3a13a41e1 File > Automate: Crop and Straighten Photos and Contact Sheet II each get their own separator group (#13704)
Adds a separator after Crop and Straighten Photos and after Contact Sheet II, and removes the one between Lens Correction and Merge to HDR Pro, matching the measured reference order. Ids and order are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 08:14:14 -05:00
rmsff 07015f42d8 Test the Line tool's live line controls 2026-11-13 15:39:39 +03:00
rmsff 8b61ebd521 Show a live line's end handles and midpoint widget with the Line tool
The Line tool framed its active live line with the shape tools' axis-aligned box and eight handles. It now shows a handle at each end and a round widget at the midpoint instead, and with an arrowhead the box aligned with the segment and its side handles. The ends still scale the line as the box's corner handles there did; the hidden handles and sides take no press. The box for the other tools, and for other shapes under the Line tool, is unchanged.
2026-11-13 15:39:39 +03:00
Dan 9c847c867a Import the accessibility test node trait 2026-11-13 12:38:33 +00:00
Dan 1571cb5d32 Exercise the saved JPEG preset through the dialog 2026-11-13 12:34:23 +00:00
Dan ce4885876d Verify Export As color conversion and saved choices 2026-11-13 12:32:31 +00:00
ljkx 32ec0b2ea0 Export As: Enter no longer starts the export (#13740)
Export As starts only from a click on its Export button, as in the reference
application: Enter, with no text field taking it, leaves the dialog open. Enter
in Scale, Width or Height still commits the field, and Escape still cancels.
Every other dialog keeps Enter = OK.
2026-11-13 13:32:30 +01:00
David Mann 0b15ad2401 Merge pull request #13660 from ljkx/fix/12933-quick-selection-group-target
Quick Selection: a group active without Sample All Layers selects the brush disc (#12933)
2026-11-13 13:32:20 +01:00
David Mann e5d9b839c4 Merge pull request #13684 from rmsff/fix/direct-selection-shift-angle-13207
Direct Selection: a shallow Shift anchor drag stays on the axis
2026-11-13 13:32:09 +01:00
David Mann 398f6e16a0 Merge pull request #13301 from rmsff/fix/healing-alt-cursor-12113
Healing Brush: Alt shows the fixed target cursor at any tip size
2026-11-13 13:31:57 +01:00
Dan fa29149dfb Default Export As to Convert to sRGB 2026-11-13 12:30:07 +00:00
David MannandClaude Opus 5.5 28c3a53367 docs(mcp): the open-window entry names the closed-app choice
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 13:29:57 +01:00
David MannandClaude Opus 5.5 94082119f1 docs(mcp): say when plain mcp is headless and that --headless always is
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 13:17:58 +01:00
rmsff db34089f12 Test the Ellipse tool's centre mark 2026-11-13 15:03:41 +03:00
rmsff 97220f6698 Show a centre mark on the Ellipse tool's shape box 2026-11-13 15:03:41 +03:00
David MannandClaude Opus 5.5 19f040a6ae docs(mcp): plain mcp uses the open window only with the AI-MCP flag
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:36:40 +01:00
David MannandClaude Opus 5.5 dbd2cd1628 fix(mcp): plain mcp stays headless without the AI-MCP flag; integrations read leniently
- Without the AI-MCP flag plain `photocraft-cli mcp` is headless as before: a
  Control Port saved before the agents switch no longer makes it look for the
  app, start it or apply When PhotoCraft Is Closed. Test in
  mcp_without_consent_works_headless (fails without the gate).
- `prefs::read_integrations_section` (migrate + lenient read) is shared by the
  app's launch read and `photocraft-cli mcp`: one bad value resets only itself,
  so a saved "error" closed-app choice no longer falls back to Launch in the CLI.
  Replaces the app's hand-written per-field reader. Test in
  integrations_come_from_the_saved_preferences_or_default (fails without it).
- docs/development.md: the headless client examples pass --headless.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:36:22 +01:00
Trevor BrownandClaude Sonnet 5.5 87ee062e41 Merge remote-tracking branch 'upstream/main' into fix/13350-triangle-fills-box
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-13 05:53:44 -05:00
e5dfa6bd0d PR #13124: use as_chunks_mut in the off-canvas resample test
Clippy's chunks_exact_to_as_chunks lint rejects chunks_exact_mut(4) under
-D warnings; main uses as_chunks_mut for the same pattern.

Co-Authored-By: mlo0352 <mlo0352@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 11:52:26 +01:00
ljkx bf4b20b025 Quick Selection: a frame active keeps reading the composite
A frame is a group too, but the reference application was not measured
with one active, so it keeps today's behaviour, as an artboard does.
2026-11-13 11:43:08 +01:00
Khawar Zamman Wani 9d666973b2 Reset Tool restores the shape tools' Align Edges (#13370) 2026-11-13 16:04:43 +05:30
Khawar Zamman Wani fd351562b9 Triangle Align Edges tests: import NodeT for accesskit_node 2026-11-13 16:04:43 +05:30
Khawar Zamman Wani a6f63f3ee0 Triangle tool: Align Edges checkbox, on by default, greyed outside Shape mode (#13370)
The Triangle tool's options bar gets an Align Edges checkbox, saved with the
tool options and on by default. It is enabled in Shape mode and greyed in Path
mode. With it off, a Triangle drag in Shape mode keeps the drag's fractional
coordinates; with it on, or greyed, the box snaps to whole pixels as before.
The other shape tools keep snapping.
2026-11-13 16:04:43 +05:30