Commit Graph
10969 Commits
Author SHA1 Message Date
David Mann 8892640978 Merge pull request #9272 from hectorviov/fix/hue-range-zone-drag
feat(ui): drag the zones of a Hue/Saturation colour range (#9252)
2026-11-09 02:00:39 +01:00
David Mann f88fa5e431 Merge remote-tracking branch 'origin/main' into pr-9272
# Conflicts:
#	docs/ui-parity.md
2026-11-09 00:49:57 +01:00
David Mann eda0af1911 Merge pull request #12395 from hsmith-dev/fix/cam-options-bar
Show Content-Aware Move's slider popups, tooltips, and transform actions
2026-11-09 00:28:27 +01:00
David Mann 4fb17729b3 Merge pull request #12186 from davidmann4/fix/11908-bg-eraser-angle-pressure
Background Eraser: Angle and Pressure for Size on the options bar (#11908)
2026-11-09 00:26:38 +01:00
David Mann 8e3152474c Merge pull request #12389 from hsmith-dev/fix/cam-transform-on-drop-default
Turn Content-Aware Move's Transform On Drop on by default
2026-11-09 00:17:33 +01:00
David Mann a76bb72b1f Merge pull request #10569 from hectorviov/feat/layer-copy-css
Layer › Copy CSS
2026-11-09 00:17:21 +01:00
David Mann 58115359a0 Merge pull request #12153 from davidmann4/fix/11903-bg-eraser-protect-fades
Background Eraser: Protect Foreground Color fades with the distance (#11903)
2026-11-09 00:17:09 +01:00
David Mann 44552ca97f Merge pull request #12191 from davidmann4/fix/11905-bg-eraser-transparency-lock
Background Eraser: erase transparency-locked layers (#11905)
2026-11-09 00:15:40 +01:00
David MannandClaude Opus 5.5 bf7d942f92 Address CodeRabbit review: Angle alert survives the window losing focus
Response::has_focus() is false while the window is in the background,
so the guard dropped a pending out-of-range entry; check the widget's
own focus instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 23:42:18 +01:00
David Mann a0dd7d74b2 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-08 23:30:59 +01:00
David Mann 6cb32d2759 Merge pull request #12354 from RickiNano/fix/cam-no-pixels-alert-12192
Content-Aware Move: warn "No pixels are selected." for a drag with no area (#12192)
2026-11-08 23:30:29 +01:00
David MannandClaude Opus 5.5 91f8b1104d Merge main into fix/11903-bg-eraser-protect-fades
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-11-08 23:30:19 +01:00
David Mann 3ef7bd1183 Merge pull request #12277 from hectorviov/fix/eraser-range-alerts
Eraser: Opacity, Flow and Smoothing out of range show the Closest value inserted alert (#11938)
2026-11-08 23:29:40 +01:00
David Mann 6883520bcf Merge pull request #12383 from rmsff/fix/healing-reset-tip-12099
fix(ui): Reset Tool gives the Healing Brush a 19 px hard tip at 25 % spacing (#12099)
2026-11-08 23:29:29 +01:00
David Mann a2cae35d4e Merge pull request #7809 from andeecollard/codex/macos-shortcuts
Use standard macOS Settings, Hide and Minimize shortcuts
2026-11-08 23:29:18 +01:00
David Mann d9e46405b6 Merge pull request #12329 from rmsff/fix/type-tool-locked-layer-alert-12040
fix(ui): a Type tool click on a Lock All text layer shows the locked alert (#12040)
2026-11-08 23:29:05 +01:00
David Mann a33af67a9c Merge pull request #12312 from tjbbjt/fix/free-transform-stalls
Free Transform: redraw only what the box changes; prepare large layers as a job
2026-11-08 23:28:49 +01:00
David Mann f8c11762e7 Merge pull request #9144 from dotCooCoo/feat/hand-scroll-all-windows
Hand tool: Scroll All Windows, or Shift while dragging, scrolls every shown document
2026-11-08 23:28:38 +01:00
David Mann 6c610a73f6 Merge pull request #9981 from ljkx/feat/smart-sharpen-canvas-preview
Filter dialogs: a click on the image centres the preview window (#9648)
2026-11-08 23:28:27 +01:00
David MannandClaude Opus 5.5 c571f81b1c Merge main into fix/11905-bg-eraser-transparency-lock
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-11-08 23:25:35 +01:00
David Mann 5594d18d18 Merge origin/main into feat/hand-scroll-all-windows 2026-11-08 22:24:12 +01:00
David Mann bdcbb0fa93 Merge origin/main into fix/hue-range-zone-drag 2026-11-08 22:24:05 +01:00
David Mann 0832f01bb7 Merge origin/main into feat/smart-sharpen-canvas-preview 2026-11-08 22:24:00 +01:00
David Mann 118fc0da6b Merge remote-tracking branch 'origin/main' into HEAD 2026-11-08 22:17:36 +01:00
David Mann 70c0911d4e Merge pull request #12399 from davidmann4/fix/12397-wand-seed-tests-antialias
Magic Wand seed-outside tests expect the measured Anti-alias fringe, main green again (#12397)
2026-11-08 21:57:33 +01:00
David Mann dff5d29584 Merge remote-tracking branch 'origin/main' into fix/12397-wand-seed-tests-antialias 2026-11-08 21:03:43 +01:00
David MannandClaude Opus 5.5 bfe5d2a671 Magic Wand seed-outside tests: keep Anti-alias on, expect the measured fringe (#12397)
Instead of turning Anti-alias off, the tests keep the default setup and
expect the reference application's measured results (#11776, #11779):
the selection ends at 381, Subtract at 219, Intersect runs 219-381.
Suggested by hectorviov on #12399.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 21:03:37 +01:00
David MannandClaude Opus 5.5 4e43c23e43 Magic Wand seed-outside tests: Anti-alias off, so they test the modes with hard edges (#12397)
#12146 gives near-matching neighbours a soft fringe when Anti-alias is on.
The #11848 tests left Anti-alias at its default and expected exact column
bounds, so main's engine tests failed (381 instead of 380).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 20:31:42 +01:00
e9cac335b4 Regenerate the parity checklist and scorecard after merging main into #10569
Co-Authored-By: hectorviov <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 20:25:11 +01:00
David Mann a879c6ac0a Merge main into #10569
# Conflicts:
#	crates/ui-egui/src/menu_catalog.rs
2026-11-08 20:20:12 +01:00
David Mann a17acfa7a7 Merge pull request #12049 from DuBearte/fix/11897-clear-on-background
Brush: Clear on the Background paints as Normal and the Mode reads Normal
2026-11-08 20:16:11 +01:00
David Mann 3ef886c2e0 Merge pull request #12382 from TrevorBrown-dev/fix/layer-via-copy-capital-12357
Menus: Layer Via Copy and Layer Via Cut with a capital V, as in the reference (#12357)
2026-11-08 20:10:52 +01:00
David Mann 8acd45bfa9 Merge pull request #12298 from TrevorBrown-dev/fix/patch-destination-selection-12119
Patch: in Destination mode the selection moves with the patch (#12119)
2026-11-08 19:56:56 +01:00
David Mann 4e5f150eb4 Merge pull request #12146 from hectorviov/fix/wand-antialias-fringe
Magic Wand: Anti-alias keeps the region whole and softens only near-matching neighbours (#11776)
2026-11-08 19:49:41 +01:00
David Mann 5b0c31fc47 Merge pull request #11845 from mzuniga37/fix/11770-count-click-shows-count
Count tool: adding a marker turns View > Show > Count back on (#11770)
2026-11-08 19:49:27 +01:00
David MannandClaude Opus 5.5 f72fd4649e Merge origin/main into #12153: Protect Foreground narrows the graded Tolerance
main brought the graded erase (#11901), decontamination (#11902) and graded
Find Edges (#11904) into bg_erase.rs, and kept Protect Foreground Color on the
largest per-channel difference to the foreground. Resolved by narrowing the
Tolerance itself: with protection on, graded_weight runs on min(Tolerance,
distance from the sample to the foreground); a foreground equal to the sample
erases nothing. This replaces the distance stretch from before the merge.

Measured in the reference application with the issue's drag, foreground off in
two channels: (100,140,40) gives 0 32 75 112 156 196 238 255 (no protection),
(150,90,40) the block-5 row, (230,90,40) and (200,90,70) a Tolerance of 50
levels. So the narrowing uses the sample-match distance (largest increase plus
largest decrease), not the largest per-channel difference: the test on main
that kept the sampled colour for a two-channel foreground is replaced by these
rows. The reference rows of #11903 now match within 8 levels, 8- and 16-bit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 19:44:24 +01:00
David Mann f235e9f30c Merge pull request #12154 from davidmann4/fix/11902-bg-eraser-decontamination
Background Eraser: partly erased pixels lose the sampled colour's tint (#11902)
2026-11-08 19:34:28 +01:00
David Mann 83e2172336 Merge pull request #11848 from DuBearte/fix/11779-wand-seed-outside
fix(engine): Magic Wand Subtract and Intersect grow from the seed through the selection (#11779)
2026-11-08 19:33:29 +01:00
Harrison Smith 5dc2ad27fb Show Content-Aware Move's slider popups, tooltips, and transform actions
Structure and Color open a whole-number slider. A typed value outside the range
opens an OK alert and keeps the closest value. While the Transform On Drop box
is up, the bar is greyed and Cancel then Commit sit at the right end.

Fixes #12193
2026-11-08 11:28:47 -07:00
David Mann fa41efebc5 Merge pull request #9348 from VoiceLessQ/pattern-preview-wrap-tools
paint: 12 more painting tools wrap across the canvas edges in Pattern Preview (#8883)
2026-11-08 19:22:34 +01:00
David Mann 9eb2abcf33 Merge pull request #9396 from kavishkashehan726-sudo/fix/9356-pen-continue-path
Pen: carry on a shape's or vector mask's open path, and show the cont…
2026-11-08 19:22:19 +01:00
David Mann 40c310dfa3 Merge pull request #5224 from augrclk/fix/brush-spacing-row
Brush Settings: combine the Spacing checkbox and percentage header
2026-11-08 19:22:06 +01:00
David MannandClaude Opus 5.5 3d2667d0e6 Background Eraser: channel-target preview mixes back unlocked like its commit (#12191)
On a transparency-locked layer with a colour-channel target, the live
preview mixed the dabs back with the lock (straight mix) while the commit
mixes premultiplied without it, so at 32 bits partly transparent pixels
rounded differently in the preview. The channel branch now builds the
LiveDab unlocked and pushes the points afterwards, as the RGB branch does.
The test now runs at 8, 16 and 32 bits over a half-transparent strip at
half opacity; it failed at 32 bits before the fix.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 19:12:17 +01:00
David Mann d351491e93 Merge remote-tracking branch 'origin/main' into pr-12191 2026-11-08 19:03:22 +01:00
David MannandClaude Opus 5.5 1c05802653 Background Eraser: tell the Angle's wheel steps from typing by the field's own wheel (#12186)
The Angle field took any frame's scroll delta for a wheel step. That was wrong both ways: a
focused field's wheel is taken out of the frame before layout, so its steps past 180 showed the
range alert, and a view scroll arriving with typed text suppressed the alert (CodeRabbit). The
field now asks field_wheel whether it was handed wheel notches, and only an entry made with the
field's focus can alert.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 19:03:03 +01:00
Harrison Smith 9836b213e2 Turn Content-Aware Move's Transform On Drop on by default
A fresh start and Reset Tool leave the checkbox on, so a drop shows the
scale and rotate box. Enter still commits and Escape still cancels. A
saved false stays off, and a missing key takes the new default. A plain
move still sends paint.contentAwareMove with no scale or rotate.

Fixes #12185
2026-11-08 11:01:17 -07:00
RickiNano bf330293cb Content-Aware Move: exact 8-bit rounding and a bounded no-pixels scan (#12192)
Review follow-up. A pixel counts as selected exactly when the selection's
coverage8 stores it nonzero: the least such coverage is found once by
bisecting the f32 bits, so the scan stays one compare per pixel.

The scan no longer costs more than the select.lasso it replaces: strips
start at 64 rows and double up to about 4 MP, and each strip is checked
in parallel, branch-free blocks (sequential on wasm). A corner-to-corner
line on 7360 x 4912 now takes 25-32 ms (was 65-73 ms; select.lasso took
23-27 ms). A lasso that selects is still answered after the first strip.

Adds a test for a lasso over pixel centres with Anti-alias off.
2026-11-08 18:59:50 +01:00
RickiNano e9d9c2a18c Content-Aware Move: decide "no pixels" by the lasso's own coverage (#12192)
Review follow-up. The check rasterizes the lasso as select.lasso does
(polygon_window over the canvas, kept from 1/255 as the selection stores
it) instead of a half-pixel area threshold. A tiny anti-aliased lasso that
covers part of a pixel selects it as before, and a thin lasso between
pixel centres without anti-aliasing now warns instead of adding an empty
Lasso step. Only the lasso's bounds are rasterized, 64 rows at a time,
stopping at the first selected pixel.

The Don't show again test now checks what reaches the preference store
and that a restart reads it back.
2026-11-08 18:59:50 +01:00
RickiNano 85c70cab19 Content-Aware Move: warn "No pixels are selected." for a drag with no area (#12192)
With no selection, a Content-Aware Move drag that encloses no area (a
click or a straight line) now opens the alert "No pixels are selected."
with OK and "Don't show again", instead of silently running select.lasso
on an empty polygon. No History state is added and nothing is selected.
A drag that encloses an area, a drag with a selection, and the Lasso tool
keep their behaviour.

"Don't show again" is a small reusable addition to the app's Error alert
(dialogs/dont_show_again.rs): the alert carries the dialog-preference key
it sets, and closing it with the box ticked keeps {"skip": true} there.

Fixes #12192
2026-11-08 18:59:50 +01:00
David Mann ea6a1781cd Merge remote-tracking branch 'origin/main' into pr-12186 2026-11-08 18:54:27 +01:00