Skip to content

Add on-canvas filter parameter controls - #154

Merged
IAmJSD merged 2 commits into
mainfrom
pr/canvas-filter-controls
Sep 20, 2026
Merged

IAmJSD merged 2 commits into
mainfrom
pr/canvas-filter-controls

Conversation

@IAmJSD

@IAmJSD IAmJSD commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Add on-canvas handles backed by the same numeric parameters used by filter dialogs. Iris/Spin/Field Blur, Tilt-Shift, Radial/Path Blur, Lens Flare and Lighting Effects expose applicable centers, radii, directions, bands and feather boundaries through a toolkit-independent plugin contract.

Handles follow pan, zoom, canvas rotation, selection regions and smart/raster-stack placement. Dragging updates numeric values and preview; arrow keys nudge handles. Dialog event routing keeps canvas interaction active, cancellation restores original pixels, and applying produces one undoable change. See docs/filter-canvas.md.

New hints use schist-i18n, with explicit English fallback in catalogs without new translations. make check-filter-canvas passed six geometry, rendered-output and editor-coordinate tests. A real-window Vulkan smoke test verified dragging beyond the window, keyboard nudging, exact cancellation, and a single undo restoring all 240,000 canvas pixels. Identical-parameter model output is bit-exact; separate slider/drag screenshots differed by at most one red-channel level.

Stack position 7/7. Base: pr/editable-psd-interchange; review and merge after the preceding PR.

Depends on #153.

The combined seven-feature stack passed the native app build (make app PROFILE=debug), native and wasm checks, focused feature tests, make check-i18n, rustfmt, and strict Clippy across changed crates. The required Vulkan transform regression and desktop canvas smoke also passed. Each PR head passed formatting independently. Cross-platform CI results are reported in the checks below.

@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from 2e64c68 to 0696bc9 Compare September 19, 2026 20:44
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from 0696bc9 to 8a86cee Compare September 19, 2026 20:57
@IAmJSD
IAmJSD added this pull request to stack #155 September 20, 2026 08:29
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from 8a86cee to 7c59fcd Compare September 20, 2026 09:13
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from 7c59fcd to d66ea7c Compare September 20, 2026 09:14
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch 2 times, most recently from b46e1f5 to 99d4b8f Compare September 20, 2026 09:31
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from 99d4b8f to 45b5d47 Compare September 20, 2026 09:42
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from 45b5d47 to de75f7a Compare September 20, 2026 09:42
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from de75f7a to c0b7752 Compare September 20, 2026 09:43
Base automatically changed from pr/editable-psd-interchange to main September 20, 2026 09:43
@IAmJSD
IAmJSD force-pushed the pr/canvas-filter-controls branch from c0b7752 to 3aa65d5 Compare September 20, 2026 09:43
@IAmJSD
IAmJSD merged commit 4e53808 into main Sep 20, 2026
0 of 5 checks passed
@IAmJSD
IAmJSD deleted the pr/canvas-filter-controls branch September 20, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant