Commit Graph
11014 Commits
Author SHA1 Message Date
Triwarr 3652ede689 test(ui-egui): assert dock controls are clipped at the panel edge
The narrow-window test intersected each hit rect with the dock and then asserted the
intersection lies inside the dock, which always holds. Check each dock control's clipped
interact_rect against the dock instead, and add a squeezed-column test where a control's
full rect runs past the panel edge, so the clip is actually exercised.
2026-11-09 10:28:54 +01:00
Triwarr 03c7afb42c Merge storytold/photocraft main into toolbar-side
Conflicts: 18 i18n catalogs (ar az bs da de fi he hi id ka nb ro sv ta th ur
zh-hans zh-hant), where this branch's two "Move Toolbar to the Right/Left"
entries and main's RAW Develop labels (d06ad7327, #12403) were both appended at
the end of the file. Kept both: this branch's entries, then main's.
2026-11-09 10:00:23 +01:00
Triwarr ff14ff4f1f Test visible dock chrome in narrow windows; name panel body minimum
- The narrow-window dockWidth test now checks the docking controls craft-ui drew:
  hit_rects are full widget rects (before clipping), so the visible part of each,
  intersected with the dock, must stay inside the dock and off the canvas and
  the toolbox, with at least one control visible.
- Name the 200-point guard for drawing a panel's body PANEL_BODY_MIN_WIDTH,
  separate from CANVAS_MIN_WIDTH; no value change.
2026-11-09 09:57:01 +01:00
Triwarr 7d101315b3 Document dock code, dedupe widths, harden toolbar_side load
- Add doc comments to the functions and tests this PR touches (Docstring Coverage).
- Share the toolbar width (toolbar_width/toolbar_columns), the rail widths and
  CANVAS_MIN_WIDTH instead of repeating the values; no values change.
- Document dockWidth as the requested model width, which a narrow window may draw
  narrower in either layout, and test model 520 / drawn <= 364 / canvas >= 200.
- Document that a dockWidth change is shared equally among columns within their
  minimums and iconic caps; tie ICONIC_WIDTH/ICONIC_MAX_WIDTH to craft-ui's
  DockStyle defaults (36/240) in a test.
- Replace the DOCK_ONLY thread-local and its guard with show_layout(dock_only).
- Move the test-only probe writes behind panel_docking::record, with no-op stubs
  outside tests.
- Read an unknown or malformed saved toolbar_side as Start instead of dropping
  the whole panel state; ui.set still refuses it.
2026-11-09 09:37:02 +01:00
FredApps d06ad73271 Naming: use RAW Develop for PhotoCraft's raw-processing feature (#12403)
Related to #5310. Display labels only; command ids (filter.cameraRaw, edit.preferences.rawDefaults), preference keys, serialized settings, PSD/action/XMP Adobe Camera Raw identifiers and .atn step names are unchanged.

