Commit Graph
12793 Commits
Author SHA1 Message Date
FredApps 9750d9145b Merge branch 'main' into ci/shared-actions-audit 2026-11-13 14:06:03 +01:00
David Mann 0b15ad2401 Merge pull request #13660 from ljkx/fix/12933-quick-selection-group-target
Quick Selection: a group active without Sample All Layers selects the brush disc (#12933)
2026-11-13 13:32:20 +01:00
David Mann e5d9b839c4 Merge pull request #13684 from rmsff/fix/direct-selection-shift-angle-13207
Direct Selection: a shallow Shift anchor drag stays on the axis
2026-11-13 13:32:09 +01:00
David Mann 398f6e16a0 Merge pull request #13301 from rmsff/fix/healing-alt-cursor-12113
Healing Brush: Alt shows the fixed target cursor at any tip size
2026-11-13 13:31:57 +01:00
ljkx bf4b20b025 Quick Selection: a frame active keeps reading the composite
A frame is a group too, but the reference application was not measured
with one active, so it keeps today's behaviour, as an artboard does.
2026-11-13 11:43:08 +01:00
rmsff b173c9b587 Test the Shift angle of a Direct Selection anchor drag 2026-11-13 13:32:56 +03:00
rmsff 98ec3b4b93 Keep a shallow Shift anchor drag on the axis in Direct Selection
The reference application keeps a (+60, -25) Shift drag of an anchor horizontal, just past the 22.5 degree split of snap45. A new snap45_anchor keeps drags up to that slope on the axis; steeper drags and the Gradient tool's snap45 are unchanged.
2026-11-13 13:32:56 +03:00
ljkx 9ff5aa8565 Quick Selection: a group active without Sample All Layers selects the brush disc (#12933)
A group has no pixels of its own, so with Sample All Layers off Quick
Selection fell back to the composite and a click selected a whole shape
from the layers inside. The reference application selects only the brush
disc there, as on a flat area. Quick Selection now reads a flat image for a
group (not an artboard) when Sample All Layers is off; with it on, and for
an adjustment layer, it reads the composite as before.
2026-11-13 10:46:01 +01:00
FredApps 0fb40c534a Merge pull request #4420 from vangel76/docs/parity-refresh-2
Docs: refresh ui, localization, brush and hardware parity docs against main (#4419)
2026-11-13 10:33:13 +01:00
RickiNanoandFredApps bf0377c28d Live stroke canvas test: wait for the stroke to settle before the drawing picture (#13477) (#13514)
* Live stroke canvas test: wait for the stroke to settle before the drawing picture (#13477)

The live stroke paints on its own thread and a frame waits only 6 ms for it.
A step that finishes later is collected only by the next pointer event, so on
a slow runner the "drawing" picture could show the stroke one step behind and
release painted the rest (76/255 on CI). The test now holds the pointer still
(repeats its last move) and takes pictures with short real waits until three
in a row match, bounded so it can't hang.

Test-only change.

* Live stroke canvas test: also wait for the stroke to go idle (#13477)

Matching pictures alone don't prove a slow step has finished, so the settle loop
now also requires the live stroke to be idle. PhotocraftApp::live_stroke_busy
exposes the existing internal check read-only for that.

* Fail the live stroke test if settling times out

---------

Co-authored-by: FredApps <[email protected]>
2026-11-13 10:30:45 +01:00
David Mann 522257977a Merge remote-tracking branch 'origin/main' into pr-13301
# Conflicts:
#	crates/ui-egui/src/canvas/cursors.rs
2026-11-13 10:26:07 +01:00
David Mann 8a841af09b Merge pull request #13625 from wanikhawar/fix/13284-path-selection-ctrl-direct
Path Selection: Ctrl/Cmd acts as Direct Selection (#13284)
2026-11-13 10:24:02 +01:00
David Mann b6307e0e57 Merge pull request #13613 from chamber074/fix/bucket-transparent-seed
Paint Bucket: transparent and semi-transparent seeds get their own match rule
2026-11-13 09:40:58 +01:00
David Mann 7f93b2e0a8 Merge pull request #13502 from RickiNano/fix/13258-arrow-concavity-range
Line tool: arrowhead Concavity takes -50..50 % (#13258)
2026-11-13 09:40:47 +01:00
David Mann 1f8f724ad4 Merge pull request #13190 from TrevorBrown-dev/fix/space-hand-menu-esc-pasteboard-11271
Space-Hand view menu: Esc closes only the menu and Enter can't reach a pending crop; the pasteboard menu under Space (#11271)
2026-11-13 09:40:34 +01:00
David Mann 373addc734 Merge pull request #13382 from tjbbjt/perf/free-transform-drag-stalls
Free Transform: follow the pointer from the press and build mip levels off the UI thread
2026-11-13 09:40:22 +01:00
David Mann eca85cda00 Merge pull request #13321 from RickiNano/fix/13304-polygon-sides-alert
fix(ui): Polygon Sides alerts when a typed value is past 3-100 (#13304)
2026-11-13 09:40:07 +01:00
David Mann b0278d0777 Merge pull request #13494 from wanikhawar/fix/path-selection-enter-escape-13287
Path Selection: Enter deselects the components and untargets the path, Escape deselects them (#13287)
2026-11-13 09:39:57 +01:00
David Mann 78fd56e4b2 Merge pull request #13248 from RickiNano/fix/ellipse-shift-shorter-side-13222
Shape tools: Shift draws the square or circle from the shorter side of the drag (#13222)
2026-11-13 09:39:46 +01:00
David Mann 1feede918e Merge pull request #12930 from rmsff/fix/pattern-stamp-indexed-refusal-12887
Refuse an RGB pattern with the Pattern Stamp in Indexed Color
2026-11-13 09:39:36 +01:00
David Mann 2423a8163d Merge pull request #13259 from rmsff/fix/clone-stamp-indexed-options-bar-12613
Clone Stamp: grey Sample at Current Layer and read Mode as Threshold in Indexed Color
2026-11-13 09:39:25 +01:00
David Mann 35dba67a19 Merge pull request #13143 from rmsff/fix/remove-options-bar-labels-12546
Remove tool: options bar labels, order and tooltips
2026-11-13 09:39:14 +01:00
David Mann 95543a03c2 Merge pull request #13312 from rmsff/fix/pattern-stamp-opacity-flow-12616
Pattern Stamp: Opacity and Flow on the options bar and in its strokes
2026-11-13 09:39:03 +01:00
David Mann 363384d843 Merge pull request #13144 from rmsff/fix/paint-bucket-cursor-12539
Paint Bucket cursor: arrow at the bucket's top left, hotspot on its tip
2026-11-13 09:38:53 +01:00
David Mann 08708c6122 Merge pull request #12264 from hectorviov/fix/color-replacement-cursor-centre
Color Replacement: the brush cursor always shows its centre +
2026-11-13 09:38:42 +01:00
David Mann 83b8d32c9a Merge pull request #12243 from ElNeMeR70/fix/pencil-reset-tool-defaults-12200
fix(ui): give the Pencil tool a 1 px hard tip on start and Reset Tool
2026-11-13 09:38:32 +01:00
David Mann dd444f859e Merge pull request #12644 from x-labb/fix-12010-gradient-alpha-method
fix(engine): a gradient's transparency follows the interpolation method (#12010)
2026-11-13 09:38:21 +01:00
David Mann 119ef40192 Merge pull request #13093 from rmsff/fix/paint-bucket-right-click-mode-menu-12530
Paint Bucket: a plain right-click on the image opens its Mode list
2026-11-13 09:38:10 +01:00
FredAppsandFredApps ff6431628b Reset rotated canvas with idle Escape (#13607)
Co-authored-by: FredApps <[email protected]>
2026-11-13 09:14:28 +01:00
FredAppsandFredApps 7dc578de3b Fix modified lasso clicks clearing selections (#13612)
Co-authored-by: FredApps <[email protected]>
2026-11-13 09:08:12 +01:00
Josias Eli Rodriguez 80bd726158 algo: keep the bucket wrapper crate-private; unmeasured semi-transparent colours keep the alpha band 2026-11-13 01:11:41 -06:00
Josias Eli Rodriguez 5791adc00d Merge remote-tracking branch 'upstream/main' into fix/bucket-transparent-seed
# Conflicts:
#	crates/algo/src/paint.rs
2026-11-13 00:50:04 -06:00
Khawar Zamman Wani 0264b4dde9 Path Selection: Ctrl/Cmd acts as Direct Selection (#13284)
With Path Selection and Ctrl/Cmd held alone, a press on an anchor, handle
or segment goes through Direct Selection, so a Ctrl-drag on one anchor
moves only that anchor in one History step. Releasing Ctrl goes back to
Path Selection. Ctrl with Alt or Shift keeps today's behaviour (not
measured in the reference application).
2026-11-13 12:19:21 +05:30
Josias Eli Rodriguez c5558f6644 algo: Paint Bucket gets its own match rule for transparent and semi-transparent seeds 2026-11-13 00:47:56 -06:00
RickiNano 675bd970f3 Line tool: fill the wedge a concave arrowhead leaves; whole-percent concavity (#13258)
With a base bent toward the tip, the shaft stopped where the bent base
crosses its edge and left the wedge up to the base's middle unfilled. The
shaft's end now follows the bent base to its middle, which fills the wedge
without reaching past the head's flanks, matching the reference outline.

shape.create / shape.edit round arrowConcavity to a whole percent, as the
gear and Properties fields do.
2026-11-13 06:11:29 +01:00
RickiNano a7990ee1f2 Line tool: arrowhead Concavity takes -50..50 % (#13258)
Concavity is a whole number from -50 % to 50 % of the head's length, as in
Photoshop. A negative value bends the head's base away from the tip, and the
shaft now ends where the bent base crosses the shaft's edge. Values outside
the range (documents, PSDs and settings saved with the old 0..100 range) are
clamped to the nearest end instead of failing.

- vector: arrow_line bends the base by concavity x length, both directions
- engine: shape.create / shape.edit take arrowConcavity in -50..=50
- io: PSD import keeps negative concavity, clamped to -50..50
- ui: gear and Properties Concavity are whole-number fields with the
  "Closest value inserted" alert; the gear menu stays open on clicks inside
  so a value can be typed
2026-11-13 06:11:29 +01:00
David Mann 6a1af3f654 Merge remote-tracking branch 'origin/main' into pr-13312
# Conflicts:
#	crates/ui-egui/src/canvas/paint_mouse.rs
2026-11-13 03:36:57 +01:00
ae51bd1a5d #12243: main's Remove-tool reset test expects the Pencil's 1 px tip
Main's other_tools_keep_their_reset_sizes (#12548) still listed the Pencil
at the old 20 px reset size; with #12200 the Pencil resets to its 1 px hard
round.

Co-Authored-By: ElNeMeR70 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 03:09:25 +01:00
bf0c2d426c Merge origin/main into #12243 (Smudge and Remove tips)
Main gave the Smudge tool its own reset tip and the Remove tool its 19 px
size; the fresh_brush doc keeps both sides' tool lists. The cursor test
failures on the PR's last run were main's at the old base (fixed on main
by 79a33dae9c).

Co-Authored-By: ElNeMeR70 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 02:55:20 +01:00
2124972069 PR #13248: name the reference application in the new comments
The two comments the PR adds named the reference product by its trademark;
public text says "reference application".

Co-Authored-By: RickiNano <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 02:50:36 +01:00
David Mann 1799a90001 Merge remote-tracking branch 'origin/main' into pr-13248 2026-11-13 02:48:27 +01:00
cb261a6a65 Merge main into #13093 (paint bucket right-click Mode list)
Co-Authored-By: rmsff <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 02:44:12 +01:00
69ad84d9fb PR #12644: keep Smooth's transparency gradient at 97 stops
The colour and opacity bakes sample the same 97 positions, but apply_opacity cut every interval
into four (385 stops), and paint_gradient scans the stops for every pixel. Multiply the alpha in
at each shared position instead; other positions still go through apply_opacity. Raised by
CodeRabbit.

Co-Authored-By: x-labb <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 02:43:21 +01:00
FredApps e052eabf4b Merge pull request #3615 from vangel76/fix/smart-object-more-adjustments
Image Adjustments: Desaturate, Equalize and Replace Color on a smart object (#3606)
2026-11-13 02:24:05 +01:00
FredApps 33131bd78b Merge pull request #9462 from vangel76/perf/9432-camera-raw-single-decode
Camera Raw open: decode the raw once instead of three times
2026-11-13 02:22:52 +01:00
FredApps 985235bc62 Merge pull request #9415 from vangel76/fix/9411-affinity-import-budget
Affinity import: document-wide budget for type layers and shape caches, honour Cancel
2026-11-13 02:21:41 +01:00
FredApps bb07d33e58 Merge pull request #9748 from vangel76/perf/9744-gamut-mask-parallel
perf(cms): compute the Gamut Warning mask in parallel
2026-11-13 02:20:16 +01:00
FredApps a2067ab456 Merge pull request #11152 from vangel76/perf/paint-stroke-budget
Paint: bound a stroke's cost and skip dabs outside the canvas (#11136)
2026-11-13 02:17:27 +01:00
David Mann 78f00f4af2 Merge pull request #12989 from NaufalDzz/fix/issue-12964
Smudge: Reset Tool gives a 13 px soft tip at 25 % spacing (#12964)
2026-11-13 02:02:44 +01:00
David Mann 7529eaa98c Merge pull request #12097 from hnoerenberg/fix/magic-eraser-mode-refusals-12032
fix(engine): the magic eraser refuses Indexed and Bitmap documents
2026-11-13 02:02:32 +01:00