Commit Graph
10707 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 cbdce347f0 Background Eraser: Protect Foreground keeps the per-channel distance; tolerance doc
Only the sample match uses the measured increase-plus-decrease distance (#11901).
Protect Foreground Color keeps today's largest per-channel difference, as #11903
asks for its unmeasured cases. The tolerance doc describes the new distance and
the graded falloff.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 15:12:49 +01:00
David Mann a65a23f829 Merge remote-tracking branch 'origin/main' into fix/11901-bg-eraser-graded-alpha 2026-11-08 15:10:31 +01:00
David Mann 7acc08cbb9 Merge pull request #12306 from hectorviov/fix/mixer-indexed-bitmap
Mixer Brush: refuse Indexed Color and Bitmap documents with the alert (#11958)
2026-11-08 15:09:44 +01:00
David Mann 295615fa8c Merge pull request #12307 from hectorviov/fix/ruler-shift-snap
Ruler: Shift snaps to 45 degree steps without making the ruler longer (#11985)
2026-11-08 15:08:26 +01:00
David Mann 9a31a9bb19 Merge pull request #12279 from hectorviov/fix/smoothing-options-greyed
Smoothing Options: greyed out at Smoothing 0 % (#11939)
2026-11-08 15:07:14 +01:00
David Mann b0b41cee25 Merge pull request #12291 from DuBearte/fix/12022-hand-menu-entries
Hand tool: the canvas right-click menu lists only Fit on Screen, 100%, 200% and Print Size
2026-11-08 15:05:49 +01:00
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
Hector VillarrealandClaude Opus 5.5 48cdda6a89 Mixer Brush: open the Indexed/Bitmap refusal alert once, not once per press (CodeRabbit review on crates/ui-egui/src/canvas/tool_input.rs:373)
A press that arrives while the same refusal alert is still open (ui.pointer
can send one) no longer stacks a second alert, as the Background Eraser's
range alert already does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 01:09:01 -06:00
Hector Villarreal 541b972091 Ruler: Shift snaps to 45 degree steps without making the ruler longer (#11985)
constrain now keeps the pointer's legs instead of its distance: on a
diagonal step both legs take min(|dx|, |dy|) with their signs, and on a 0
or 90 degree step the dominant component stays and the other becomes 0.
This applies to drawing, to moving either endpoint around the other, and to
a protractor's second arm.
2026-11-08 00:41:16 -06:00
Hector Villarreal 8272e6b9f4 Mixer Brush: refuse Indexed Color and Bitmap documents with the alert (#11958)
A Mixer Brush stroke in an Indexed Color or Bitmap document now fails before
anything is painted, with the reference's alert texts (convert to RGB Color /
Grayscale mode to edit); paint.mixerBrush returns that error and leaves the
document and History unchanged. A press on the canvas shows it as an Error
alert instead of a status-bar message. RGB, CMYK, Lab and Grayscale still
paint.
2026-11-08 00:28:08 -06:00
Hector VillarrealandClaude Opus 5.5 44908ec831 Test the 1 % boundary, a 0 % round trip and the shown values at 0 % (CodeRabbit review 5816741552 on smoothing_options_greyed_tests.rs)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 23:54:54 -06:00
DuBearteandClaude Opus 5.5 79f4899008 Hand tool: the canvas right-click menu lists only the fixed zooms (#12022)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 00:37:01 -05: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 6abb358b18 Grey the Smoothing options when the field shows 0 % (CodeRabbit review on brush_controls.rs:63)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 22:58:12 -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
Hector Villarreal 8ff95219ab Smoothing Options: greyed out at Smoothing 0 % (#11939)
At Smoothing 0 % the gear's four Smoothing Options (Pulled String Mode,
Stroke Catch-up, Catch-up on Stroke End, Adjust for Zoom) are drawn
greyed and can't be toggled, keeping their values, as in the reference
application; above 0 % they work again. For the Brush and the Eraser,
the tools with this gear.
2026-11-07 21:41:13 -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