Commit Graph
10693 Commits
Author SHA1 Message Date
David Mann 6742c417e5 Merge pull request #12286 from DuBearte/fix/12068-zoom-bar-buttons
Zoom tool bar: 100%, Fit Screen and Fill Screen with the reference tooltips, no hint text
2026-11-08 15:04:16 +01:00
David Mann d4a92e1d2f Merge pull request #12293 from hectorviov/fix/mixer-blend-combinations
Mixer Brush: Useful mixer brush combinations dropdown (#11946)
2026-11-08 15:01:34 +01:00
David Mann d700555ac2 Merge pull request #12254 from hectorviov/fix/brush-refusal-alerts
Brush: the reference's alert when it can't paint
2026-11-08 14:59:21 +01:00
David Mann 7d8c18c34e Merge pull request #12265 from hectorviov/fix/color-replacement-refuses-modes
Color Replacement: refuse RGB/32, Grayscale, Bitmap and Indexed documents
2026-11-08 14:56:43 +01:00
David Mann b57ecbc683 Merge pull request #12260 from hectorviov/fix/color-replacement-lab
Color Replacement: in Lab, Color keeps L and takes the foreground's a and b
2026-11-08 14:54:14 +01:00
David Mann 959d2b0443 Merge pull request #12274 from TrevorBrown-dev/feat/patch-shift-constrain-12129
Patch: Shift during the drag keeps the patch horizontal or vertical (#12129)
2026-11-08 14:52:24 +01:00
David Mann 6dfd9033d4 Merge pull request #12253 from hectorviov/fix/background-eraser-reset-tip
Background Eraser: a 13 px hard tip at 25 % spacing after Reset Tool
2026-11-08 14:50:31 +01:00
David Mann 635303f03b Merge pull request #12269 from hectorviov/fix/eraser-block-right-click
Eraser: in Block mode a right-click opens the Brush / Pencil / Block menu
2026-11-08 14:48:31 +01:00
David Mann dada110838 Merge pull request #12263 from hectorviov/fix/color-replacement-history-name
Color Replacement: History names each edit "Color Replacement Tool"
2026-11-08 14:35:37 +01:00
David Mann f3596b86ea Merge pull request #12257 from hectorviov/fix/background-eraser-brush-popup
Background Eraser: the compact brush popup from the picker and a right-click
2026-11-08 14:17:19 +01:00
David Mann 2acece2a51 Merge pull request #12256 from hectorviov/fix/color-replacement-alt-click
Color Replacement: Alt+click picks the foreground like the Eyedropper
2026-11-08 14:11:56 +01:00
David Mann 7acc57a25f Merge pull request #12252 from hectorviov/fix/smart-object-rasterize-wording
Rasterize prompt: the smart object wording as in the reference
2026-11-08 14:08:35 +01:00
David Mann a36428ccf2 Merge pull request #12248 from hectorviov/fix/blend-keys-leave-behind
Blend mode keys leave Behind when they pick another mode
2026-11-08 13:56:38 +01:00
David Mann 6ab9915718 Merge pull request #11852 from yoriswind/codex/toolbar-first-w-11757
Use toolbar order for fresh tool shortcuts
2026-11-08 12:21:52 +01:00
David Mann 320d285e1a Merge pull request #9887 from Firstbober/feat/indexed-color-matte
feat: add Indexed Color Matte options
2026-11-08 12:20:27 +01:00
David Mann 60ad38d4ae Merge pull request #5250 from augrclk/fix/brush-scatter-axes-header
Brush Settings: place Both Axes on the Scatter header
2026-11-08 12:19:26 +01:00
David Mann 342760093e Merge pull request #10823 from ljkx/fix/gradient-stop-drag-off
Gradient stops dragged off the bar are removed in every stop editor (#10742)
2026-11-08 12:16:52 +01:00
DuBearteandClaude Opus 5.5 cac9c70afc Zoom tool bar: 100%, Fit Screen and Fill Screen with the reference tooltips (#12068)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 00:11:58 -05:00
Hector Villarreal 3069a2d071 Mixer Brush: Useful mixer brush combinations dropdown (#11946)
Between the Clean after each stroke toggle and Wet: Custom, then Dry, Moist,
Wet and Very Wet with their Light/Heavy variants (separators above each
group). Picking an entry sets Wet, Load and Mix in one change and leaves
Flow; the picked entry stays shown after a typed value, and Reset Tool shows
Custom again.
2026-11-07 23:02:14 -06:00
Hector VillarrealandClaude Opus 5.5 d22ed9e692 Test each tool's hidden-layer refusal as it is shown (CodeRabbit review on crates/ui-egui/src/hidden_layer_tests.rs:77)
The Brush must open its alert; the other tools must keep the status-bar
message and open no dialog, as #11898 asks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 22:18:11 -06:00
Hector VillarrealandClaude Opus 5.5 e49c842653 Color Replacement refusal test compares the whole surface (CodeRabbit review on crates/engine/src/cmd/color_replacement_modes_tests.rs:34)
The no-painting check looked at row 32 only; it now snapshots every pixel.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 22:17:14 -06:00
FredApps aae9b7ea61 Merge pull request #11647 from Triwarr/pdf
PDF: import pages as artboards, export a page per artboard (+ recursive group export)
2026-11-08 05:01:46 +01:00
Hector VillarrealandClaude Opus 5.5 1cf1e15da5 Keep Lab/16 Color Replacement on the RGB blend (CodeRabbit review on crates/paint/src/replace.rs:101)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 21:41:31 -06:00
Trevor BrownandClaude Sonnet 5.5 d17e1f114b Patch: Shift during the drag keeps the patch horizontal or vertical (#12129)
Shift pressed after mouse-down snaps the Patch offset to the dominant axis (0/90 degrees only, no 45); the outline, the live preview and the applied patch use the snapped offset; Shift at mouse-down still adds to the selection. Four tests in patch_shift_constrain_tests.rs cover snapping, the three consumers, the add-at-press case and the no-45-degree case.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-07 22:39:14 -05:00
Hector VillarrealandClaude Opus 5.5 fe210916f9 Check Size control is off after Reset All Tools (CodeRabbit review on crates/ui-egui/tests/it/background_eraser_reset_tip.rs:76)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 21:30:58 -06:00
Hector Villarreal 3ee54ede0f Eraser: in Block mode a right-click opens the Brush / Pencil / Block menu (#11937)
With the Eraser in Block mode, a plain right-click on the canvas opens
the Brush / Pencil / Block menu at the pointer instead of the Brush
Preset picker, whose Size and Hardness mean nothing for the Block, as in
the reference application. Picking an entry sets the mode without
erasing or adding history. Brush and Pencil mode keep the picker,
Shift+right-click opens the menu in every mode, and with the Erase
preference a right-click still erases.
2026-11-07 21:11:34 -06:00
Hector Villarreal 60e45bb926 Color Replacement: refuse RGB/32, Grayscale, Bitmap and Indexed documents (#11923)
paint.colorReplacement and its live stroke refuse the modes and depths
the reference application refuses, with its words: 32 bit per channel
RGB, Grayscale and Bitmap (only full color modes), and Indexed Color.
Nothing is painted and no history is added. RGB/8, RGB/16, CMYK and Lab
paint as before; cases that weren't measured keep today's behaviour.
2026-11-07 21:00:56 -06:00
Triwarr 2d16a609ea Merge remote-tracking branch 'origin/main' into pdf
# Conflicts:
#	docs/scorecard.md
2026-11-08 03:48:47 +01:00
Hector Villarreal 6b9628c92f Color Replacement: History names each edit "Color Replacement Tool" (#11933)
A Color Replacement click, stroke or Shift+click segment adds one History
state named "Color Replacement Tool", as in the reference application.
The command's label is the same name, so a recorded action's step reads
the same as the History state.
2026-11-07 20:47:03 -06:00
David Mann e04ecbdaa3 Merge pull request #10448 from qvest-ssels/feat/export-last-folder-10192
Export dialogs start in the last exported folder (#10192)
2026-11-08 03:45:55 +01:00
David Mann fda05f7b02 Regenerate docs/scorecard.md (merge queue)
On main + #10448, so main's gate stays green after the merge.
2026-11-08 03:45:37 +01:00
David Mann 62776f4b58 Merge branch 'main' into feat/export-last-folder-10192 (merge queue) 2026-11-08 03:45:33 +01:00
David Mann 420a9364e6 Merge pull request #10222 from aethelisdev/fix-wayland-drag-and-drop
ui-egui: support native file drag and drop on Wayland
2026-11-08 03:44:16 +01:00
Hector Villarreal 7efd224081 Color Replacement: in Lab, Color keeps L and takes the foreground's a and b (#11922)
In a Lab document the Color mode no longer blends through RGB (which
changed the pixel's L): it keeps the stored L and moves a and b to the
foreground's, as in the reference application. Hue, Saturation and
Luminosity keep today's RGB blend.
2026-11-07 20:25:05 -06:00
517d0a9eea Merge origin/main into #9887 (Indexed Color Matte)
Keeps main's Fade preview path in filter_preview.rs and passes the PR's
tool colours to the non-Fade preview; catalogs keep both sides' rows.

Co-Authored-By: Firstbober <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 03:23:31 +01:00
Hector Villarreal 479ea9c96b Background Eraser: the compact brush popup from the picker and a right-click (#11910)
With the Background Eraser, the options-bar brush picker and a canvas
right-click open the reference application's compact popup instead of
the Brush Preset picker: Size, Hardness and Spacing with sliders, the
angle/roundness widget, Angle and Roundness, then the Size: and
Tolerance: pen dropdowns (Off, Pen Pressure, Stylus Wheel), the latter
with the tablet warning. No preset list or search field. Tolerance's
control is a tool option (Pen Pressure by default); Size's is the tool's
brush. Other tools keep the Brush Preset picker.
2026-11-07 20:22:51 -06:00
Hector Villarreal bb94bbef7b Color Replacement: Alt+click picks the foreground like the Eyedropper (#11914)
Holding Alt turns the Color Replacement tool into the Eyedropper, as in
the reference application: Alt+click and Alt+drag set the foreground
colour with the Eyedropper's settings, add no history state and change
no pixel, and the cursor shows the eyedropper. Ctrl+Alt keeps its
brush-resize meaning; a plain click still paints.
2026-11-07 20:11:29 -06:00
Hector Villarreal eb68c21f94 Brush: the reference's alert when it can't paint (#11898)
A Brush press on a hidden target layer, a layer with Lock All, or a
group's pixels opens the reference application's alert with OK instead
of a status-bar message, and paints nothing. The texts name the tool
from one place (brush_refusal::tool_name); tools whose wording wasn't
measured keep today's status bar. A group's targeted mask and Lock
transparent pixels still paint.
2026-11-07 19:56:20 -06:00
David Mann b30c5c8095 Merge pull request #12142 from hectorviov/fix/star-tool
Toolbar: Star Tool in the shape slot between Polygon and Line (#11377)
2026-11-08 02:56:14 +01:00
David Mann ed893ea812 Merge pull request #12188 from davidmann4/fix/11909-bg-eraser-tolerance-field
Background Eraser: Tolerance takes whole numbers 1-100 with an alert, bar tooltips (#11909)
2026-11-08 02:54:43 +01:00
David Mann f28cf95c88 Merge pull request #11921 from davidmann4/fix/11733-color-sampler-context-menu
Color Sampler: right-click menu on the canvas (#11733)
2026-11-08 02:51:57 +01:00
Hector Villarreal fdbb79e46f Background Eraser: a 13 px hard tip at 25 % spacing after Reset Tool (#11911)
fresh_brush gives the Background Eraser the reference application's
reset tip, a 13 px hard round at 25 % spacing with Size control off, as
it gives the Brush its own (#11810). Reset Tool, Reset All Tools and the
tool's first use all start from it; other tools and strokes without a
brush keep their tips.
2026-11-07 19:50:53 -06:00
David Mann 02abef5983 Merge pull request #11920 from davidmann4/fix/11907-bg-eraser-digit-keys
Background Eraser: number keys set the Tolerance (#11907)
2026-11-08 02:50:02 +01:00
David Mann 4a7d746c0a Merge pull request #11823 from davidmann4/fix/11812-brush-opacity-minimum
Brush: opacity minimum 1 % and "00" sets 100 % (#11812)
2026-11-08 02:49:28 +01:00
Hector Villarreal 1f30e48673 Rasterize prompt: the smart object wording as in the reference (#11899)
The prompt for painting on a smart object reads "This smart object must
be rasterized before proceeding. Edit Contents will no longer be
available. Rasterize the smart object?", lower-case "smart object" as
measured. The 22 catalogs that translated the old text are re-keyed to
the new English text, so those languages keep a translation. The type,
shape and fill prompts are unchanged.
2026-11-07 19:45:31 -06:00
Triwarr 3ef91ec45a PDF: widen the dense-page cancellation margin
Raise the synthetic page to a million strokes so the 45 ms watcher
threshold keeps a wide margin on an optimised test build, and record why
the importer keeps one RenderCache per page.
2026-11-08 02:41:37 +01:00
David Mann 4da02a98a6 Merge pull request #9975 from ljkx/feat/cli-metadata-option
CLI: --metadata none|all leaves document XMP out of convert, run --out and batch exports (#9466)
2026-11-08 02:40:35 +01:00
960bd438e3 Merge origin/main into PR #5250 (Both Axes on the Scatter header)
Co-Authored-By: augrclk <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 02:37:20 +01:00
Triwarr 1df674997b PDF: cancel dense pages, complete page labels, isolate artboards
- render_page: forward Interrupt to craft-pdf through an owned flag and a
  scoped 5 ms watcher, so dense vector pages stop mid-render.
- Warn when craft-pdf reports a substituted font (the backend does not emit
  the flag yet).
- /PageLabels: emit an entry for every page, start at 0, and write no tree
  when every artboard name is empty.
- Export budget: charge retained page data plus the largest page's two f32
  buffers instead of the whole document canvas, saturating on overflow.
- Render each artboard from a document holding only its group, so
  overlapping boards no longer paint on each other's pages. One document
  shell is cloned and reused.
- Tests: dense-page cancellation, labels with an empty middle name and all
  empty, overlapping artboard pixels, sparse 9000x9000 canvas, seven US
  Letter pages.
2026-11-08 02:34:58 +01:00
David Mann 8c6f5d538e Merge origin/main into fix/gradient-stop-drag-off (#10823)
# Conflicts:
#	docs/ui-parity.md
2026-11-08 02:33:41 +01:00