Port behavior and regression coverage into current modules; preserve current upstream behavior.
Resolve recorded visibility targets before both engine and shell authorization, preserving bounded playback, paused dialogs and existing journal coalescing; retain ActionState take generation.
Port behavior and regression coverage into current modules; preserve current upstream behavior.
Keep action-definition undo separate from document history and preserve upstream panel routing and layout.
Integrate main 69b8fd9c1, retaining multi-channel selection and editing through extracted channel-panel, Move-pointer and tone-editor helpers. Adapt explicit imports and preserve progress-document histories.
A native Swedish speaker answered the terminology questionnaire on #10021;
his choices now apply to every row that uses the term, so each concept
still has one Swedish word: arbetsyta (workspace), fjädring (feather),
ombilda (transform), rutnät (grid), förhandsgranskning (preview),
klippmask, skiva (slice), ta prov (sample), gradient, placera, snedställ,
rasterisera, Kombinera lager (Flatten Image), indefinite tool names
(Penselverktyg), and the blend modes Skärm, Överlägg, Färgskuggning,
Differens and Luminositet. 243 rows changed.
Co-authored-by: FredApps <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds Swedish (sv, Svenska) as an interface language. The catalog combines
the open Swedish catalogs of #5985 and #9536: each row takes the best of
their translations, with one Swedish term per concept across the UI and
the reference application's established Swedish terms where they are
unambiguous, and the strings added since are filled in. 4,537 rows, every
measured key; plural rule one|other.
Where the rows come from: 2,710 both catalogs agreed on, 979 from #5985,
655 from #9536, 193 written new; 177 of the taken rows
were edited for consistency.
The tests that used sv-SE as an unsupported locale now use sw-KE and
fi-FI, and sv-SE / sv_FI.UTF-8 are positive cases. macOS lists sv in
CFBundleLocalizations.
Fixes#10020.
Co-authored-by: kler <[email protected]>
Co-authored-by: davvarn <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The web build has no system fonts and embeds no craft fonts, so an Arabic
(or Japanese, Chinese, Korean, Hindi) interface had no font for its labels:
served fonts were registered only in the document text engine. A served
script fallback now also joins the end of every egui font family, and the
font stack theme::install_fonts rebuilds on a language change includes it
again. The web shell asks for the interface language's script font, not
only the browser languages'.
Review finding on #10006.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflicts in perf/budgets.toml and docs/scorecard.md: both sides added perf rows (P80 here, P81 and P82 from #9942). Kept all three; scorecard regenerated with cargo xtask scorecard.
Adds Arabic (ar, العربية) as an interface language. The catalog combines
the open Arabic catalogs of #2505, #4520, #4569, #5593, #5915, #6092 and
#6287: each row takes the best of their translations, with one Arabic
term per concept across the UI, and the strings added since are filled
in. Modern Standard Arabic, Western digits, the six CLDR plural forms
(zero|one|two|few|many|other).
The two tests that used ar-SA as an unsupported locale now use sw-KE, and
the direction test expects Arabic to be the one right-to-left catalog.
Co-authored-by: azizr12 <[email protected]>
Co-authored-by: hicbest <[email protected]>
Co-authored-by: hasan-sdaif <[email protected]>
Co-authored-by: NibrasAz7 <[email protected]>
Co-authored-by: vfggf95565 <[email protected]>
Co-authored-by: syrrevshin4202-prog <[email protected]>
Co-authored-by: test-bit-sys <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
A raw opened with a Lightroom or Camera Raw sidecar reported
"3 not supported: CropBottom, CropRight, RawFileName" (#9985): the crop
keys fell through to the unsupported list (CropTop/CropLeft were only
spared because they were 0), and the raw's file name was treated as a
setting.
The XMP reader now resolves the crop from the public crs: schema:
crs:HasCrop="True" with CropTop/CropLeft/CropBottom/CropRight, fractions
of the developed frame in the raw's stored orientation. A missing or
False HasCrop means no crop (the keys are stale and are not reported).
Fractions are clamped to 0..1; an inverted, empty or unreadable crop,
and a straightened one (CropAngle not 0, whose rectangle is measured on
the rotated frame), is not applied and its keys are named as not
supported. RawFileName is bookkeeping.
Camera Raw's settings have no crop stage, so the crop is applied the way
the sidecar's other raw-stage settings are: Open re-develops the raw
(RawTuning::crop) and crops the upright frame after mapping the
fractions through the raw's Orientation, before the Camera Raw step, so
the post-crop vignette centres on the crop. This works with the dialog
and with Open in Camera Raw off; the dialog previews the whole frame.
PhotoCraft's own sidecar keeps the crop when it is rewritten, and Load
Settings in the Camera Raw Filter names a crop as not supported.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
While a Color Picker opened for another dialog's colour field is open
(Edit > Fill's Color..., Stroke, a filter's or adjustment's colour,
Replace Color's Result, New Document, guide and channel colours,
Preferences), its colour now shows in that field before OK, as in
Photoshop. The dialog's swatch and its own preview follow the picker.
The Crop shield's custom colour previews the same way.
The new color_picker_ui::live_preview module saves the target when the
picker opens. The parent dialog's fields are kept on PhotocraftApp, not
in the picker's fields, which automation can rewrite. On each colour
change it resets the target to that saved state and applies the new
colour, so a dialog that derives settings from the colour never builds
on a colour it was only shown. Cancel, or a picker closed any other
way, restores the target exactly. OK restores it and then sets the
field as before. The document is never touched, so the parent dialog's
OK still makes the single history step, and the parent's own Cmd+Z
history records nothing while a colour is only previewed. Confirming a
dialog while its colour picker is still open is now refused for every
dialog, not only for the guide layout. ui.dialog.set on a picker shows
the colour at once.
Command targets (text colour, gradient stops, artboard, count groups)
and the pasteboard colour are unchanged: open PR #9757 previews text
and gradient stops, the rest are follow-ups. The foreground/background
pickers keep changing the swatches only on OK, as in Photoshop.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Image › Adjustments › Photo Filter… now opens at the filter, colour,
density and Preserve Luminosity of its last OK, as Photoshop's does,
without holding ⌥. The other adjustment dialogs keep opening at their
neutral settings (⌥ still reopens them at the last ones, #8900).
`adjust_dialog::open` picks the last settings for the kinds listed in
`REMEMBERS_LAST`; the old neutral behaviour is `open_neutral`, which the
smart filter editor now uses so a smart filter's dialog always shows that
filter's own settings.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
CodeRabbit: removing the popover's inline eyedropper dropped the only test
of screen sampling from the shape Fill/Stroke controls. The sample now
waits in the Color Picker until OK, then sets the next shape's colours.
docs/ui-parity.md: the status line's preference count matches the
scorecard (12 of 182).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
Reapply Linux Adwaita no-title winit feature and its lockfile,
keep integrated title bar as default, and port compatible tests/docs.
Preserve upstream's preferences UI refactor rather than restoring
its removed prefs_ui.rs file.
- The Stroke Color Picker on a shape whose stroke is off (none or 0 px)
previews the stroke its OK turns on, at the enabled width, even for the
colour it opened on (CodeRabbit).
- No Color's diagonal uses the theme's danger token, not a fixed red.
- docs/ui-parity.md: the history entry notes Recently Used Colors is a new
preference, so 12 of 182 do nothing (matching the row).
- The Fill/Stroke swatches clip their checker to the rounded corners, so
dark themes no longer show white specks there (#8741).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
Upstream's strict-Clippy refactor removed glob imports and split the
Content-Aware Fill properties into caf_props_panel: the swatch title moved
there, and the frame loop calls crate::color_picker_ui::widget_tick.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TYsCL5E2GM6hUabP9dmYAv
Track-only rows that check they hit the whole-document-redraw path and
print the refreshed pixel count: undo of a brush dab on a 16-bit
15000x10000 full-canvas layer (reps capped at 5) and a fill of a 2 %
selection on a 24 MP full-canvas layer.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Track-only row, the slow-frame recorder's worst case. A 24 MP photo plus
three full-canvas blended copies (Multiply, Screen, Overlay); each sample
toggles the top copy and times one harness.step(), so every frame
recomposites all 24 MP on the CPU (the photo's tiles are never uniform,
which keeps the reduced render's one-colour shortcut out of the way).
The row errors unless each frame recorded a CPU refresh covering at least
95 % of the canvas, so it can't silently take a fast path. 10 samples.