- Camera Raw / Camera Raw Filter / Camera Raw Defaults -> RAW Develop / RAW Develop Filter / RAW Defaults in menus, preferences, filter names, diagnostics and all 34 catalogs.
- Saved Photoshop actions keep the "Camera Raw Filter" step name, so .atn files round-trip byte for byte (test extended).
- "Camera Raw" stays a command-search keyword.
- Removes dormant Adobe/Photoshop-branded catalog rows; display-name guard tests.
2026-11-09 08:30:33 +01:00
Dylan M. Taylor 9394960e42 Merge pull request #12435 from dotCooCoo/chore/craft-update-1b34eba41
Updates: take craft-update from craft-libs main at 1b34eba41
2026-11-08 23:35:14 -05:00
dotCooCoo 2ea37fc849 Updates: take craft-update from craft-libs main at 1b34eba41 2026-11-08 19:44:03 -08:00
Dylan M. Taylor 95c9e465df Merge pull request #12384 from dotCooCoo/chore/craft-update-updater-fixes
Updates: the updater reports installing, ready, installed and failed, and installs at exit
2026-11-08 22:12:53 -05:00
Triwarr 03cbc0793f Preserve explicit dock width across legacy migration 2026-11-09 03:18:39 +01:00
Triwarr d8970452fd Fix dock-edge resize bounds and cancellation 2026-11-09 02:56:23 +01:00
David Mann a7dfcf5100 Merge pull request #11853 from DuBearte/fix/11775-count-record-label
fix(engine): Record Measurements labels a Count tool row "Count N" (#11775)
2026-11-09 02:48:54 +01:00
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
Triwarr e15347b781 Toolbar side: distribute refused width, draw actual widths, invalidate stale drags
- scale_columns moves the total toward the request in passes, freezing columns that hit a bound
  (iconic 36..240, expanded minimum 220), so width refused by the iconic cap reaches columns that
  can still grow.
- set_end_dock_total returns the width actually stored; the dock panel uses that width during the
  drag, on release and after, instead of forcing the requested or minimum width.
- The custom drag stores docking_generation; a workspace replacement clears the stale gesture
  before any width mutation.
- Clamp bounds are normalized against the available maximum (including iconic columns) and
  resizing is disabled when the window cannot fit the column minima, so narrow layouts cannot
  panic.
- Tests: iconic-cap surplus redistribution, actual-vs-requested panel geometry during and after a
  drag, workspace replacement during a drag, and a 300pt window resize without panic.
2026-11-09 01:54:23 +01:00
David Mann bade1134b2 Merge branch 'main' into fix/11775-count-record-label (merge queue) 2026-11-09 01:45:17 +01:00
Triwarr 9f4e559919 Toolbar side: bound the dock-edge layout, enforce panel minima, match iconic widths
- The dock-edge panel leaves the toolbar and the 200-point canvas minimum room, so a narrow
  window shrinks the dock instead of the canvas.
- The empty dock runs the docking pass in a child ui that does not consume the parent layout, so
  the toolbar and canvas keep their space.
- Column scaling allocates each column's 220-point panel minimum first and shares the rest
  proportionally; requests below the sum of minima stop there.
- Iconic columns use craft-ui's renderer rule: iconic_width.unwrap_or(36).clamp(36, 240), including
  the real collapse case that leaves iconic_width unset.
- Dock metrics come from one layout snapshot per frame; dead empty-dock branches are gone; the
  content-edge interceptor is one point either side; the toolbar target comment is corrected and
  the Side::End assumption documented.
- Tests: narrow-window canvas minimum, empty dock composed with toolbar/canvas, minimum-aware
  two-column widths, collapse via Action::SetIconic leaving iconic_width unset, and the 36..240
  clamp. The press-origin change was reverted: Sense::drag starts immediately.
2026-11-09 01:28:29 +01:00
Triwarr 9fbca8fdaa Toolbar side: bound the dock-edge layout and enforce column minima
- The dock-edge panel leaves the toolbar and the 200-point canvas minimum room, so a narrow
  window shrinks the dock instead of the canvas.
- The empty dock runs the docking pass in a child ui that does not consume the parent layout, so
  the toolbar and canvas keep their space.
- Column scaling keeps the 220-point panel minimum: minima are allocated first, the rest is shared
  proportionally, and requests below the sum of minima stop there.
- The dock metrics (empty, iconic-only, width) come from one layout snapshot per frame.
- Removed dead empty-dock branches, narrowed the content-edge interceptor to one point either
  side, corrected the toolbar target comment, used the drag press origin, and documented the
  Side::End assumption.
- Tests: narrow-window canvas minimum, empty dock composed with toolbar and canvas, minimum-aware
  two-column widths, and the empty compose regression.
2026-11-09 01:20:46 +01:00
Triwarr 47c42c5fbd Toolbar side: cancel the dock-edge drag when resizing is unavailable
- A disabled parent UI (screen picking) never delivers drag_stopped, so dock_panel now clears a
  stored dock-edge drag whenever resizing is unavailable: locked, modal, empty dock or disabled
  UI. The same condition makes the handle hover-only, so it cannot start a new drag while
  disabled.
- Regression: start a resize, disable the UI, release, re-enable and move the pointer; the drag
  is cleared, the dock does not jump and persistence can resume.
2026-11-09 00:53: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
Triwarr bed5272154 Merge remote-tracking branch 'origin/main' into toolbar-side-main 2026-11-08 22:23:41 +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
Triwarr eecb6e7c5c Merge remote-tracking branch 'origin/main' into toolbar-side-main 2026-11-08 21:18:38 +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