Commit Graph
16633 Commits
Author SHA1 Message Date
qvest-ssels ee10c0804e Color Settings: Blend Text Colors Using Gamma is a checkbox with a 1.00-3.00 field
Blend Text Colors Using Gamma was a 1.0 to 2.2 slider where 1.0 meant off, so turning it off and on lost a custom value. ColorSettings now keeps the field's value (blend_text_gamma, 1.00 to 3.00, two decimals) and the box (blend_text_gamma_on) apart; text_gamma() is what the compositor blends in (1 while the box is off), and the compositor takes up to 3.00. edit.colorSettings still takes a bool for blendTextGamma (the box alone) or a number in range (the value, and the box checked), plus blendTextGammaOn. The dialog shows the checkbox with the field beside it: typing a value checks the box, focusing does not, an out-of-range value alerts "A number between 1.00 and 3.00 is required. Closest value inserted." and an emptied field puts its value back. Settings saved as one number still load: 1 as the box off with 1.45, any other value as the box on with that value (#14243).
2026-11-26 17:22:41 +01:00
David Mann 038d035110 Merge queue batch #17085: #16401, #15961, #16961, #17062, #17068
Merge queue batch: 5 PRs (#16401, #15961, #16961, #17062, #17068)
2026-11-26 15:42:56 +01:00
David Mann 67c1dac04a Merge #17068 into the merge queue batch
Assign Profile: the layers question shows a warning icon (#16683)
2026-11-26 14:36:51 +01:00
David Mann a3289d1cd9 Merge #17062 into the merge queue batch
Layer > New: list Layer from Background or Background from Layer, not both (#16761)
2026-11-26 14:36:51 +01:00
David Mann 743d1b6c80 Merge #16961 into the merge queue batch
Package: skip PSD-embedded smart objects
2026-11-26 14:36:50 +01:00
David Mann da14de9dc3 Merge #15961 into the merge queue batch
fix(ui): the Burn tool's refusals are the reference application's alerts (#12672)
2026-11-26 14:36:50 +01:00
David Mann 549f77ed24 Merge #16401 into the merge queue batch
Fill and Stroke: Preserve Transparency greyed off on the Background, greyed on with locked transparency (#14651)
2026-11-26 14:36:49 +01:00
David Mann 4a4e3cff33 Merge queue batch #17021: #16972, #17008, #17010
Merge queue batch: 3 PRs (#16972, #17008, #17010)
2026-11-26 13:43:54 +01:00
David Mann dc7b9cabef Merge #17010 into the merge queue batch
Remove tool: a stroke on a Smart Object writes to a new edits layer
2026-11-26 12:37:37 +01:00
David Mann 40f290f5c5 Merge #17008 into the merge queue batch
Move tool: the arrow with a four-way cross (#16819)
2026-11-26 12:37:37 +01:00
David Mann 576cc90f5e Merge #16972 into the merge queue batch
fix(layer-style): the pattern field shows a swatch and its folders
2026-11-26 12:37:37 +01:00
David Mann 5399c579a2 Merge pull request #17016 from davidmann4/fix/prefs-dialog-layout
Preferences window laid out like the reference application (#17014)
2026-11-26 12:34:01 +01:00
x-labb a7cdd13677 fix(ui): the Burn tool's refusals are the reference application's alerts (#12672)
A Burn press on a hidden layer, a layer with Lock All or Lock Image Pixels, or a group
only said why in the status bar (or with a shared group text). The reference application
opens a modal alert with OK for each and changes nothing.

Adds the Burn tool to brush_refusal's tool_name table and counts Lock Image Pixels as
locked for it. Lock position still burns.
2026-11-26 12:30:38 +01:00
RickiNano 0a518cc46c Assign Profile: the layers question shows a warning icon (#16683)
The question Edit > Assign Profile asks on a document with layers now
shows the framework prompt's warning icon beside its text. The other
questions keep their look.

Fixes #16683
2026-11-26 10:37:40 +01:00
RickiNano d1f43d4472 Merge remote-tracking branch 'origin/main' into s572-16401
# Conflicts:
#	crates/ui-egui/src/dialogs/blend_options.rs
#	crates/ui-egui/src/dialogs/fill_ui.rs
#	crates/ui-egui/src/dialogs/fill_ui/tests.rs
#	crates/ui-egui/src/dialogs/stroke_ui.rs
#	crates/ui-egui/src/dialogs/stroke_ui/tests.rs
2026-11-26 10:23:47 +01:00
RickiNano 2e9222cc3d Layer > New: list Layer from Background or Background from Layer, not both (#16761)
Layer > New showed both entries, one of them greyed. The menu rows now keep
"Layer from Background..." while the document has a Background (or none is
open) and "Background from Layer" while it has none, in the same slot. The
menu bar, Help search and ui.menu.list all read these rows; the Keyboard
Shortcuts dialog keeps both commands so either can take a shortcut.

Fixes #16761
2026-11-26 09:22:23 +01:00
skylar taylor-barrick 558043fa1b Nightly: stop blocking a refused launch on macOS (#17046)
Nightly launch fix under Skylar's Exec 454: the Launcher's trailing `--` no longer reaches the file list where that applied, and a refused launch no longer blocks on macOS (the reason goes to stderr and the app exits 2).
2026-11-26 00:47:41 -06:00
skylar taylor-barrick 643a810fa2 Pin the nightly callers to craft-common-actions be00e5cc (#371) (#17033)
Merged under Skylar's explicit Exec 430 override. Moves every nightly pin from craft-common-actions be00e5cc to 8389cad8 (#375), which carries the Windows ctime rule that stops the signer refusing a just-written JSON.
2026-11-26 00:22:23 -06:00
Ian 49c76cf95d test: verify embedded package payloads 2026-11-25 21:54:19 -05:00
skylar taylor-barrick f0205ae336 Pin the nightly callers to craft-common-actions fc7124a1 (#369, #370) (#17025)
Merged under Skylar's explicit override (Nightly 792) after green CI, CodeRabbit on this head with no open threads, and an independent adversarial review with no blockers.
2026-11-25 20:20:06 -06:00
David MannandClaude Opus 5.5 8108ec8a30 test(i18n): the Preferences preview test checks OK, not the removed Apply button (#17014)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 02:47:17 +01:00
David Mann e2be7f4958 Merge remote-tracking branch 'origin/main' into fix/prefs-dialog-layout 2026-11-26 02:02:06 +01:00
David Mann c5aea7e75e Merge pull request #17028 from davidmann4/fix/17027-setup-window-args
Make the ui-egui library tests compile again (#17027)
2026-11-26 01:59:52 +01:00
David Mann 1d4ea41cea Merge remote-tracking branch 'origin/main' into fix/prefs-dialog-layout
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/engine-core/Cargo.toml
#	crates/ipp/Cargo.toml
2026-11-26 01:55:38 +01:00
David Mann b2debb0617 Merge pull request #17007 from davidmann4/fix/input-stage-stall
Agents: no UI freeze every 5 s from a refused token file (#17006)
2026-11-26 01:54:00 +01:00
David Mann 65fc820f1a Merge pull request #17020 from davidmann4/fix/artboard-transform-click-outside
Free Transform: in artboard documents a click outside the boards applies the box (#17019)
2026-11-26 01:41:29 +01:00
David MannandClaude Opus 5.5 735f15b492 Agents: move craft-libs to next with the token cache fix (#17006)
craft-libs 5c30761a (next, with craft-libs#3599): a settings change
(agents off and on, another port) reads the agent token file again
instead of reusing a token from an earlier failed start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 01:39:05 +01:00
David Mann 292e8ce69d Merge remote-tracking branch 'origin/main' into fix/input-stage-stall 2026-11-26 01:35:48 +01:00
David MannandClaude Opus 5.5 0cb83015b3 test(ui): pass the settings folder to setup_window in bar_cursor_tests (#17027)
#17012 added setup_window's fourth argument; this test, merged separately, still
passed three, so the ui-egui library tests did not compile on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 01:25:31 +01:00
David Mann 57535a8f8d Merge main into fix/prefs-dialog-layout 2026-11-26 01:17:27 +01:00
David MannandClaude Opus 5.5 cd91e8bb6e Pin craft-libs to next e1fcf7e17a (classic Preferences layout)
Moves every craft-libs rev to the tip of next, which carries
storytold/craft-libs#3581 (PreferencesLayout::Classic), and the egui patch to the
rev craft::egui_fork::REV names there (b9770908e0).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 01:17:15 +01:00
David Mann a5f2c31031 Merge pull request #17013 from davidmann4/fix/raw-develop-window
RAW Develop: sharp preview and a remembered window (#17012)
2026-11-26 01:10:46 +01:00
David Mann 6d5223e2a0 Merge pull request #16994 from superplay2021/fix/menu-bar-cursor
Menu bar: show the arrow over menu titles
2026-11-26 01:08:42 +01:00
David Mann fbeed0d238 Merge pull request #17018 from davidmann4/fix/color-picker-no-screen-eyedropper
Color Picker: no screen eyedropper button, as in the reference application (#17017)
2026-11-26 01:01:00 +01:00
David Mann 76b094f033 Merge main into fix/prefs-dialog-layout 2026-11-26 01:00:48 +01:00
David MannandClaude Opus 5.5 ab42a07c5a Free Transform: in artboard documents only a click outside the boards' bounding box applies the box (#17019)
Measured in the reference application with two boards, a hidden board and a
loose layer: a click applies the box only outside the bounding box of the
visible boards. Inside it the box stays open, also in the gap between two
boards and on a loose layer's pixels there; a hidden board does not count.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:46:08 +01:00
David MannandClaude Opus 5.5 45b84b64b5 docs: color-picker wording
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:25:17 +01:00
David MannandClaude Opus 5.5 9eb87d4adf color_picker_demo: open the text swatch by its current name
The Type options bar swatch is the "Text color" colour well now; the demo
still asked for "Set the text color" and panicked before its first image.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:24:57 +01:00
David MannandClaude Opus 5.5 09e1d1cb60 Agents: no UI freeze every 5 s from a refused token file (#17006)
Move craft-libs to the newest `next` (83a63bca, with craft-libs#3579)
and egui to the revision `next` pins (b9770908).

craft-libs#3579: the agent link no longer retries a refused token file
every 5 s from the UI thread (each try started whoami and PowerShell,
~300 ms), replaces a token file an older PhotoCraft wrote without
restricting it on Windows, and reuses the checked token when it retries
a taken port.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:21:56 +01:00
David MannandClaude Opus 5.5 b716f1b130 Preferences: the reference application's layout (#17014)
The window takes craft's classic preferences layout: the page list in a frame, no page
heading, titled groups as group boxes, and OK, Cancel, Prev and Next in a column at the
right, at the reference size. There is no Apply button any more; agents still apply
without closing through the control channel (`apply_window`), and the two tests that
clicked Apply now apply that way or press OK. A new test steps through the pages with
Prev and Next and checks they wrap.

Needs the craft-libs pin to include storytold/craft-libs#3581.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:18:51 +01:00
David Mann a135524f1d Merge remote-tracking branch 'origin/main' into fix/color-picker-no-screen-eyedropper
# Conflicts:
#	crates/ui-egui/src/dialogs/color_picker_ui.rs
2026-11-26 00:18:23 +01:00
David MannandClaude Opus 5.5 0202f45ddc Color Picker: no screen eyedropper button, as in the reference application (#17017)
The reference application's Color Picker has no eyedropper button; it samples
by a click on the canvas while the dialog is open, which PhotoCraft already
does. Build every full Color Picker dialog with eyedropper(false): the shared
launcher, the Layer Style picker and the text style picker (the last two never
served the button's press). Remove the dialog's unused screen-pick wiring,
update docs/color-picker.md and the color_picker_demo example. Compact
popovers keep their own screen eyedropper.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:17:53 +01:00
David Mann 79ce50ae47 Merge remote-tracking branch 'origin/main' into fix/raw-develop-window 2026-11-26 00:11:54 +01:00
David MannandClaude Opus 5.5 b0f7e86620 RAW Develop: sharp preview and a remembered window (#17012)
The full-resolution develop of the visible area was started but never
collected outside tests since the move to the craft UI framework, so the
preview stayed the up-scaled proxy. The source now wants the develop by
its order (unchanged settings keep it), the after picture collects it each
pass, and a reduced read averages texel blocks so Fit is served too.

PhotoCraft also gave the framework no window placement store, so the
RAW Develop window's remembered size and place saved nowhere. The runtime
install now keeps them in window.json in the settings folder.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:11:43 +01:00
hnoerenberg b22cd5627b test(retouch): size the Remove test buffers by their own types
`Surface::channels` already answers in usize, so casting it again is a
warning; the two rectangle widths are the values that need the step to
usize for a byte count.
2026-11-26 00:11:25 +01:00
David Mann bd939e3aff Merge remote-tracking branch 'origin/main' into fix/input-stage-stall 2026-11-26 00:02:27 +01:00
hnoerenberg e6af9c6d27 test(retouch): pin the Remove smart-object neighbours
The Smart Object case newly reaches paths that were refused before, and
the ticket leaves several of them unmeasured, so each is pinned to the
rule the rest of the tool already follows instead of left to be read out
of the code:

- Sample all layers over a Smart Object with a differently coloured layer
  beneath it: a layer is added either way, and only the option reads the
  composite, which the colour of the layer below shows in the fill.
- A linked Smart Object: the same path, and it stays linked.
- The "layer" parameter decides the path, not the active layer, in both
  directions.
- The next press after a removal belongs to the now-active edits layer
  and adds no second layer.
- A hidden Smart Object is refused before the rasterize question is
  reached: no prompt, no collected stroke, no layer, no history state.
- The card's Don't show again button is clicked, its dismiss key is read
  back from the preferences, and a later removal brings no card.

Two of these setups were wrong in the first run of this file: the
pixel-layer case used a Smart Object document, and the card button was
looked up by the wrong accessible name. Both are corrected here.
2026-11-26 00:01:00 +01:00
hnoerenberg b4cf5d20a0 fix(retouch): the Remove notice waits for the job's result
The notice about the new layer above a Smart Object was posted from the
result of the run call. On this desktop `paint.remove` runs as a
background job, so that call returns only the job number: the card never
appeared where users would see it, and only the inline path (the web
build, and the shell's own tests) ever showed it.

The removal now says in its own result when it wrote to a new layer above
a Smart Object (`smartObject`), and the interface reads that marker on
both paths: straight after an inline run, and in the job-end handler when
the job lands. A cancelled or failed removal has no such result and stays
quiet, and a plain Create new layer removal carries no marker, so nothing
else starts noticing.

Fixes #12555
2026-11-26 00:00:48 +01:00
David Mann d827906d6f Merge queue batch #17001: #14868, #16986
Merge queue batch: 2 PRs (#14868, #16986)
2026-11-25 23:49:52 +01:00
David MannandClaude Opus 5.5 f65c89eb7f test(ui): check the shown cursor at every title-bar sample
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 23:35:35 +01:00