Commit Graph
17400 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 8ddbee2c25 Fill: colour fills in 8-bit Monotone documents take the grey value (#17478)
swatch_in_doc now converts swatches in an 8-bit Monotone document as well,
through a gamma 2.2 grey, which fits the reference application's measured
values there (200,30,30 -> 104, 30,30,200 -> 64, 140,140,140 -> 139) where
sGray (the Grayscale document's curve) gives 61 and 140. Duotones with more
inks and 16-bit Duotones were not measured and keep the luma.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 02:32:04 +01:00
David MannandClaude Opus 5.5 51c85c8f1e Test: the Free Transform style test uses a yellow Stroke
Its Grayscale cases need the Stroke apart from the blue fill. With the fill
now written as the measured grey (70), the red Stroke's luma grey (76) came
too close; yellow stays apart in every mode and keeps the RGB checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 01:36:52 +01:00
David MannandClaude Opus 5.5 57e7779ed8 Fill: Color and Foreground Color convert to the Grayscale document's grey (#17469)
In a Grayscale document Edit > Fill with Color or Foreground Color wrote the
colour's plain luma (blue gave 29). Both now go through swatch_in_doc as
Background Color already did (blue gives 70; the reference measured 69).
Picked CMYK inks are still matched on the colour as picked, and other modes
are unchanged.

The fill-layer test no longer expects a Grayscale Solid Color layer to equal
Edit > Fill; the layer was not measured and keeps its luma grey.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 00:56:57 +01:00
David Mann 6517a37a30 Merge queue batch #18004: #14127, #14838, #17984, #17985
Merge queue batch: 4 PRs (#14127, #14838, #17984, #17985)
2026-11-29 23:53:50 +01:00
David Mann 858c24e62e Merge #17985 into the merge queue batch
Name Quick Mask indication changes in History
2026-11-29 22:39:08 +01:00
David Mann 82109723ac Merge #17984 into the merge queue batch
Character panel: anti-aliasing select at the bottom (#17958)
2026-11-29 22:39:07 +01:00
David Mann f368ef6b2f Merge #14838 into the merge queue batch
Keyboard Shortcuts: one Undo button that steps the last key change and turns into Redo (#14314)
2026-11-29 22:39:06 +01:00
David Mann 8dd510400e Merge #14127 into the merge queue batch
New Document: Background Contents comes before an Advanced Options section holding Color Profile (#14035)
2026-11-29 22:39:03 +01:00
Dylan M. Taylor 2ed3a2159d ci(sonarcloud): give each main commit its own concurrency group (#17997) 2026-11-29 16:35:38 -05:00
David Mann 2f27dea9b0 Merge queue batch #17986: #13476, #14807, #17972, #17982
Merge queue batch: 4 PRs (#13476, #14807, #17972, #17982)
2026-11-29 22:22:37 +01:00
David Mann 761c7fe4a9 Merge #17982 into the merge queue batch
fix(ui): name the targeted channel in the document tab title (#17711)
2026-11-29 21:15:41 +01:00
David Mann 20bf93d7d7 Merge #17972 into the merge queue batch
Name Layer Arrange history steps after their commands
2026-11-29 21:15:41 +01:00
David Mann 10d8a1b344 Merge #14807 into the merge queue batch
Grey Global Light in a document whose only layer is the Background
2026-11-29 21:15:40 +01:00
David Mann 2700a1332c Merge #13476 into the merge queue batch
Add Stroke Emboss to the Bevel & Emboss style menu
2026-11-29 21:15:39 +01:00
David Mann 61da85d1fa Keyboard Shortcuts: one Undo button that steps the last key change and turns into Redo (#14314)
Main's dialog is craft-libs' shared one; craft-libs#4263 gave it
Options::undo = UndoButtons::Toggle, which PhotoCraft now turns on. The test
records a key over Copy's in the detail pane, then steps it with the one
button: Undo gives the key back and the button reads Redo, Redo puts it back.
2026-11-29 21:13:01 +01:00
David Mann 9f8344e0a8 Merge main into fix/shortcut-undo-button: main's shared Keyboard Shortcuts dialog replaces the one this branch changed 2026-11-29 21:11:07 +01:00
David Mann b62d349dab Merge remote-tracking branch 'origin/main' into pr14127 2026-11-29 21:05:32 +01:00
David Mann 96e386b925 Merge pull request #11859 from DuBearte/fix/11803-perspective-crop-snap
fix(ui): a Perspective Crop drag from the pasteboard starts at the canvas edge (#11803)
2026-11-29 21:03:59 +01:00
BFlat 71bc742294 Merge pull request #17447 from ruchirguitar/digits-indic-10996
Type: draw digits in an Indic script, Western or by the letters before them (#10996)
2026-11-30 02:19:15 +07:00
David MannandClaude Opus 5.5 24738d4dd4 Perspective Crop: snap the drag start through the framework (#11803)
Main moved the tool's press and drag handling into craft-libs, so the
app-side snap_start is gone. storytold/craft-libs#4274 put the rule in
the framework's PerspectiveCropTool, which snaps through the canvas's
Snap the app already gives. Pin craft-libs at its current main, which
carries it, and port the tests to the new tool: a drag from beyond a
corner starts at it (also while dragging), one near an edge starts on
it, one inside or outside on one axis stays, Snap or Document Bounds
off changes nothing, and clicked corners stay put.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 20:00:19 +01:00
David Mann 6bc655d35f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/tools/perspective_crop_ui.rs
2026-11-29 20:00:19 +01:00
David Mann 10ff03fe6d Merge queue batch #17943: #14693, #17291, #16476, #14516, #17930, #17859, #17948, #17950
Merge queue batch: 8 PRs (#14693, #17291, #16476, #14516, #17930, #17859, #17948, #17950)
2026-11-29 19:59:37 +01:00
Dan 223951088e Name Quick Mask indication changes in History 2026-11-29 18:58:29 +00:00
RickiNano 2386258aef Character panel: anti-aliasing select at the bottom (#17958)
The Character panel had no anti-aliasing control; it lived only in the
Properties panel's Type Options section and the Type › Anti-Alias menu.
The panel now ends with a select under an "aa" mark: the seven methods
in menu order, the Windows ones after a separator, showing the selected
layer's method (or the Type tool's option without a type layer).

A pick goes through the same apply_bar_events path as Type Options:
type.antiAlias.* on every selected type layer as one history step, or
only the Type tool's option, with no document edit, when no type layer
is selected. Properties keeps its single select in Type Options.
2026-11-29 19:48:22 +01:00
kubuntugamer 0cfb216b86 fix(ui): keep the Background's tab title on the mode name (#17711)
#17711 leaves the Background active unmeasured, and naming the targeted
channel changed its title from "(RGB/8)" to "(Red/8)". Only a pixel layer
names its channel; the Background keeps the mode, as before.
2026-11-29 12:32:35 -06:00
bflatastic 45b2b55493 Type: the perturbed character style sets digits too (#10996) 2026-11-30 01:28:52 +07:00
kubuntugamer fc61bdeae7 fix(ui): name the targeted channel in the document tab title (#17711)
The tab says "(Top, RGB/8)" while an alpha channel or one colour channel is
targeted, and drops the layer's name in Quick Mask mode. Photoshop names the
paint target there: the alpha channel's own name, the colour channel's, or the
Quick Mask after the layer.
2026-11-29 11:55:56 -06:00
David Mann 8f74db0d9a Merge #17950 into the merge queue batch
Disable New Channel in Bitmap documents
2026-11-29 18:27:46 +01:00
David Mann 5b05233055 Merge #17948 into the merge queue batch
Layer navigation: Alt+[ and Alt+] wrap around the ends of the stack (#17631)
2026-11-29 18:27:45 +01:00
David Mann d5b3dcaf19 Merge #17859 into the merge queue batch
View: use whole screen PPI for Print Size (#17829)
2026-11-29 18:27:45 +01:00
David Mann 30e7223927 Merge #17930 into the merge queue batch
Disable View Zoom Out at the document minimum
2026-11-29 18:27:44 +01:00
David Mann 37c44857a6 Merge #14516 into the merge queue batch
History Brush and Art History Brush: a one-layer source paints any pixel layer (#12620)
2026-11-29 18:27:44 +01:00
David Mann f028c8fc6d Merge #16476 into the merge queue batch
Vertical Type tool: its own glyph, a T with a downward arrow (#12062)
2026-11-29 18:27:43 +01:00
David Mann 5e313aa243 Merge #17291 into the merge queue batch
Layers: Enhance edge and the reference's groups in the layer mask thumbnail menu (#16782)
2026-11-29 18:27:42 +01:00
David Mann 7ffdfd95ac Merge #14693 into the merge queue batch
Eyedropper: Shift+click adds a colour sampler, Shift+Alt+click deletes one (#11748)
2026-11-29 18:27:42 +01:00
David Mann cf0753ad7b Merge pull request #17947 from davidmann4/fix/options-bar-tool-arrow-centred
Options bar: centre Home, the tool icon and its arrow on the bar's line (#17946)
2026-11-29 18:26:35 +01:00
David MannandClaude Opus 5.5 cad60d14d8 Merge origin/main into fix/13413-bug-photocraft-stroke-emboss-is
Main's craft-libs pin (9ad1dbf, #17809) already contains craft-libs#4160
and fixes the paper list and Preferences tests on its own, so those sides
come from main; the Preferences "Limit to" label is dropped for main's fix.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 18:06:34 +01:00
FredApps a24a1cb7ad Adopt retained UI registrations and paint storage (#17809)
* Adopt merged retained UI and paint storage across PhotoCraft

* Adapt UI inspections and preference labels to the shared revision

* Share retained-paint text inspection across UI tests
2026-11-29 18:02:25 +01:00
Dan 5ed12cbb27 Name Layer Arrange history steps after their commands 2026-11-29 16:58:29 +00:00
David MannandClaude Opus 5.5 d296eea8b1 Options bar: centre Home, the tool icon and its arrow on the bar's line (#17946)
The lead is a memoized view, and a memoized view's children take no slots on the
bar's row line: they stood at the top of the view, Home and the tool icon about
6 px above the options after them and the small arrow higher still. The lead's
members now sit in a row of their own, as PaintBar's do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 17:24:28 +01:00
Dan 006484af36 Disable New Channel in Bitmap documents 2026-11-29 16:13:30 +00:00
RickiNano e00e598af2 Layer navigation: Alt+[ and Alt+] wrap around the ends of the stack (#17631)
Select Layer Below on the bottom row of the Layers panel now selects the
top row, and Select Layer Above on the top row the bottom one, as in the
reference application. Adding the layer above or below to the selection
(Alt+Shift+[ / ]) still stops at the ends, since that case wasn't
measured.
2026-11-29 17:06:30 +01:00
David MannandClaude Opus 5.5 932d1e5aef WIP: centre the options bar's tool arrow beside the tool icon (#17946)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 17:05:27 +01:00
David Mann db731507eb Merge queue batch #17936: #14041, #17886
Merge queue batch: 2 PRs (#14041, #17886)
2026-11-29 16:47:35 +01:00
Dan c59546f08b Keep the Zoom Out rule export clear of the Fade menu change 2026-11-29 14:54:46 +00:00
Dan 52f73590c9 Refresh the drawn menu when entering or leaving minimum zoom 2026-11-29 14:48:47 +00:00
Dan 883ffd5d29 Draw the in-window View menu in the regression harness 2026-11-29 14:48:05 +00:00
David MannandClaude Opus 5.5 4b0a6cbd07 Paper list test scrolls up as well as down to reach a row
With the newer craft-libs pin the Print dialog's paper list opens
scrolled to the chosen paper and ends on its last whole row, so A4 sits
above the view when Custom is chosen. reveal() now scrolls down to the
end, then up to the top, before it gives up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 15:38:27 +01:00
David Mann a3fc971484 Merge #17886 into the merge queue batch
Name the Transform Again history step
2026-11-29 15:32:29 +01:00
David Mann 347274b022 Merge #14041 into the merge queue batch
Layers to Files: an adjustment layer gets its own file, like an empty layer (#13966)
2026-11-29 15:32:29 +01:00