Merge remote-tracking branch 'origin/main' into HEAD

# Conflicts:
#	docs/ui-parity.md
This commit is contained in:
David Mann committed 2026-11-06 22:58:10 +01:00
commit 482e167e98
255 files changed
+41823 -1469

No files matched your search

+17 -2
View File
@@ -146,7 +146,7 @@ row; the action still adds only one Undo entry.
| `CtTL` | cutToLayer | Layer Via Cut | `layer.new.layerViaCut` |
| `LnsF` | lensFlare | Lens Flare | `filter.render.lensFlare` |
| `Lvls` | levels | Levels | `image.adjustments.levels`, `image.autoTone`, `image.autoContrast` |
| `Mk ` | make | Make | `image.calculations`, `layer.layerStyle.createLayer`, `layer.new.layer`, `layer.new.group`, `layer.groupLayers`, `layer.duplicate`, `layer.new.layerViaCopy`, `layer.new.layerViaCut`, `layer.newFillLayer.solidColor`, `layer.newFillLayer.pattern`, `layer.newAdjustmentLayer.levels`, `layer.newAdjustmentLayer.curves`, `layer.newAdjustmentLayer.hueSaturation`, `layer.newAdjustmentLayer.brightnessContrast`, `layer.newAdjustmentLayer.threshold`, `layer.newAdjustmentLayer.posterize`, `layer.newAdjustmentLayer.invert`, `layer.newAdjustmentLayer.colorBalance`, `layer.newAdjustmentLayer.vibrance`, `layer.newAdjustmentLayer.exposure`, `layer.newAdjustmentLayer.photoFilter`, `layer.newAdjustmentLayer.blackWhite`, `layer.newAdjustmentLayer.channelMixer`, `layer.newAdjustmentLayer.selectiveColor`, `layer.newAdjustmentLayer.gradientMap`, `layer.layerMask.revealAll`, `layer.layerMask.hideAll`, `layer.layerMask.revealSelection`, `layer.layerMask.hideSelection`, `file.new`, `file.newFromClipboard`, `history.newSnapshot`, `type.convertToShape`, `type.createWorkPath` |
| `Mk ` | make | Make | `image.calculations`, `layer.layerStyle.createLayer`, `layer.new.layer`, `layer.new.group`, `layer.groupLayers`, `layer.duplicate`, `layer.new.layerViaCopy`, `layer.new.layerViaCut`, `layer.newFillLayer.solidColor`, `layer.newFillLayer.pattern`, `layer.newFillLayer.gradient`, `layer.newAdjustmentLayer.levels`, `layer.newAdjustmentLayer.curves`, `layer.newAdjustmentLayer.hueSaturation`, `layer.newAdjustmentLayer.brightnessContrast`, `layer.newAdjustmentLayer.threshold`, `layer.newAdjustmentLayer.posterize`, `layer.newAdjustmentLayer.invert`, `layer.newAdjustmentLayer.colorBalance`, `layer.newAdjustmentLayer.vibrance`, `layer.newAdjustmentLayer.exposure`, `layer.newAdjustmentLayer.photoFilter`, `layer.newAdjustmentLayer.blackWhite`, `layer.newAdjustmentLayer.channelMixer`, `layer.newAdjustmentLayer.selectiveColor`, `layer.newAdjustmentLayer.gradientMap`, `layer.layerMask.revealAll`, `layer.layerMask.hideAll`, `layer.layerMask.revealSelection`, `layer.layerMask.hideSelection`, `file.new`, `file.newFromClipboard`, `history.newSnapshot`, `type.convertToShape`, `type.createWorkPath` |
| (string ID only) | animationFramesFromLayers | Make Frames from Layers | |
| (string ID only) | matchColor | Match Color | `image.adjustments.matchColor` |
| `Mxm ` | maximum | Maximum | `filter.other.maximum` |
@@ -189,7 +189,7 @@ row; the action still adds only one Undo entry.
| (string ID only) | smartBrushWorkspace | Select and Mask | `select.refineEdge` |
| (string ID only) | autoCutout | Select Subject | `select.subject` |
| `SlcC` | selectiveColor | Selective Color | `image.adjustments.selectiveColor` |
| `setd` | set | Set | `select.all`, `select.deselect`, `select.reselect`, `select.loadSelection`, `select.rect`, `select.lasso`, `select.editInQuickMaskMode`, `tools.setColors`, `layer.setProps`, `layer.renameLayer`, `layer.setLabelColor`, `layer.setAdjustment`, `layer.fill.pattern.set`, `layer.new.layerFromBackground`, `layer.layerStyle.blendingOptions`, `layer.smartFilter.blendingOptions` |
| `setd` | set | Set | `select.all`, `select.deselect`, `select.reselect`, `select.loadSelection`, `select.rect`, `select.lasso`, `select.editInQuickMaskMode`, `tools.setColors`, `layer.setProps`, `layer.renameLayer`, `layer.setLabelColor`, `layer.setAdjustment`, `layer.fill.pattern.set`, `gradient.fill.set`, `layer.new.layerFromBackground`, `layer.layerStyle.blendingOptions`, `layer.smartFilter.blendingOptions` |
| (string ID only) | adaptCorrect | Shadows/Highlights | `image.adjustments.shadowsHighlights` |
| `Shrp` | sharpen | Sharpen | `filter.sharpen.sharpen` |
| `ShrE` | sharpenEdges | Sharpen Edges | `filter.sharpen.sharpenEdges` |
@@ -752,6 +752,21 @@ differences that do not change what a step does.
`forceNotify`) and default flags (`MkVs` false, `Adjs` false) are not written back.
- An adjustment layer's values equal to the defaults are not written back (other values are).
- Colours are kept as 8-bit values (51.0031 becomes 51); gradient names become "Custom".
- A loaded Gradient Fill Make or Set (`gradientLayer`) saves back as the recorded descriptor until
it is edited. Otherwise it is written from the params: `#rrggbb` stops on 1/4096 locations and
whole-percent midpoints; a Set also needs its transparency stops, as the event replaces the whole
gradient. Midpoint k is the `Mdpn` of stop k + 1 (the first stop's is 50). A Noise gradient,
smoothness below 100 %, a non-classic interpolation, a transparency midpoint, a midpoint outside
5..95 %, transparency stops out of range or out of order, and a Set without transparency stops stay
Photoshop steps.
- Blend If (`Blnd` in a layer Set) loads as `layer.layerStyle.blendingOptions`. With only the
Blending Options dialog's keys (`Opct`, `fillOpacity`, `Md `, `Blnd`, the Advanced checkboxes, and
the `Lefx` = {`Scl `} its OK records on a layer without effects) the Set is one step and saves back
as one Set; with any other key, those go through `layer.setProps`. Slider values are whole levels
0..255 in order, `SrcB`/`Srcl`/`SrcW`/`Srcm` for This Layer and `DstB`/`Dstl`/`DstW`/`Dstt` for
Underlying Layer (black low, black high, white low, white high; measured in the dialog). The gray
channel saves as `Chnl.Gry`; a `Chnl.Cmps` entry loads as gray and saves as `Gry`, as the
application's own dialog writes it back.
- Levels and Curves write the composite as `Chnl.Cmps` (the application skips `Ordn.Trgt`, #8543).
### Classic Gradient recordings
+5 -4
View File
@@ -55,7 +55,7 @@ The transport is `apps/photocraft/src/control_server.rs`, and the handlers are i
- `ui.set` also accepts `camTransformOnDrop` (boolean), the Content-Aware Move tool's Transform On Drop checkbox: a drop then puts a scale/rotate box on the patch (`ui.inspect` › `camTransform`: its document/revision, drag `offset` and `frame`), driven with `ui.pointer` (handles as Free Transform's; outside the box rotates), committed with `ui.key Enter` (one `paint.contentAwareMove` with `scaleX`, `scaleY`, `rotate`) or dropped with `Escape`.
- `ui.set` also accepts `tileGrid` (boolean), a developer overlay of the active layer's storage tiles: the tile grid over the document, every stored tile filled and labelled `tx,ty`, tiles with identical pixels in a shared colour and unique ones in blue. It has no menu item and View › Extras doesn't hide it. `ui.inspect` reports it as `view.tile_grid`.
- `ui.set` also accepts `strokeTrace` (`true`, `false`, `"stderr"` or `"off"`): turn the stroke latency trace on or off at runtime; each stroke's summary is in `ui.inspect` `perf.strokeTrace`. A CSV file of every frame is set only at launch (`PHOTOCRAFT_STROKE_TRACE=<file.csv>` / `--stroke-trace <file.csv>`): the control channel doesn't write files outside the automation write root
- `ui.set` also accepts `layerFilter` (#5048), the Layers panel filter row: `{by?, kinds?, name?, effect?, mode?, attribute?, color?, smart?}`, any subset. `by` is `kind`, `name`, `effect`, `mode`, `attribute`, `color`, `smartObject` or `artboard` (the filter-type dropdown); `kinds` lists the Kind toggles that are on (`pixel`, `adjustment`, `type`, `shape`, `smart`); `name` matches part of a layer name, ignoring case; `effect` (#10880) is `bevelEmboss`, `stroke`, `innerShadow`, `innerGlow`, `satin`, `overlay` (Color, Gradient or Pattern Overlay), `outerGlow` or `dropShadow`, and lists the layers with that effect turned on; `mode` is one of the 27 layer blend modes (`Multiply`, `Screen`), not Pass Through, which the Mode list doesn't offer (#10878); `attribute` (#10881) is `visible`, `locked`, `empty`, `linked`, `clipped`, `layerMask`, `vectorMask`, `layerEffects` or `advancedBlending`, or one of their opposites `notVisible`, `notLocked`, `notEmpty`, `notLinked`, `notClipped`, `noLayerMask`, `noVectorMask`, `noLayerEffects`, `noAdvancedBlending`; `color` is a layer colour label id (`none`, `red`, `orange`, `yellow`, `green`, `seafoam`, `blue`, `indigo`, `magenta`, `fuchsia`, `violet`, `gray`; #5898); `smart` lists the Smart Object toggles that are on (`linked`: linked to a file, `missing`: linked to a file that was not there when the app last looked, `embedded`). Kind, Name and Smart Object filter only once a toggle is on or text is typed; Effect, Mode, Attribute and Color always filter, by Bevel & Emboss, by Normal, by Visible and by no colour at first, as in Photoshop. Artboard has no field of its own: it lists the artboards that hold the selected layers, with everything inside them (closed groups stay closed), and does not filter when nothing is selected or a selected layer is in no artboard. Fields left out keep their value; a bad one is an error and changes nothing.
- `ui.set` also accepts `layerFilter` (#5048), the Layers panel filter row: `{by?, kinds?, name?, effect?, mode?, attribute?, color?, smart?}`, any subset. `by` is `kind`, `name`, `effect`, `mode`, `attribute`, `color`, `smartObject`, `artboard` or `group` (the filter-type dropdown); `kinds` lists the Kind toggles that are on (`pixel`, `adjustment`, `type`, `shape`, `smart`); `name` matches part of a layer name, ignoring case; `effect` (#10880) is `bevelEmboss`, `stroke`, `innerShadow`, `innerGlow`, `satin`, `overlay` (Color, Gradient or Pattern Overlay), `outerGlow` or `dropShadow`, and lists the layers with that effect turned on; `mode` is one of the 27 layer blend modes (`Multiply`, `Screen`), not Pass Through, which the Mode list doesn't offer (#10878); `attribute` (#10881) is `visible`, `locked`, `empty`, `linked`, `clipped`, `layerMask`, `vectorMask`, `layerEffects` or `advancedBlending`, or one of their opposites `notVisible`, `notLocked`, `notEmpty`, `notLinked`, `notClipped`, `noLayerMask`, `noVectorMask`, `noLayerEffects`, `noAdvancedBlending`; `color` is a layer colour label id (`none`, `red`, `orange`, `yellow`, `green`, `seafoam`, `blue`, `indigo`, `magenta`, `fuchsia`, `violet`, `gray`; #5898); `smart` lists the Smart Object toggles that are on (`linked`: linked to a file, `missing`: linked to a file that was not there when the app last looked, `embedded`). Kind, Name and Smart Object filter only once a toggle is on or text is typed; Effect, Mode, Attribute and Color always filter, by Bevel & Emboss, by Normal, by Visible and by no colour at first, as in Photoshop. Artboard has no field of its own: it lists the artboards that hold the selected layers, with everything inside them (closed groups stay closed), and does not filter when nothing is selected or a selected layer is in no artboard. Group (#10883) has no field of its own either and filters at once: it lists every group that is not an artboard with everything inside it (the groups inside an artboard too), and hides the layers that are in no group; each group stays open or closed as it is. Fields left out keep their value; a bad one is an error and changes nothing.
- `ui.set` also accepts the Histogram panel: `histogramPanel` `{view?, channel?, showChannelsInColor?, showStatistics?, source?}` (any subset, kept with the preferences): `view` is `compact`, `expanded` or `allChannels`; `channel` is `composite`, `red`, `green`, `blue`, `cyan`, `magenta`, `yellow`, `black`, `a`, `b`, `luminosity` or `colors` (one the document's mode lacks shows as its composite); `source` is `entireImage`, `selectedLayer` or `adjustmentComposite` (Entire Image is counted in Compact View, when the document has one layer, or when no adjustment layer is selected for Adjustment Composite). `histogramRange` is `[from, to]` (levels 0..255) or `null`: the dragged tonal range whose Count and Percentile the statistics show. `histogramRefresh: true` is Uncached Refresh: the current state is recounted at cache level 1. `ui.inspect` › `histogram` reports the options, the channel and source as they apply, the channels the document offers, whether the shown histogram is `current` (counted for the document's revision, source and cache level the panel wants now), its `cacheLevel`, `maxCacheLevel` (Preferences › Performance › Cache Levels), `preview` (an adjustment's preview is counted) and `stats` (`mean`, `stdDev`, `median`, `pixels`, `level`, `count`, `percentile`, `clipped` percent at 0 and 255). Histograms are counted while the panel is shown.
- Each painting tool keeps its own brush, as in Photoshop: `tools.setBrush` and `ui.set {brushSize}` change the active tool's brush, and switching tools swaps in that tool's own (size, hardness, mode, opacity, flow, dynamics, smoothing). A tool used for the first time starts from the brush in hand. The colours, the erase flag and the stroke seed stay shared. So `ui.set {tool: "eraser", brushSize: 12}` sets the Eraser's size, and `ui.set {tool: "brush"}` afterwards brings the Brush's own size back.
- Brush Pose's `pose.overrideTiltX` and `pose.overrideTiltY` are independent booleans. For example, `engine.execute {"command":"tools.setBrush","params":{"pose":{"enabled":true,"tiltX":45,"overrideTiltX":true,"overrideTiltY":false}}}` fixes X at 45° while Y follows the stylus. Pose tilts are degrees (±90); the Brush Settings panel displays percentages (±100). Old stored `overrideTilt` values migrate to both axes. In command patches, `overrideTilt` sets both axes unless an explicit axis field in the same patch overrides it. `brush.get` includes both axis flags and the legacy combined readback (`overrideTilt` is true only when both flags are true). Axis-only journals omit that derived combined key so replay retains the other axis. Present flag values must be booleans; null and other types return an error.
@@ -65,6 +65,7 @@ The transport is `apps/photocraft/src/control_server.rs`, and the handlers are i
- `ui.set` also accepts `cropFill` (`background`, the Fill dropdown's first entry, which reads Background (default), or Transparent (default) with Delete Cropped Pixels off, or `contentAware`), the Crop tool's Fill dropdown (#3823, #10872): with `contentAware`, committing a turned or extending frame passes `contentAware: true` to `image.crop`, which fills the area the image doesn't cover from its surroundings. `ui.inspect` reports it as `toolOptions.crop_content_aware`.
Both gradient modes use the current preset, including its opacity stops. Select `Foreground to Transparent` through `gradient.presets.select`, or pass custom `stops` and `transparency: [[0,100],[1,0]]` (location 0..1, opacity 0..100). Use `applyToLayer: false` to edit only the tool preset. Classic gradient drags dispatch `paint.gradient` without overriding them.
- `ui.set` also accepts the Crop tool's gear menu (#1919) as `cropShield`, an object patching any of `show_cropped_area` (Show Cropped Area; off hides everything outside the box behind the canvas colour, H in the app), `enabled` (Enable Crop Shield), `color` (`matchCanvas`, the pasteboard colour, or `custom`), `custom_color` (`[r, g, b]`, 0..255), `opacity` (0..100, default 75), `auto_adjust` (Auto Adjust Opacity: half the opacity while the box is dragged), `classic_mode` (Use Classic Mode, default off: the box turns and moves over the image; off is Photoshop's default mode, where the box stays upright and the view turns and pans the image behind it while the Crop tool shows a frame, P in the app; in both modes picking the tool turns a rotated view upright about its centre, Classic Mode keeping the camera upright with the frame drawn turned, and the view stays upright after a commit or cancel; Classic Mode greys out Show Cropped Area, which then acts as on, and Auto Center Preview) and `auto_center_preview` (default on: in default mode a box being resized keeps its centre where it is on screen, also after a pan, a drawn one moves to the middle of the canvas, and X re-centres it; a move never re-centres the box). `ui.inspect` reports it as `toolOptions.crop_shield`. The pending frame (`crop_rect`, `crop_angle`: its turn on the image) and the `image.crop` a commit runs are the same in both modes.
- The contextual task bar (#10890) is the small floating bar under the Crop tool's frame: a grip, the crop preset dropdown (the options bar's), Straighten, a ⋯ menu (Hide bar, Reset bar position, Pin bar position) and, while a crop is pending, Cancel and Done (the options bar's cancel and commit). It sits centred under the frame with its top 11 points below the frame's bottom edge, follows the frame, and stays inside the canvas area; dragged by its grip or pinned, it stays where it is. `ui.inspect` › `taskBar` reports `enabled` (Window › Contextual Task Bar, `window.panel.contextualTaskBar`), `visible` (a bar shows now), `rect` (its screen rect `[x0, y0, x1, y1]` in points, `null` while hidden), `pinned` and `at` (its top-left in points from the canvas area's top-left once dragged or pinned, `null` while it follows the frame). `ui.set {"panels": {"context_task_bar": false}}` hides it (as Hide bar does) and `true` shows it; `ui.set {"panels": {"task_bar": {"pinned": true}}}` pins it where it is (`"at": null` with it first puts it back under the frame), `{"pinned": false, "at": null}` is Reset bar position, and `at: [x, y]` places it; a field left out keeps its value. Both are kept with the panel layout across restarts.
- `ui.dialog.open {kind, fields?}` (kinds `newDocument`, `about`, `layerStyle {effect?}`, `colorPicker {target: foreground|background}`, `command {command}` (`layer.new.group` / `layer.new.groupFromLayers` open the New Group dialog: fields `name`, `color`, `mode`, `opacity`), `newCropPreset` / `deleteCropPreset`: the Crop tool's New / Delete Crop Preset… dialogs, fields `name` and `selected: [names]`; crop presets are `crop` tool presets, so `tool.presets.new/list/edit {"tool":"crop"}` drive them too) / `ui.dialog.set {dialog, field, value}` / `ui.dialog.confirm {dialog, wait?}` / `ui.dialog.cancel {dialog}`. Like `ui.menu.invoke`, `ui.dialog.confirm` waits for a background job its command starts (a filter dialog's OK) and replies with the result; `"wait": false` replies `{job, pending: true}` at once
- A Layer Style color field opens the shared picker with `ui.dialog.open {"kind":"colorPicker","parent":12,"effect":"fx2","field":"color"}`. `parent` is the Layer Style dialog id; `effect` is its effect instance id. `field` must be one of that instance's color parameters (`color`, or `from`/`to` for Gradient Overlay). The picker previews over the pending style without changing the document. Picker OK changes only the parent parameter; Cancel discards the preview. Confirm the parent afterwards to apply the style. Parent confirmation is refused while its picker is open; parent cancellation closes both. The binding is exposed in `ui.inspect` as `__layerStyleColor`; changed/closed targets or a document switch invalidate it.
@@ -87,10 +88,10 @@ The transport is `apps/photocraft/src/control_server.rs`, and the handlers are i
- Image › Adjustments › Curves on top, no eyedropper armed (#7325): a `down` with `command: true` adds a point on the curve the dialog shows (its Channel popup), at the pixel's tone (RGB: Rec. 709 luma; Gray: the mean) and at the curve's current output there, so the preview does not change; with `shift: true` as well, one point on each of Red, Green and Blue at that channel's value. It samples the merged image like the eyedroppers, never moves an existing point (a point already within 2 levels is selected instead, a 16-point curve takes no more), and the tool is not driven. Nothing is added with a pencil-drawn curve, in Lab or CMYK, or with a mask, saved channel or Quick Mask targeted.
- Levels or Curves adjustment layer, Properties eyedropper armed (`layerPicker` in `ui.inspect`: `{layer, point, tool}`, set by the panel's Set Black/Neutral Gray/White Point buttons): a `down` sets that point from the image below the layer as one `layer.setAdjustment {"layer", "eyedropper": {"point", "at": [x, y], "size"}}` (send that command directly to skip the UI) and the tool is not driven; Esc, another tool or another layer disarms it.
- With a painting tool, Shift+right-click (without Alt, Ctrl or Command) opens that tool's menu, as in the reference application, even when right-click painting is set to Erase: Edit Brush… (opens the Brush Preset picker at the click) and then the tool's own Mode list from its options bar. Brush and Pencil: Edit Brush…, the painting modes with Behind and Clear; Clone Stamp, Pattern Stamp, History Brush: Edit Brush…, the blend modes; Mixer Brush, Color Replacement, Background Eraser, Blur, Sharpen, Smudge: Edit Brush… only; Eraser: Brush / Pencil / Block; Dodge and Burn: Edit Brush…, Shadows / Midtones / Highlights; Sponge: Edit Brush…, Desaturate / Saturate; Healing Brush: its blend modes; Gradient: the blend modes; Paint Bucket: the blend modes with Clear. Other tools (Spot Healing Brush, Magic Eraser, non-painting tools) keep their plain right-click route. `ui.inspect.brushModeMenu` reports its screen position, `tool`, current `mode` (the checked row's label), `choices` (the row labels, in order) and `items` (`{label, enabled, checked}` or `{separator: true}`); Behind and Clear are disabled on the Background layer. Pick a row with `ui.click`, or with `ui.context.choose {id}` where `id` is the row's English label from `choices` (an unknown or disabled row is an error that changes nothing). A row sets what the tool's options-bar control sets: a brush-based tool's blend mode goes through `tools.setBrush`; the Eraser, Range, Sponge, Gradient and Paint Bucket rows set the tool option. Clear has the same painting-only erase meaning as the options bar. Escape, an outside press or a tool change closes the menu without changing the brush or document.
- `ui.click {x, y, button?, count?}` / `ui.move {x, y}`: synthetic pointer input in screen points (`button`: `left` (default), `right` (or `secondary`) or `middle`). `count` (default 1, `2` for a double-click) is at most 256; a larger one is an error and queues nothing
- `ui.click {x, y, button?, count?}` / `ui.move {x, y}`: synthetic pointer input in screen points (`button`: `left` (default), `right` (or `secondary`) or `middle`). `count` (default 1, `2` for a double-click) is at most 256; a larger one is an error and queues nothing. `x` and `y` lie within ±1,000,000 points (off-window is fine); a larger magnitude is an error naming the field
- `ui.key {key, command?, shift?, alt?, ctrl?}` (flags may also be grouped under `modifiers`): press and release a key, e.g. `{"key": "ArrowLeft", "shift": true}`. `{"key": "AltLeft"}` is a tap on Alt, which puts the keyboard on the in-window menu bar (then `ArrowRight`, `ArrowDown`, `Enter`, `Escape` or a menu's letter drive it); `{"key": "F", "alt": true}` opens the menu with that mnemonic (#4988)
- `ui.pointer`, `ui.click`, `ui.move`, `ui.key` and `ui.screenshot` validate every parameter before acting, as `ui.set` does: an unknown field (top-level, under `modifiers` or in an event), a value of the wrong JSON type (`"x": "abc"`, `"ctrl": "yes"`), a `button`, `kind`, `tool` or `key` outside the accepted set, or a number outside its range (`pressure`, tilt, `rotation`, `count`) is an error naming the parameter, and nothing is queued or applied. A `null` field counts as omitted and takes its default
- `ui.pointer`, `ui.click`, `ui.move`, `ui.key` and `ui.screenshot` validate every parameter before acting, as `ui.set` does: an unknown field (top-level, under `modifiers` or in an event), a value of the wrong JSON type (`"x": "abc"`, `"ctrl": "yes"`), a `button`, `kind`, `tool` or `key` outside the accepted set, or a number outside its range (`pressure`, tilt, `rotation`, `count`, the `ui.click`/`ui.move` `x`/`y`) is an error naming the parameter, and nothing is queued or applied. A `null` field counts as omitted and takes its default
- Engine commands (`engine.execute`, `photocraft-cli run`, MCP `command_run`) reject a param key their `params` doc does not name for the commands listed in `STRICT` (`crates/engine/src/param_check.rs`, today `layer.hideLayers` and `layer.showLayers`): `{"ids":[4]}` is the error `unknown parameter \`ids\` (expected: layer)`, and nothing runs. Other commands still ignore unknown keys until their `params` doc is complete and they are added to that list (`coalesce` and `target` are always accepted).
- `ui.type {text}`: type text (goes to the focused widget, or to the canvas while the Type tool is editing)
- `ui.resize {width, height}`: resize the main window
@@ -251,7 +252,7 @@ The shape is pinned by a test in `crates/automation/src/rpc.rs` (#3684).
### Background jobs (#210)
Long commands (every `filter.*`, `edit.contentAwareFill`, `edit.contentAwareScale`, `file.automate.photomerge`, `brush.presets.importAbr`), file opens, file places (`file.placeEmbedded` / `file.placeLinked`, File › Place and files dropped on the canvas: the file is read, decoded and resized on the worker, the layer is inserted when the job lands and Free Transform starts then) and interactive saves (File › Save, Save As and the TIFF Options continuation, #2017) run as background jobs in the desktop app: the window keeps drawing, the status bar shows progress with a Cancel button, and jobs that lock the active document show a modal progress dialog (Esc cancels; a place shows its progress in the status bar only, so the view stays free to pan and zoom). `engine.execute`, `ui.menu.invoke`, `ui.dialog.confirm` and `app.save` still wait for the result by default; pass `"wait": false` to get `{job, pending: true}` at once, then poll `jobs.list` (`state`: running, done, failed, cancelled; `progress` 0–1; the result or error) and stop it with `jobs.cancel {job}`. A cancelled or failed job leaves the document unchanged; a folder Batch can already have written earlier output files. A cancelled Batch has `state: "cancelled"` with its partial `result` in `jobs.list`; a waiting control request receives `{"ok":false,"error":"cancelled","result":…}`, and an MCP call through the app bridge gets the error `cancelled; partial result: {…}`. A Batch already asked to stop, or past its last input, is listed with `reason: "finishing"`. A save that has started replacing its file can no longer be cancelled: `jobs.cancel` leaves it running and lists it in `notCancelled: [{job, reason: "committing"}]` (next to `cancelled`, the number of jobs it did cancel); the save then ends as done or failed like any other. Closing its document doesn't stop it either. While a job runs, commands that would edit its document fail with "… is still running on this document". `ui.inspect` reports `jobs` (running jobs, opening files, saving files, the file being placed). Set `PHOTOCRAFT_INLINE_JOBS=1` to run everything inline.
Long commands (every `filter.*`, `edit.contentAwareFill`, `edit.contentAwareScale`, `file.automate.photomerge`, `brush.presets.importAbr`), file opens, file places (`file.placeEmbedded` / `file.placeLinked`, File › Place and files dropped on the canvas: the file is read, decoded and resized on the worker, the layer is inserted when the job lands and Free Transform starts then) and interactive saves (File › Save, Save As and the TIFF Options continuation, #2017) run as background jobs in the desktop app: the window keeps drawing, the status bar shows progress with a Cancel button, and jobs that lock the active document show a modal progress dialog (Esc cancels; a place shows its progress in the status bar only, so the view stays free to pan and zoom). `engine.execute`, `ui.menu.invoke`, `ui.dialog.confirm` and `app.save` still wait for the result by default; pass `"wait": false` to get `{job, pending: true}` at once, then poll `jobs.list` (`state`: running, done, failed, cancelled; `progress` 0–1; the result or error) and stop it with `jobs.cancel {job}`. A cancelled or failed job leaves the document unchanged; a folder Batch can already have written earlier output files. A cancelled Batch has `state: "cancelled"` with its partial `result` in `jobs.list`; a waiting control request receives `{"ok":false,"error":"cancelled","result":…}`, and an MCP call through the app bridge gets the error `cancelled; partial result: {…}`. A Batch already asked to stop, or past its last input, is listed with `reason: "finishing"`. A save that has started replacing its file can no longer be cancelled: `jobs.cancel` leaves it running and lists it in `notCancelled: [{job, reason: "committing"}]` (next to `cancelled`, the number of jobs it did cancel); the save then ends as done or failed like any other. Closing its document doesn't stop it either. While a job runs, commands that would edit its document fail with "… is still running on this document". `ui.inspect` reports `jobs` (running jobs, opening files, saving files, the file being placed). Set `PHOTOCRAFT_INLINE_JOBS=1` to run everything inline. The web build has no threads: there a file place is the only job, and it runs a few milliseconds per frame on the UI thread (the same progress, cancel and result); every other command is inline.
## Preferences
+89 -19
View File
@@ -113,6 +113,8 @@ the opted-in test; an unset variable leaves the ordinary behavior tests availabl
After review, remove only the two generated PNGs and their owned temporary directory. The same
Rust test and variable work on Windows with the native shell's environment-variable syntax.
**GPU tests without a GPU.** Linux CI uses the shared `craft-common-actions` gate with Mesa's Vulkan driver installed. After the regular gate, `python3 scripts/ci-gpu-lavapipe.py` reruns the configured `gpu` group with `WGPU_BACKEND=vulkan` and the lavapipe ICD explicitly selected. It requires Vulkan parity evidence and rejects authored skips, except the documented software-adapter timing exceptions. It reads the filter from `.config/nextest.toml`, so no second filter needs maintaining. To run locally on Linux, install `mesa-vulkan-drivers libvulkan1` and run the same script. Windows uses WARP; this check does not certify Windows skip coverage.
## Fonts (craft-fonts)
Font assets shared by the Crafting Apps live in [storytold/craft-fonts](https://github.com/storytold/craft-fonts), never in this repo: don't commit font files here (Inter and JetBrains Mono in `assets/fonts/` are the only exceptions; new fonts go to craft-fonts).
@@ -623,6 +625,39 @@ How the web shell (`apps/photocraft-web/src/web.rs`) differs from desktop:
- **No control server:** browsers can't listen on TCP. To automate the web build, drive headless Chrome with `--remote-debugging-port`. `Page.setInterceptFileChooserDialog` plus `DOM.setFileInputFiles` covers Open, `Input.dispatchDragEvent` with `files` covers drops, and `Browser.setDownloadBehavior` captures downloads.
- Headless Chrome on macOS (`--headless=new --enable-unsafe-webgpu`) gets a real WebGPU adapter.
### Jobs without threads (Place, #10031)
wasm32-unknown-unknown has no threads, so on the web `Session::start` runs every command inline
except Place, which is a job that `poll_jobs` steps on the UI thread (a *cooperative* job):
- `jobs::StepWork` is work that runs a slice at a time; `jobs::run_stepped` / `Session::start_job_stepped`
register it. With `Session::cooperative_jobs()` (always on for wasm, `set_cooperative_jobs(true)`
runs the same path on a desktop, for tests) each `poll_jobs` gives one such job about 8 ms
(`set_job_step_budget`; zero means one unit of work per poll, which tests use to count polls
without depending on the machine). Elsewhere the same work runs to the end on a worker thread,
or inline under `execute`, and gives the same result.
- `file_cmds::PlaceSteps` cuts a place into units: a plain PNG decodes a row at a time
(`photocraft_codecs::PngDecodeRows`, through `photocraft_io::PngImport`) and, when its rows come
in final order, each group of 256 rows becomes tiles at once and is dropped, as the one-shot import
does, so the decoded image never exists beside the layer (a 100 MP RGBA8 file would cost about 400 MB
more, too much for a browser tab). An interlaced, animated or oriented PNG is decoded whole, turned
upright in bands of 64 rows (`photocraft_codecs::OrientSteps`) and copied into tiles in bands; any
other format decodes in one unit. The flatten runs in bands of four tiles (`composite_to_surface`,
the tiles moved into the result), the resize in bands of 64 output rows
(`photocraft_algo::resample::ResizeSteps`, the code `resize_surface` runs), and moving the pixels to
where they land a tile at a time (`photocraft_raster::TranslateSteps`, the code
`Surface::translated` runs). Without a cooperative session each stage is one unit and a desktop
keeps its parallel flatten, resize and translate.
- The UI places through a job when `background_jobs || session.cooperative_jobs()`
(`jobs_ui::place_in_background`); `background_jobs` stays off on the web, since save, print and
the other commands gated on it need threads. The status bar shows the progress and Esc cancels.
- Measure it with `RAYON_NUM_THREADS=1 cargo test --release -p photocraft-engine --test
place_steps_measure -- --ignored --nocapture` (a synthetic 4096×4096 RGBA PNG into a
3600×4200 document). 2026-10-29, one core: 4096 row units of 0.1 ms, flatten bands 5.3 ms,
resize bands 5.8 ms; the units that cannot be cut up are opening the PNG (6 ms), image to document
(10 ms) and translate, layer and apply (13 ms, once 23 ms); 95 polls, 950 ms in all, as long as the
inline place (1000 ms). Wasm is slower than a desktop core, so check a release web build too.
## Indexed Color timings
@@ -643,7 +678,8 @@ On native desktop sessions, Indexed Color live previews calculate and flatten on
The last preview remains visible while dragging; intermediate settings are coalesced, and only
a result matching the current document revision, active layer, dialog and parameters is uploaded.
GPU upload/display conversion still run on the UI thread. Web and `PHOTOCRAFT_INLINE_JOBS=1`
sessions retain synchronous previews. Closing the dialog invalidates its result; an already
sessions retain synchronous previews (the web has no threads; only Place is stepped there, see
Jobs without threads). Closing the dialog invalidates its result; an already
running calculation finishes without editing the session.
## Offscreen UI snapshots (no window)
@@ -744,8 +780,20 @@ clipped.
Native desktop platforms use an adaptive memory policy evaluated against currently available
physical RAM (excluding swap) and, where measurable, system commit headroom:
- **Hard budget (H)** for known RAM: $\min(75\% \text{ RAM}, \text{RAM} - 1 \text{ GiB}, \text{commit headroom} - 512 \text{ MiB}, \text{aggregate address-space cap})$.
- **Soft budget (S)**: $\min(50\% \text{ RAM}, 8 \text{ GiB}, H)$.
- **Hard budget (H)** for known memory, with A the available RAM and C the commit headroom:
$\min(\lfloor 3A/4 \rfloor, A - 256 \text{ MiB}, C - r(C), \text{aggregate address-space cap})$, where the
commit reserve $r(C) = \min(\max(C/4, 256 \text{ MiB}), 512 \text{ MiB})$. An approved import therefore
always leaves at least `LOW_MEMORY_RESERVE` (256 MiB) free.
- **Soft budget (S)**: $\min(A/2, 8 \text{ GiB}, \max(A - 1 \text{ GiB}, A/4), \max(C - 512 \text{ MiB}, C/4), H)$
(the commit term only where C is known).
- The low-memory band: with more than 4/3 GiB free, automatic opening is unchanged (it leaves
1 GiB free). Below that, up to a quarter of the free RAM opens automatically and the rest goes
to approval, up to $\min(3A/4, A - 256 \text{ MiB})$. The commit reserve shrinks from a flat
512 MiB to a quarter of the headroom with a 256 MiB floor. At or below 256 MiB of either
measurement there is no room and every file is refused. For example 1 GiB free gives S = 256 MiB
and H = 768 MiB; 512 MiB free gives S = 128 MiB and H = 256 MiB.
- Scratch-disk credit (see `docs/scratch-disks.md`) is added on top of these limits before a
caller's limit applies; non-spillable memory stays against RAM alone.
- Files requiring $\le S$ are admitted automatically.
- Files requiring $S < E \le H$ prompt for explicit one-shot user confirmation ("Open anyway") in the UI. Headless callers default to no interactive dialog and require explicit per-invocation opt-in:
- Engine commands: `file.openAs` and `file.placeEmbedded` take `approveHighMemory: bool` (default `false`); `file.approveMemory` takes `{"id": u64, "approve": bool = true}`.
@@ -756,8 +804,8 @@ physical RAM (excluding swap) and, where measurable, system commit headroom:
- Files requiring $> H$ are refused and cannot be overridden.
- When available RAM is unknown (an unsupported platform or a failed provider), native
automatic admission is 2 GiB, not 8 GiB:
$S = \min(2 \text{ GiB}, H)$, where $H$ is the aggregate address-space cap
(`native_platform_cap`), reduced by known commit headroom. Estimates above $S$ need the same
$S = \min(2 \text{ GiB}, \max(C - 512 \text{ MiB}, C/4), H)$, where $H$ is the aggregate
address-space cap (`native_platform_cap`), reduced by known commit headroom as above. Estimates above $S$ need the same
explicit, per-invocation approval as known-memory estimates above $S$, and approval is possible
up to $H$. Estimates above 8 GiB remain approvable; `MemoryBudget::warning_threshold` and
`MemoryBudget::requires_uncertainty_warning` let callers show the uncertain-capacity warning.
@@ -804,7 +852,9 @@ physical RAM (excluding swap) and, where measurable, system commit headroom:
is `memsw limit - memory limit - swap already used`, and those allowances are combined
separately from RAM headroom. A memory cgroup whose mount, path, membership, limit or usage
cannot be read, or whose membership file is malformed or empty, fails closed (available memory
is treated as zero) rather than falling back to unrestricted host RAM.
is treated as zero, `Some(0)`) rather than falling back to unrestricted host RAM. That reading
gives H = 0 from the formula, so it stays refused (only a credited tile share can pass), and
the refusal says PhotoCraft measured no free memory or could not read the system's memory limit.
- Applications can lower the admission threshold with `ImportOptions::psd_max_pixel_bytes`; explicit caller limits may lower admission, never bypass the hard boundary.
- Concurrent PSD decodes are serialized using a process-wide, cancellation-aware admission gate, with nested decodes sharing the enclosing allowance.
- A pending high-memory approval is bound to one source and one estimate. The engine keeps at
@@ -821,8 +871,13 @@ physical RAM (excluding swap) and, where measurable, system commit headroom:
for approval. Windows has no stable file-index API in `std`, so its identity is the length and
modification time (a different file with both preserved is not distinguished there). The
`file.approveMemory` permission is one-shot and is not journaled or recorded in an action. A
refusal above the hard ceiling is the typed `PsdHardBudget` error (name, required, limit), not
a string, and it releases the queued source.
refusal above the hard ceiling is the typed `PsdHardBudget` error (name, required, limit,
`free_memory`), not a string, and it releases the queued source. Its message says where the
limit comes from: the computer's memory on 64-bit desktop; the web build names its fixed cap;
on 32-bit desktop the limit may be either, so the message mentions the 2 GiB cap and that the
64-bit build may open the file. Those two also link the releases page. Sizes appear in GiB
or MiB next to the exact bytes. When measured memory set the limit, the message also gives
the free-memory reading and advises closing other apps.
- A layered TIFF (Photoshop layer data in tags 37724/34377) is admitted by the same policy
before its composite is decoded. The page's tags are read into the PSD model first, without
pixels; then that model's layer/workspace estimate, the decoded composite and its
@@ -847,15 +902,26 @@ physical RAM (excluding swap) and, where measurable, system commit headroom:
opened without Photoshop layers.
Headless RPC and MCP report approval-required memory errors with byte counts (`required`,
`softLimit`, `hardLimit`, and `availableRam` when known). A hard-budget refusal reports only
`required` and `hardLimit`: no approval can raise that ceiling, so there is no soft limit or
capacity to act on. This holds for `doc.open` and `doc.place` and for the MCP `doc_open` and
`softLimit`, `hardLimit`, and `availableRam` when known); here `availableRam` means available
physical RAM. A hard-budget refusal reports
`required` and `hardLimit`, plus `available` and `availableRam` when measured free memory set the
limit (the typed `free_memory` field). Both fields then contain the smaller of available RAM and
commit headroom (or the one measurement available), so `availableRam` can represent commit
headroom rather than physical RAM. There is never a soft limit, because no approval can raise
that ceiling. A limit set by the caller, the platform cap, or an unknown capacity carries no
free-memory figure. This holds for `doc.open` and `doc.place` and for the MCP `doc_open` and
`doc_place` tools, including a refusal from `file.openAs`/`file.placeEmbedded` reached through a
command. GUI automation imports currently cross a service boundary that returns string errors.
When measured free memory set the limit, the refusal message gives the free amount and ends with
"Close other apps and try again"; a reading of zero says PhotoCraft measured no free memory or
could not read the system's memory limit. The approval prompt warns that PhotoCraft may run out of
memory when opening the file would leave less than 1 GiB of the measured free RAM
(`LOW_MEMORY_WARNING_MARGIN`).
An import exceeding the hard budget returns `IoError::PsdImportBudget` with the estimated
and allowed byte counts; imports requiring confirmation return `IoError::PsdApprovalRequired`
when unapproved. Damaged-file recovery never bypasses these memory guards. The legacy
and allowed byte counts (and `free_memory` when measured memory set the limit); imports requiring
confirmation return `IoError::PsdApprovalRequired` when unapproved. Damaged-file recovery never bypasses these memory guards. The legacy
`psd_to_document` conversion APIs cannot return an error, so they return an empty document and
an explicit warning on preflight refusal. Layer and mask pixel allocation failures also fail
ordinary imports instead of opening partial content.
@@ -963,23 +1029,27 @@ cargo xtask psd-write-oracle xtask/psd-write-oracle/starter.json corpus/photosho
```
The output directory must not exist. It contains `report.json`, `manifest.json`, a
candidate PSD per successful export, and CLI stdout/stderr for diagnosis. A failed
case does not prevent the other cases from running, but the command exits nonzero.
candidate PSD per successful export, a `base.psd` copy of the hashed base bytes, and
CLI stdout/stderr for diagnosis. The CLI runs on that copy, so it never opens the corpus.
A failed case does not prevent the other cases from running, but the command exits nonzero.
Once an export succeeded, a failing case keeps its candidate in the manifest, with an
`exported file: ...` error if reopening or checking it failed.
The manifest records the checkout revision, whether tracked files were modified, the
CLI binary hash, recipe hash, corpus revision and candidate hashes (revision and
dirty state are `unknown` outside a git checkout). The checkout
revision does not establish where a supplied binary was built; use a binary built from
that revision and preserve the CI run's provenance. Missing fonts and other warnings
are recorded. The runner never overwrites its input PSDs.
are recorded. The runner never overwrites or opens its input PSDs beyond hashing them.
Recipes are versioned JSON (`version` must be `1`; any other value is rejected). Unknown keys anywhere in a recipe are an error, so a typo never passes as "nothing to check". A case has a unique `id`, a relative `base` PSD path,
Recipes are versioned JSON (`version` must be `1`; any other value is rejected). Unknown keys anywhere in a recipe are an error, so a typo never passes as "nothing to check". A case has an `id` that is unique ignoring letter case (it names the case's output directory), a relative `base` PSD path,
its `base_sha256`, a `target` with layer `kind` and optional `name`, and `checks`.
An optional list of `commands` contains a `command` id and `params`; the runner
supplies the resolved `layer` id. Targets that match zero or multiple layers fail.
Only `type.*` and `layer.layerStyle.*` commands are accepted. Checks use JSON pointers
Only `type.*` and `layer.layerStyle.*` commands are accepted, except `layer.layerStyle.contours.*`,
which edit the contour library rather than the document and can read or write any file. Checks use JSON pointers
relative to the inspected layer: `unchanged` requires a present, equal value before
and after; `equals` checks the exported value; `changed_to` requires the exported
value to match and differ from the base. Every edited case needs a `changed_to` check.
value to match and differ from the base. Numbers compare by exact value, so `17` equals `17.0`. Every edited case needs a `changed_to` check.
Every check is run and reported (not only the first failure), each result naming the layer and the property path. See the starter recipes for examples. Regenerate hashes when deliberately changing
the corpus pin, and review them against `xtask/photoshop-corpus.sha256`.
+15 -6
View File
@@ -1,6 +1,6 @@
# Hardware parity
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-28 · **Change:** minor (GPU compositor startup builds in the background, measurements pending; Camera Raw's preview develops its per-pixel stages on the GPU) · **Target:** Adobe Photoshop 2026
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-05 · **Change:** minor (optional WinTab backend on Windows: pressure and the eraser end; tilt on devices with orientation axes; rotation only with a pen and driver that report twist, with Windows Ink off) · **Target:** Adobe Photoshop 2026
Each hardware feature Photoshop 2026 (27.11.0) uses, per platform, against PhotoCraft. Photoshop
side: its bundle (Metal and OpenCL paths, "Precise Color Management for HDR Display" and EDR
@@ -9,7 +9,9 @@ strings, Touch Bar resources, pen pressure/tilt strings) and Adobe's GPU FAQ. Ph
`engine/src/display_color.rs`, `apps/photocraft/src/monitor_profile.rs`.
**Summary (estimated):** ~50% ready. GPU compositing and colour-managed display are solid; pen
input is uneven by platform (Windows lacks tilt/rotation, Wayland is broken) and there is no HDR
input is uneven by platform (the default Windows Ink path lacks tilt and rotation, Wayland is
broken; the opt-in WinTab path on Windows supplies tilt only on devices that report orientation
axes, and rotation only when the pen and driver report twist) and there is no HDR
output. Remaining: 80–150 h (gap G12). Human: tablets (Wacom, XP-Pen, Huion) on each OS and an
HDR display to verify.
@@ -31,12 +33,18 @@ HDR display to verify.
| Feature | Photoshop | macOS | Windows | Linux X11 | Linux Wayland | Web |
|---|---|---|---|---|---|---|
| Pressure | yes | yes (AppKit monitor) | yes (WM_POINTER), jumpy (#2046) | yes (XInput2) | via Xwayland only; GNOME 50 pen doesn't click (#2622), KDE (#2297) | yes |
| Tilt | yes | yes | **no** | yes | no | yes |
| Barrel rotation | yes | yes (not applied to tip angle, #1301) | no | partial | no | yes (twist) |
| Eraser end | yes | yes | no (#2285) | partial | no | partial |
| WinTab driver mode | yes | – | no | – | – | – |
| Tilt | yes | yes | **no** (WinTab: with orientation axes, opt-in) | yes | no | yes |
| Barrel rotation | yes | yes (not applied to tip angle, #1301) | no (WinTab: with a twist-reporting pen and driver, opt-in) | partial | no | yes (twist) |
| Eraser end | yes | yes | no (#2285); WinTab: yes (opt-in) | partial | no | partial |
| WinTab driver mode | yes | – | yes (opt-in; Windows Ink off) | – | – | – |
| Pressure curve | Windows Ink / driver | global curve in Preferences (#2195) | same | same | same | same |
Windows: the opt-in WinTab backend (`tools.tabletInput = "winTab"`, with Windows Ink turned off
in the tablet utility) supplies pressure and the eraser end, tilt only on devices that report
orientation axes, and rotation only when the pen and driver report twist (pressure-only devices
get neutral tilt and rotation). The default Windows Ink path is unchanged and still lacks tilt,
rotation and the eraser.
## Displays and colour
| Feature | Photoshop | PhotoCraft | Status |
@@ -63,6 +71,7 @@ HDR display to verify.
| Date | Change | Summary |
|---|---|---|
| 2026-11-05 | minor | Optional WinTab driver mode on Windows: pressure and eraser; tilt with orientation axes; rotation with a twist-reporting pen, with Windows Ink off |
| 2026-10-28 | minor | Build GPU compositor pipelines in the background; benchmark baseline pending (#9157) |
| 2026-10-10 | major | First version |
| 2026-10-17 | minor | GPU filters: Camera Raw's preview, per-pixel stages (#6916 step 1) |
+106
View File
@@ -0,0 +1,106 @@
# Azerbaijani UI catalog
Azerbaijani (Latin script) is offered as **Azərbaycanca** (`az`). Regional preferences and
system locales such as `az-AZ`, `az_Latn_AZ.UTF-8` and `AZ-LATN-AZ` use the existing locale
matcher. English remains the source and fallback. The runtime registry has 29 languages
including English.
The catalog contains 4,606 entries, including 32 plural messages, 118 contextual entries and
eight command-ID overrides. The 2026-11-05 merge added the 29 new OpenType menu keys from
current `main`. The follow-up also adds five frame conversion/tool labels; all menu labels and the eight intentional command-ID overrides are checked.
The 2026-11-01 source scan covered 2,204/2,204 keys. Catalog completeness does not establish linguistic
quality or include untranslated engine errors.
## Terminology and provenance
| English | Azerbaijani |
|---|---|
| Layer | Qat |
| Layer mask | Qat maskası |
| Stroke (outline) | Kontur |
| Brush stroke | Fırça izi |
| Crop | Kəsmə |
| Rulers | Xətkeşlər |
| Path | Yol |
| Artboard | İş lövhəsi |
| Preset | Hazır ayar |
| Light (Camera Raw) | İşıq |
| Light (font weight) | İncə |
Google Translate supplied drafts of PhotoCraft's English labels. Core terminology, contexts
and plural messages were edited with OpenAI Codex. No proprietary localization resources were
used. The translations are MIT OR Apache-2.0, with attribution in `ATTRIBUTION.md` and
`crates/ui-egui/src/i18n/LICENSE-translations.txt`.
**Native Azerbaijani speaker review is requested before merge and has not been received.**
Please check the terminology, long help text, contextual meanings, counted nouns and the
natural wording of the catalog. Automated checks and AI-assisted edits do not replace that review.
## UI case-conversion audit (2026-11-06)
The catalog and rendered labels retain their original spelling, including `ƏəĞğIıİiÖöŞşÜüÇç`.
Search and access-key comparisons use the selected UI language. Azerbaijani and Turkish use
ICU4X case mapping: `i` ↔ `İ` and `ı` ↔ `I`, including contextual combining-dot handling.
English command names, menu paths used as English aliases and machine IDs keep English casing.
| UI path | Handling |
|---|---|
| Help menu search (`menus/search.rs`) | Localized labels and paths use their language; English aliases are ranked separately. |
| Command palette (`dialogs/palette.rs`) | Localized fuzzy and exact matches use their language; English aliases remain available. |
| Preferences and Keyboard Shortcuts (`prefs/prefs_ui/`) | Translated labels and section titles use localized casing; English schema paths, IDs and shortcut syntax stay invariant. |
| Dropdown typing (`widgets/type_ahead.rs`) | Labels and typed prefixes use localized casing; raw prefix text is retained so a following combining dot can complete an I. |
| Menu and dialog access keys (`menus/menu_keys.rs`, `dialogs/discard_ui.rs`) | Compare displayed letters using localized uppercase. Only ASCII key codes are assigned; an English key suffix is shown when required. Labels are not rewritten. |
| A menu key over the zoom field (`canvas/zoom_field.rs`) | Consume the text emitted by the logical I key for either Turkic keyboard letter, preventing it from leaking into the zoom field. |
The audit searched `ui-egui` and the native/web app shells for lower/uppercase operations,
case-insensitive comparisons and mnemonic handling. English schema/command humanization runs
before translation and remains language-independent. Native macOS menu labels are passed through
verbatim (only the mnemonic escape character is escaped). Language-picker sort keys are a fixed
accent-folded ordering of native names. File extensions, color/format tokens, font metadata,
and user-provided document/layer/preset names are not catalog translations and retain their
existing matching/identity rules. This does not audit third-party widget internals or document-text casing.
References: [Unicode special casing](https://www.unicode.org/faq/casemap_charprop.html),
[ICU4X case mapper](https://docs.rs/icu_casemap/2.3.0/icu_casemap/struct.CaseMapperBorrowed.html).
## Plurals
The existing one/other integer rule selects `one` at 1 and `other` at all other `u64` counts.
Counted nouns remain singular in both forms: `1 qat`, `20 qat`. Tests include zero, teens,
hundreds, thousands and `u64::MAX`.
## Validation
Current catalog scan (2026-11-06, merged main `7904eee76`): 4,606 entries, all 669 canonical
menu keys and eight intentional command-ID overrides. Current source coverage is
2,268/2,358 keys (96.18%); 90 newer strings fall back to English. The merge added six current
menu labels so the existing menu coverage regression remains complete.
Current case-conversion regressions exercise the actual shortcut grid and dropdown input,
menu underline layout, localized/English search, preference matching, combining dots and
the two distinct I pairs. Executed on Windows x64 with Rust 1.99.1/MSVC:
- All 15 Azerbaijani-focused checks passed: the six original language checks plus nine
casing/input regressions. The Turkic helper and mnemonic layout also test Turkish.
- All eight additional regression groups passed: 40 i18n unit checks, 22 menu-key checks,
four Help-search checks, eight palette checks, four dropdown checks, 69 discard-dialog
checks, six zoom-field checks and one existing Preferences-search check (154 checks;
some overlap with the Azerbaijani-focused run).
- Formatting, Clippy (`--all-targets -- -D warnings`), 31-crate layering, wasm (24 crates
plus optional HEIF) and the offscreen snapshot build passed.
- Visually inspected before/after CPU captures at 1440 × 900 logical pixels and 1.5× scale.
Before the fix, `interfeys` found no Preferences section and `ŞƏKİL ÖLÇÜSÜ` found no
shortcut row. After the fix, they show Interface settings and Image Size respectively.
- The full UI gate was rerun with one test thread and is **not green**: unit and integration
processes again exited `0xc0000005` at `omitting_an_occluded_checker_preserves_cpu_canvas_pixels`
and `batch_and_processor_real_controls_write_the_chosen_webp_quality`, the same points
observed on 2026-11-05. The example test and doctest targets passed.
### Earlier full-suite limitations
On 2026-11-05 the six Azerbaijani regressions, 40 i18n unit checks, formatting, Clippy,
layering, wasm and snapshot build passed. Editor/preferences CPU captures were visually
inspected. The complete i18n subset had 61 passed and eight CJK/Arabic missing-glyph failures
without the optional craft-fonts input. The full UI unit/integration processes exited
`0xc0000005` (`STATUS_ACCESS_VIOLATION`) even with one test thread. These are historical
results, not a successful full-suite validation of the current revision. Native-speaker
review remains pending. CPU captures do not establish hardware-GPU or native window/input acceptance.
+16 -4
View File
@@ -1,6 +1,6 @@
# Localization parity
> **Last reviewed:** 2026-10-12 · **Last updated:** 2026-10-30 · **Change:** minor (Bosnian UI catalog; previously minor: Swedish, Finnish, Danish and Norwegian Bokmål UI catalogs; previously minor: Arabic UI catalog) · **Target:** Adobe Photoshop 2026
> **Last reviewed:** 2026-10-12 · **Last updated:** 2026-11-06 · **Change:** minor (Azerbaijani UI catalog merged with current languages; native review pending; Bosnian UI catalog; previously minor: Swedish, Finnish, Danish and Norwegian Bokmål UI catalogs; previously minor: Arabic UI catalog) · **Target:** Adobe Photoshop 2026
Per-language status of PhotoCraft's UI. How catalogs work and how to add one:
[`localization.md`](localization.md). Language notes: [Korean](localization-ko.md), [Spanish](localization-es.md),
@@ -24,7 +24,7 @@ Vietnamese UI; Arabic and Hebrew users get English "Middle East" builds with the
composer, and its text engine handles RTL, Devanagari and Indic scripts.
**Summary.** 7 of the 12 key languages at 100% of measured keys (status `partial` because of the
engine messages), 2 absent (Hindi, Vietnamese), plus 8 other languages. Weighted by
engine messages), 2 absent (Hindi, Vietnamese), plus 17 other registered languages. Weighted by
speakers, ~55% ready. Remaining: 80–140 h, plus native-speaker review (recorded only for Italian,
2026-10-12).
@@ -47,11 +47,13 @@ speakers, ~55% ready. Remaining: 80–140 h, plus native-speaker review (recorde
## Other shipped languages
8 more, each at 1,608 / 1,608 measured keys, status `partial` for the same reason: Traditional
17 registered languages are outside the twelve-language table. The following eight have
1,608 / 1,608 measured keys, status `partial` for the same reason: Traditional
Chinese `zh-hant` (2,329 rows), Russian `ru` (4,227 keys; also every dynamic label the
other catalogs translate, [notes](localization-ru.md)), Ukrainian `uk` (3,375), Czech `cs` (3,522),
Polish `pl` (3,366), Greek `el` (3,481), Dutch `nl` (3,568), Italian `it` (4,164; also every dynamic label the
other catalogs translate; reviewed by a native speaker, [notes](localization-it.md)). Turkish `tr`
other catalogs translate; reviewed by a native speaker, [notes](localization-it.md)). Hungarian
`hu` (4,347 rows) is also registered. Turkish `tr`
(3,731 rows) also covers every measured key. Serbian `sr` (4,022 rows, Latin script, Ekavian, added 2026-10-12) covers every
measured key and the union of the other catalogs' dynamic labels; its one/few/many plurals reuse
the Russian rule. Swedish `sv` (4,552 rows, added 2026-10-28) covers every measured key and the
@@ -65,6 +67,13 @@ Ijekavian, added 2026-10-30) covers the same keys; its one/few/other plurals reu
rule, and Cyrillic `bs` locales read it too. It is AI-assisted, shares its wording with
storytold/craft-i18n `locales/bs/`, and has not had a native-speaker review yet.
Azerbaijani `az` (Latin script) brings the runtime registry to 29 languages including
English. Its catalog has 4,606 entries, including the initial dynamic-label key union, current OpenType menus and five frame labels
and 32 plural messages. It uses one/other integer forms, with singular counted nouns.
Complete menu keys, regional locale matching and English fallback are covered by tests.
Native-speaker review remains pending; validation results and limits are recorded in the
[language notes](localization-az.md). Readiness estimates and G13 remain unchanged.
Czech UI follow-up (2026-10-11): status and notice wrappers, hardware labels, brush and
transform accessibility names, rasterization prompts, profile mismatch messages and preset
counts now translate at their render/assignment sites. Navigator's zoom level uses a context
@@ -89,6 +98,9 @@ engine localization or native review is complete.
| Date | Change | Summary |
|---|---|---|
| 2026-11-06 | minor | Azerbaijani/Turkish UI search, dropdown prefixes and access keys use locale-aware I casing; 4,606 Azerbaijani entries and current menu coverage; native review requested and pending |
| 2026-11-05 | minor | Preserved Bosnian while merging current main; 29 registered languages, 17 outside the table; Azerbaijani has 4,606 entries, including 29 current OpenType menu keys and checks for all eight command-ID overrides; native review pending |
| 2026-11-01 | minor | Azerbaijani UI catalog, 4,566 entries; regional tags and one/other plurals; PR narrowed to Azerbaijani, 28 registered languages and 16 outside the table; native review pending; validation limits in the language notes; readiness estimates unchanged |
| 2026-10-10 | major | First version, measured from the catalogs with the `i18n-coverage` rules |
| 2026-10-10 | minor | Right-to-left shell layout (menu bar, title, options and status bars, toolbox and dock sides) |
| 2026-10-11 | minor | Czech dynamic status/notice and hardware text, render labels and Navigator zoom context; engine messages remain English |
+16
View File
@@ -27,6 +27,8 @@ contextual, command-ID and plural translations; missing entries fall back to Eng
| Nederlands | `nl` | one / other |
| Magyar | `hu` | one form |
| Tiếng Việt | `vi` | one form |
| ไทย | `th` | one form |
| தமிழ் | `ta` | one / other |
| Srpski | `sr` | one / few / many (teens use many) |
| Bosanski | `bs` | one / few / other (teens use other) |
| हिन्दी | `hi` | one / other |
@@ -34,6 +36,16 @@ contextual, command-ID and plural translations; missing entries fall back to Eng
| Suomi | `fi` | one / other (partitive after every count but 1) |
| Dansk | `da` | one / other |
| Norsk bokmål | `nb` | one / other |
| עברית | `he` | one / other |
| اردو | `ur` | one / other |
| Română | `ro` | one / few (0, 2–19, 101–119 …) / other (20–100, 120 …) |
| Azərbaycanca | `az` | one (1) / other (all other integer counts) |
Azerbaijani (`az`, Latin script) is registered with a complete menu catalog. Regional tags
such as `az-AZ` and `az-Latn-AZ` select it. The catalog includes the existing catalogs'
dynamic labels, contextual translations and two integer plural forms. Machine-assisted
drafts have edited core terminology; native-speaker review is pending. See
[`localization-az.md`](localization-az.md) for terminology, provenance and validation limits.
Languages registered with `complete_menus` cover the current menu labels, `tl!` literals, blend
mode names, and generated preference labels. A string a catalog lacks shows in English:
@@ -44,6 +56,10 @@ keys. `complete_menus` remains false while generated/dynamic long-tail labels ar
review. This does not include every engine error or status message: those remain English, as do
automation command IDs and user-provided document, layer and preset names.
UI search and access-key comparisons use locale-aware dotted/dotless I rules for Azerbaijani
and Turkish. English command aliases remain searchable using English casing. See the
[Azerbaijani case-conversion audit](localization-az.md#ui-case-conversion-audit-2026-11-06).
## Switch without restarting
Open **Edit > Preferences > Interface > Language** and choose a language. The Preferences
+2 -2
View File
@@ -2,7 +2,7 @@
Generated by `cargo xtask parity` from `crates/ui-egui/src/menu_catalog.rs` (Photoshop's menu tree) and the live command registry. Do not edit by hand.
**660 of 660 menu items live (100.0%).**
**661 of 661 menu items live (100.0%).**
| Menu | Live | Total | % |
|---|---:|---:|---:|
@@ -14,6 +14,6 @@ Generated by `cargo xtask parity` from `crates/ui-egui/src/menu_catalog.rs` (Pho
| Select | 25 | 25 | 100% |
| Filter | 75 | 75 | 100% |
| View | 76 | 76 | 100% |
| Window | 61 | 61 | 100% |
| Window | 62 | 62 | 100% |
## Not yet implemented
+3 -3
View File
@@ -11,7 +11,7 @@ Generated by `cargo xtask scorecard` from `perf/budgets.toml`, `perf/baseline.js
| [Tools](#tools) | 36 | 9 | 0 | |
| [Workspace and UI](#workspace-and-ui) | 15 | 6 | 2 | settings that do nothing: 8 of 192 (target 0) |
| [Type](#type) | 5 | 5 | 0 | |
| [Automation](#automation) | 5 | 3 | 3 | 660 of 660 menu items live (100.0%) |
| [Automation](#automation) | 5 | 3 | 3 | 661 of 661 menu items live (100.0%) |
| [Reliability](#reliability) | 5 | 2 | 0 | never-crash lints on 30 of 30 crates; panic_hunt present |
| [Distribution](#distribution) | 5 | 5 | 1 | |
| [Open bugs](#open-bugs) | 31 | 1 | 0 | |
@@ -224,7 +224,7 @@ Unread: `general.color_picker`, `workspace.auto_show_hidden_panels`, `workspace.
| UI-217-7 | Command palette shows recently run commands on an empty query | done | [#217](https://github.com/storytold/photocraft/issues/217) | palette.rs: note_recent from menus::invoke keeps the last 8 commands (dedup, newest first); an empty query lists them via recent_hits; the_palette_records_and_replays_recent_commands_on_an_empty_query covers record -> empty query -> replay |
| UI-217-8 | Tool-specific canvas right-click menu; right-click spelling suggestions in text fields | partial | [#217](https://github.com/storytold/photocraft/issues/217) | paint_mouse.rs brush picker and canvas_tool_menu.rs selection actions; text_field_menu.rs gives every text field its right-click Undo/Cut/Copy/Paste/Delete/Select All menu (#2921); other tools missing; the Type tool's edit menu starts with spelling suggestions and Add to Dictionary over a misspelled word (#4370); over committed type the Type tool opens the type layer menu (#7324); Ignore / Ignore All, suggestions in the non-editing type menu and in generic text fields are not there yet |
| UI-217-9 | UI scale presets 100/115/125/150/200 % through zoom_factor, remembered | done | [#217](https://github.com/storytold/photocraft/issues/217) | prefs::UiScale offers Auto plus 75 to 300 percent (17 presets: 75 to 125 in 5 % steps since #3222, then 150 to 300; more than the five this row lists); prefs_ui.rs display_scale resolves it (Auto follows the system scale, fractional and unscaled 4K included, #1072/#1278) and sync_display_scale applies it with ctx.set_zoom_factor. It is a preference, so it is remembered. The zoom_factor assert in input_tests.rs is about canvas zoom not scaling the interface, not about this setting |
| UI-217-10 | Appearance: animation toggle, canvas pattern toggle per theme, start-screen recents | partial | [#217](https://github.com/storytold/photocraft/issues/217) | interface.enableAnimations (prefs_ui.rs sync_animations, #3273) zeroes egui animation_time and scroll animation in both styles; the Home screen lists recent files (canvas.rs home_recent, #2691); the canvas dot pattern toggle is interface.showCanvasDots (#2264, global rather than per theme); interface.showHomeRecentFiles hides the Home screen recents (#4382) |
| UI-217-10 | Appearance: canvas pattern toggle per theme, start-screen recents | partial | [#217](https://github.com/storytold/photocraft/issues/217) | the Home screen lists recent files (canvas.rs home_recent, #2691); the canvas dot pattern toggle is interface.showCanvasDots (#2264, global rather than per theme); interface.showHomeRecentFiles hides the Home screen recents (#4382) |
| UI-217-11 | Soft dark and soft light themes with picker previews; outlined knobs in light themes | done | [#217](https://github.com/storytold/photocraft/issues/217) | theme.rs ThemeKind has fourteen themes: the twelve earlier ones plus Soft Dark and Soft Light (low-contrast Studio-layout palettes, text at 4.5:1, selectable in Preferences with the existing theme-card previews, ui.set {theme}, Window > Theme); the light themes outline the slider knob with Tokens::knob_outline (dim text, at least 3:1 against dock, card and chrome; #7927) |
| UI-217-12 | Save custom New Document presets; a real Recent category | done | [#217](https://github.com/storytold/photocraft/issues/217) | document_preset_cmds.rs and new_doc_ui.rs: named presets save/select/delete through preferences; Recent lists Clipboard, the last 20 documents created in the dialog (document.recent.*, persisted with the presets, newest first, deduplicated) and the uncovered defaults (#3131); created_documents_fill_the_recent_category |
| UI-217-13 | Numeric fields accept arithmetic and units; scrubby labels; double-click resets a slider | done | [#217](https://github.com/storytold/photocraft/issues/217) | widgets::value_field: arithmetic plus units (1in, 5mm, 72pt, 50%) converted at the document resolution (#3099); widgets::scrub_label makes options-bar, slider-row and Character labels scrubby (Shift x10, Alt fine); slider rows with a known default reset on double-click |
@@ -256,7 +256,7 @@ Unread: `general.color_picker`, `workspace.auto_show_hidden_panels`, `workspace.
## Automation
Menu wiring (`docs/parity-checklist.md`): 660 of 660 menu items live (100.0%). This counts dispatch, not behaviour.
Menu wiring (`docs/parity-checklist.md`): 661 of 661 menu items live (100.0%). This counts dispatch, not behaviour.
| Id | Target | Status | Issue | Note |
|---|---|---|---|---|
+25 -2
View File
@@ -33,8 +33,8 @@ until the file is dropped or the next sweep.
The engine owns a shared, stoppable residency supervisor and joins it when its last session
is dropped. `photocraft-raster` only exposes synchronous measurement and bounded eviction
operations; standalone callers work without a background thread. `sysinfo` is native-only
with its default features disabled and only the `system` (RAM) and `disk` (free space)
features enabled.
with its default features disabled and only the `system` (RAM) feature enabled, plus `disk` on
macOS only, for purgeable space.
An unavailable or full scratch disk never loses pixels or turns spilling off for the session.
A failed scratch write or file creation, or a volume about to run low (free space is checked
@@ -46,6 +46,29 @@ spilling resumes on its own once the directory is usable and has room, and chang
preferences retries at once. Preferences → Scratch Disks → Scratch Size Limit
(`scratchDisks.sizeLimitMb`, 0 = no limit; `spill::set_size_cap`) caps the scratch file:
reaching it pauses spilling the same way, and the free-space reserve applies regardless.
Free space is asked of the scratch folder itself (`GetDiskFreeSpaceEx` on Windows, `statvfs` on
Unix), so a network folder (UNC path, mapped drive, NFS or CIFS mount) reports its own volume's
numbers, for both the large-import allowance and the reserve. On macOS a volume sysinfo lists
also counts its purgeable space. A mount that doesn't report its space (the query fails, or the
total is zero, as with some FUSE and WebDAV mounts) counts as unknown: the free-space reserve
doesn't apply, imports earn a scratch allowance only up to the Scratch Size Limit, and
Preferences → Scratch Disks and the hard-limit refusal say so, with the hint to set a limit or
use a local disk; `spill::stats` exposes it as `freeSpaceUnmeasured`. With neither free space nor
a size limit known, imports get no scratch allowance. Opening and measuring the folder happen
off every lock, on a short-lived thread (at most one per folder and question, 16 overall), and
callers wait up to 2 s for the answer. A query that doesn't answer in time counts as unknown
(warned as above) and, when the scratch file couldn't be opened, pauses spilling with "not
responding" and retries later. A system call can't be cancelled, so a stuck query keeps its
thread until the mount answers and no second one starts; a late answer applies if that folder is
still the current one and is discarded otherwise. The free-space check every 64 MB of growth never
waits, and with an engine session tile allocation leaves retries to its supervisor. The wait is on
the calling thread: changing Scratch Disks preferences or checking room for an import may wait up
to those 2 s once for a newly hung folder. A whole folder change waits at most 2 s in total, the new
folder first, with closing the old scratch file getting what is left; old files close on at most
four background threads, so one stuck close doesn't hold up the others. On macOS the purgeable-space lookup asks every mounted volume, so it runs
separately for at most 0.5 s, and an unrelated dead mount only loses the purgeable figure, never
the folder's own numbers. Limit: reading or writing tile pixels already spilled
to a hung folder still blocks the thread doing it; only opening and measuring are bounded.
A failed read retains its backing extent and blocks editing, saving and exporting of the
document that holds the tile until it is readable again; other open documents keep working.
Each commit checks the health of its own document (before and after an edit, the document a
+1
View File
@@ -218,6 +218,7 @@ Languages shipped (`complete_menus` marks a catalog that covers every menu strin
- French (`fr`), complete, with two plural forms (0 and 1 use the singular).
- Czech (`cs`), complete, with three plural forms.
- Indonesian (`id`), complete, with one plural form.
- Azerbaijani (`az`, Latin script), complete, with two integer plural forms (1 / other).
- `tr(lang, s)` plain strings; `tr_ctx` when one English word needs different translations;
`tr_id(lang, command_id, label)` for menu items (keyed by command id, English label as the
+3 -1
View File
@@ -1,6 +1,6 @@
# UI parity: tools, handles, modifiers and feel
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-06 · **Change:** minor (Column Size drives the Columns width unit, #6214: 8 of 192 preferences do nothing; History Options snapshot options, #3634; Channels panel menu: New Channel…, Duplicate Channel, Delete Channel, New Spot Channel…, Merge Spot Channel, Channel Options…, Split Channels, Merge Channels…, #11451; a Color Picker for another dialog's colour or the Crop shield shows the picked colour there before OK, #9886; Edit › Transform › Distort side handles move their edge, Perspective side handles skew, #10085; Ctrl + Alt + wheel zooms the canvas like ⌥ + wheel on Windows and Linux, where winit reports a held Ctrl as both ctrl and command, #10488; Layers panel filter by Color, #5898; 11 of 183 preferences do nothing: startup reads Graphics Adapter through the typed Performance section, so the scorecard audit sees it; Shape Fill/Stroke popover as Photoshop's, every colour swatch opens the full Color Picker with a live preview; the text and gradient stop Color Pickers show the picked colour on the canvas before OK, #5530; selected colour sets edit drawing, tone and supported filters; geometry remains open; a paragraph box that can't hold its text enlarges its lower-right handle and shows a black + in it, as the reference application; Free Transform of several selected layers, #6501; Path Operations fixes: the first component keeps combining, a hidden component selection is left alone, a dragged live shape stays live, a refused Pen draft ends once; Pen, Freeform Pen, Curvature Pen and Path Selection Path Operations menu, which changes selected components, `+` / `-` keys, #1397; the Pen carries on an open shape or vector mask path; selection-aware font controls, pending caret fonts and focused commit, plus direct font-name editing with a compact no-match message, #9338; New Group dialog and button modifiers; new layers go into an open active group and join a clipping mask, except that type, shapes, pastes and placed files go above a group whose lock would refuse them; Color panel Hue and Brightness Cube show the out-of-gamut ⚠ and nearest printable colour when the field is at least 53 pt tall, #8672; Art History Brush in the History group of the Y flyout, partial, TOOL-213-20, #1610; Histogram panel: Compact / Expanded / All Channels views, Luminosity and Colors channels, Source, range statistics, Uncached Refresh, live adjustment overlay, Cache Levels preference; the font menu opens on the current family, marked in the recent group when it is a recent one, #9160; Type options bar alignment and direction follow the target paragraph; a swatch click recolours selected type and shape layers with any tool, #9238; UI scale presets done: 105–120% steps, #3222; ⇧⌥ blend mode letters; painting tool Mode menus; ⌥ + an adjustment's shortcut reopens it at its last settings, ⌥⌘L / ⌥⌘M, #8900; Crop default mode: moving the image under the box snaps the frame's edges and centre, #8580; View › Extras hides the Move transform controls, #6699; adjustment clipping stays visible in compact Properties, #5231; Color panel modes from its panel menu, the same in every theme, UI-217-17, #6000; a picked colour recolours the selected type and shapes; Hand tool ⌘ / ⌥ are Zoom In / Zoom Out while held, #6434; the wheel steps value fields, #5473; a dragged guide shows its X or Y beside the pointer, #7680; Type options bar "T" icon scrubs the font size, #6437; Move tool: dragged selected pixels take their own outline as the selection, #7538; artboard backgrounds remain below child Free Transform previews; ⌫/Delete removes the selected smart filter, #4751; Object Finder foreground/background discrimination (#6548); rounded triangle, polygon and star corners; shape Fill/Stroke popovers accept hex RGB values, #6176; a guide let go over either ruler is removed, #6286; Crop rows corrected: saved crop presets and Delete Cropped Pixels off are done, #6562; marching ants in device pixels, #7489; Animated Zoom: holding the Zoom tool zooms continuously, #6210; shape Density and Feather, TOOL-214-12, #5846; Pen Auto Add/Delete on the path being drawn, #6140; Show Transform Controls frames every selected layer; guide keys and clicks; menu bar from the keyboard, #4988; Crop tool Content-Aware Fill; on-canvas corner radius widgets, TOOL-214-12; Curvature Pen edits the active path; Clip Thumbnails to Layer Bounds; Pen ⇧ 45°; last selected tool restored at launch; Layers panel filter-type dropdown with Kind, Name and Mode, #5048; Free Transform box and marching ants follow the selection, #5297; History: the trash deletes the selected snapshot, rows drag onto the trash, #5324; smart filter reordering by drag; smart object perspective row corrected to done, #426; Free Transform H/V skew fields; toolbar tool shortcuts can be reassigned; ⇧-dragged guides land on ruler ticks; layer and selection keys; tool keys; spring-loaded tool letters; type formaLine truncated
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-06 · **Change:** minor (Column Size drives the Columns width unit, #6214: 8 of 192 preferences do nothing; Image › Adjustments › Selective Color keeps each colour's own values and applies all nine, #11463; History Options snapshot options, #3634; Channels panel menu: New Channel…, Duplicate Channel, Delete Channel, New Spot Channel…, Merge Spot Channel, Channel Options…, Split Channels, Merge Channels…, #11451; a Color Picker for another dialog's colour or the Crop shield shows the picked colour there before OK, #9886; Edit › Transform › Distort side handles move their edge, Perspective side handles skew, #10085; Ctrl + Alt + wheel zooms the canvas like ⌥ + wheel on Windows and Linux, where winit reports a held Ctrl as both ctrl and command, #10488; Layers panel filter by Color, #5898; 11 of 183 preferences do nothing: startup reads Graphics Adapter through the typed Performance section, so the scorecard audit sees it; Shape Fill/Stroke popover as Photoshop's, every colour swatch opens the full Color Picker with a live preview; the text and gradient stop Color Pickers show the picked colour on the canvas before OK, #5530; selected colour sets edit drawing, tone and supported filters; geometry remains open; a paragraph box that can't hold its text enlarges its lower-right handle and shows a black + in it, as the reference application; Free Transform of several selected layers, #6501; Path Operations fixes: the first component keeps combining, a hidden component selection is left alone, a dragged live shape stays live, a refused Pen draft ends once; Pen, Freeform Pen, Curvature Pen and Path Selection Path Operations menu, which changes selected components, `+` / `-` keys, #1397; the Pen carries on an open shape or vector mask path; selection-aware font controls, pending caret fonts and focused commit, plus direct font-name editing with a compact no-match message, #9338; New Group dialog and button modifiers; new layers go into an open active group and join a clipping mask, except that type, shapes, pastes and placed files go above a group whose lock would refuse them; Color panel Hue and Brightness Cube show the out-of-gamut ⚠ and nearest printable colour when the field is at least 53 pt tall, #8672; Art History Brush in the History group of the Y flyout, partial, TOOL-213-20, #1610; Histogram panel: Compact / Expanded / All Channels views, Luminosity and Colors channels, Source, range statistics, Uncached Refresh, live adjustment overlay, Cache Levels preference; the font menu opens on the current family, marked in the recent group when it is a recent one, #9160; Type options bar alignment and direction follow the target paragraph; a swatch click recolours selected type and shape layers with any tool, #9238; UI scale presets done: 105–120% steps, #3222; ⇧⌥ blend mode letters; painting tool Mode menus; ⌥ + an adjustment's shortcut reopens it at its last settings, ⌥⌘L / ⌥⌘M, #8900; Crop default mode: moving the image under the box snaps the frame's edges and centre, #8580; View › Extras hides the Move transform controls, #6699; adjustment clipping stays visible in compact Properties, #5231; Color panel modes from its panel menu, the same in every theme, UI-217-17, #6000; a picked colour recolours the selected type and shapes; Hand tool ⌘ / ⌥ are Zoom In / Zoom Out while held, #6434; the wheel steps value fields, #5473; a dragged guide shows its X or Y beside the pointer, #7680; Type options bar "T" icon scrubs the font size, #6437; Move tool: dragged selected pixels take their own outline as the selection, #7538; artboard backgrounds remain below child Free Transform previews; ⌫/Delete removes the selected smart filter, #4751; Object Finder foreground/background discrimination (#6548); rounded triangle, polygon and star corners; shape Fill/Stroke popovers accept hex RGB values, #6176; a guide let go over either ruler is removed, #6286; Crop rows corrected: saved crop presets and Delete Cropped Pixels off are done, #6562; marching ants in device pixels, #7489; Animated Zoom: holding the Zoom tool zooms continuously, #6210; shape Density and Feather, TOOL-214-12, #5846; Pen Auto Add/Delete on the path being drawn, #6140; Show Transform Controls frames every selected layer; guide keys and clicks; menu bar from the keyboard, #4988; Crop tool Content-Aware Fill; on-canvas corner radius widgets, TOOL-214-12; Curvature Pen edits the active path; Clip Thumbnails to Layer Bounds; Pen ⇧ 45°; last selected tool restored at launch; Layers panel filter-type dropdown with Kind, Name and Mode, #5048; Free Transform box and marching ants follow the selection, #5297; History: the trash deletes the selected snapshot, rows drag onto the trash, #5324; smart filter reordering by drag; smart object perspective row corrected to done, #426; Free Transform H/V skew fields; toolbar tool shortcuts can be reassigned; ⇧-dragged Line truncated
How PhotoCraft's direct manipulation compares with Photoshop 2026 (27.11.0): the toolbox, the
handles and modifier keys of each gesture, nudging, snapping, numeric precision, navigation,
@@ -221,6 +221,7 @@ for partial sets; [scope, tests and visual evidence](multi-channel-editing.md).
| Tool keys: ← / → turn the brush tip (1°, ⇧ 15°), ⇧-click with Type starts new text over old, Space+F / ⇧Space+F cycle the pasteboard colour | done (2026-10-11) | |
| Type formatting keys while editing text | done: ⇧⌘K, U, B, I and / toggle All Caps, Underline, Faux Bold, Faux Italic, Strikethrough (off when every selected character has it, else on); ⌥↑/↓ leading ∓2 pt, ⇧⌥↑/↓ baseline shift ±2 pt (10 with ⌘); ⌥←/→ tracking ±20 over a selection (100 with ⌘; a collapsed caret still kerns); ⌥⇧⌘H toggles Hyphenate for the touched paragraphs. One `type.setStyle` step per press (new `leadingBy`/`baselineShiftBy`/`trackingBy`; auto leading starts from its laid-out value); the global ⇧⌘K/U/B/I never fire while typing. Differs: a collapsed caret in non-empty text changes nothing, since the model can't hold a pending style for the next characters typed (empty text takes it as its typing style) (`type_tool.rs`, `input_tests.rs` `type_tool_format_keys_*`) | |
| Paragraph box overflow mark: text past the box shows a + in its lower-right handle | done (2026-10-29): text a box can't hold (dropped layout lines) enlarges the box's lower-right handle and shows a black + in it, as the reference application does; agents read `typeBoxOverflow` in `ui.inspect` (false once the edit session ends). Differs: shown while the inline edit session is on the box, and not while its transform handles are up | `text::TextLayout::overflows`, `canvas_tests.rs` `an_overflowing_box_shows_a_plus_in_its_enlarged_lower_right_handle` |
| Image › Adjustments › Selective Color: each of the nine colours keeps its own Cyan, Magenta, Yellow and Black; choosing another colour shows its values; OK and Preview apply all nine | done (#11463): one editor shared with the Properties panel (`adjust_editors/selective_color.rs`, `adjust_dialog/tests.rs`, 2026-11-05). Preset menu and `.asv` files not yet | |
| ⌥ + an adjustment's shortcut opens it at its last settings (⌥⌘L Levels, ⌥⌘M Curves, and so ⌥⌘U, ⌥⌘B) | done (#8900): the settings of the last OK, kept in the preferences; Cancel and smart filter edits keep nothing; a key assigned to another command stays that command's. ⌥ while choosing the item from Image › Adjustments does the same | `shortcut_dispatch/tests.rs` `alt_adjustment_shortcut_reopens_the_last_confirmed_settings`, `alt_choosing_an_adjustment_from_the_menu_reopens_the_last_settings` |
| Guides: click selects, Delete deletes, right-click menu, ⌥-click turns a guide, double-click opens Guides, Grid & Slices | done (2026-10-12) | a guide let go over either ruler is removed, not only off the canvas (#6286) |
| Blend mode keys: ⇧⌥ + letter picks a mode (N Normal, I Dissolve, R Clear, P Pass Through, K M B A darken, G S D W lighten, O F H V J Z L contrast, E X difference, U T C Y component), ⇧+ / ⇧− step through them | done (2026-10-14): Brush, Pencil and Gradient take them as their own mode (Clear on Brush, Pencil and Paint Bucket only), any non-painting tool sets every selected layer in one undo step (Pass Through on groups only; the Background is skipped); the typed letter wins, the physical key is the fallback for ⌥ characters on a Mac. ⇧⌥ letters no longer switch tools. While a Free Transform box is open they, and the number keys, still reach the tool (or the layers) without closing it; Puppet Warp and Perspective Warp keep them to themselves. Clone Stamp, Pattern Stamp, History Brush, Healing (its own short list) and Paint Bucket (with Clear) take them as their own mode; tools without a blend mode (the Erasers, Mixer Brush) set the layers. Differs: Behind (⇧⌥Q) is not implemented; Spot Healing, Color Replacement, Blur, Sharpen and Smudge ignore the keys until their options bar has a Mode, and Dodge, Burn and Sponge ignore them until their Range and mode keys (⇧⌥S/M/H, ⇧⌥D/S) exist | `blend_keys.rs` |
@@ -271,6 +272,7 @@ Paragraph; the rest open as in-app floating windows.
|---|---|---|
| 2026-11-06 | minor | Units & Rulers › Column Size takes effect: Image Size and Canvas Size offer a Columns width unit (#6214); preferences that do nothing 10 → 8 of 192 |
| 2026-11-06 | minor | Channels panel menu (☰): the channel items, not only the rows' context menu; New Channel…, New Spot Channel…, Channel Options… and Merge Channels… open their dialogs (New Channel and Merge Channels are new), and Channel Options… in Quick Mask mode opens a targeted alpha channel's options (#11451). No percentage changed |
| 2026-11-05 | minor | Image › Adjustments › Selective Color keeps each colour's own Cyan, Magenta, Yellow and Black, and OK and Preview apply all nine colours; the dialog and the Properties panel share one editor (#11463) |
| 2026-11-02 | minor | Edit › Transform › Distort: the side handles move their edge freely, both its corners by the drag, stopping before the box folds as a corner does; Perspective's side handles skew along their edge, as in Photoshop (#10085). Not a new command, so no percentage changed |
| 2026-11-01 | minor | Every preference takes effect: 11 of 183 do nothing (was 12); Graphics Adapter always worked, but startup read it by raw JSON key, which the scorecard audit can't see |
| 2026-10-31 | minor | Layers panel filter-type dropdown: Color filters by the layers' label colour (#5898); Kind, Name, Mode, Color, Smart Object and Artboard, the other three missing; no percentage changed |