Photoshop gives these painting tools a Mode in the options bar; here they
always painted in Normal.
- Clone Stamp, Pattern Stamp and History Brush offer the layer modes, and
Healing its own list (Normal, Multiply, Screen, Darken, Lighten, Color,
Luminosity). The mode is kept in each tool's own brush, like its size,
and reaches the live stroke and the commit.
- Paint Bucket: paint.bucket takes "mode" (any blend mode, or "clear" to
erase the filled area). algo's bucket fill gains a FillMode for it. The
options bar's Mode has Clear after Dissolve, as the Brush's does.
- A tool's first brush now starts in Normal instead of inheriting the
previous tool's mode, so a Multiply Brush no longer makes the first
Clone Stamp stroke multiply.
- The Shift+Alt letter and Shift+Plus/Minus mode keys reach these tools,
within each tool's menu. Tools with no blend mode (the Erasers, Mixer
Brush, Dodge, Burn, Sponge) now pass the keys to the selected layers.
Not yet: Healing's Replace mode, and a Mode for Spot Healing, Color
Replacement, Blur, Sharpen and Smudge (they ignore the keys meanwhile).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With a Free Transform box, Puppet Warp or Perspective Warp open, Shift+Alt
letters, Shift+Plus/Minus and the number keys go where the active tool sends
them (the Brush's mode and opacity with the Brush, the layer's with the Move
tool) and never close the box. Puppet and Perspective Warp no longer swallow
those keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shift+Alt plus Photoshop's letter (N Normal, M Multiply, S Screen, O Overlay,
R Clear, P Pass Through...) sets the blend mode. With the Brush, Pencil or
Gradient it sets that tool's mode and never the layer's; with a non-painting
tool it sets every selected layer in one undo step. Pass Through applies to
groups only, Clear to Brush and Pencil only, and the Background is skipped.
The typed letter wins, so German Z is still Pin Light; the physical key is
the fallback for the characters Option types on a Mac.
Shift+Plus/Minus now also step every selected layer, and Brush/Pencil
cycling includes Clear after Dissolve, as in the options-bar dropdown.
Fixes Shift+Alt+tool letter switching tools: the tool-letter loop's
consume_key ignores extra modifiers, so blend_keys now runs before it.
Not yet: Behind (Shift+Alt+Q does nothing), and the painting tools without
an options-bar Mode (Clone Stamp, Healing, Paint Bucket...) ignore the keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Photoshop keeps a path-text layer's path only in its Txt2 frame (EngineData
calls it a text box the size of the path's bounds), so it opened as
paragraph text. The frame (kind /2 /0 = 2) holds the path as a flat list of
cubic segments at /1 /0, mapped to the TySh text space by /2 /2.
apply_txt2_path reads it into TextShape::Path (a closed path starting at its
last anchor, as Photoshop sets it); malformed or hostile frames keep the
box/point shape with an import warning.
build_txt2 writes a path layer's path into its object's frame (Photoshop's
own frame left byte for byte when the path is unchanged; flip and a moved
start written into the path), and a layer taken off its path loses its path
frame. A new document still saves path text as point text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
layer.smartObjects.replaceContents takes an ambient path and is refused in
serve/mcp. Add the capability-scoped sibling of doc.place: the file is read
beneath --automation-read-root and handed to the command's own core, as an
RPC method (doc.replaceSmartObject) and an MCP tool (doc_replace_smart_object).
#7847 added Portrait and Landscape to the Windows Print dialog. A turn took the
settings and the paper from file.print.page but kept the portrait printable
area, so Scale to Fit Media refused the turned sheet. It now takes the area
from the same answer, or drops it. The engine reads the driver's area through
settings_for_layout, the same turn print_windows makes, so a landscape layout
on portrait settings fits the landscape area.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The merge with main took main's generated docs/scorecard.md. It is
brought back in line with scorecard/file_compat.toml (FILE-215-19 done):
File compatibility 8 done / 14 partial / 5 missing, and the FILE-215-19
row with its status and note. Edited by hand to the generator's row
format, since `cargo xtask scorecard` isn't run locally; CI's
`cargo xtask scorecard --check` verifies it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflict in apps/photocraft/src/main.rs: main added
`app.perf.gpu_info.set_available(&rs.available_adapters)` where this branch
installs the texel guard; both are kept (set_available first, then
texel_guard::install).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve conflicts with #4's "Auto on Windows leaves Vulkan out when an
Intel adapter is present" (3c9c93ed) and #7813's adapter choice
(`configure` gained `wanted`):
- gpu_startup.rs: `intel_dx12_applied(.., vulkan_left_out)` from main and
the patch's `dx12_default_applied` become one
`dx12_default_applied(adapters, chosen, os, vulkan_left_out)` that
returns the maker's name (Intel or Qualcomm). `vulkan_left_out` counts
only for Intel, since only an Intel DXGI adapter makes
`windows_auto_backends` drop Vulkan. `configure` keeps main's `wanted`
parameter and Vulkan-free instance; the System Info note names the maker.
- Tests: keep both main's Intel instance test and the Qualcomm test,
updated to the merged signature, plus one assertion that Vulkan being
left out doesn't make a Qualcomm DX12 pick "the default".
- Module docs and docs/development.md: main's wording, with Qualcomm
(Windows on ARM) added to the DX12 default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main moved on (integration batch #8095 and others). Two conflicts:
- docs/gaps.md revision history: both rows kept, newest first.
- docs/scorecard.md (generated): main's version taken. It needs
`cargo xtask scorecard` again: with FILE-215-19 done, File
compatibility reads 8 done / 5 missing rather than main's 7 / 6.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>