Commit Graph
196 Commits
Author SHA1 Message Date
Martin Ball 0bc621b93f fu-canvas: app batch 1 rulings (S-L233, S-L236, S-L238, S-L243, S-L244, S-L247) 2026-11-18 22:47:02 +00:00
Martin Ball 1d55121418 Merge branch 'red/rc-canvas-w2' into area/canvas-fw 2026-11-18 14:44:12 +00:00
Martin Ball 3e485845e0 A canvas with an editor part keeps an editor's keys: typed text, arrows and Delete reach the part as editor input instead of going unrouted or becoming tool nudges 2026-11-18 14:33:52 +00:00
Martin Ball a7cb84c8e4 Scroll bars: the tip story's drive releases the thumb so the drive cases see one ended gesture; the tip trial waits out the popup's exit fade 2026-11-18 14:33:04 +00:00
Martin Ball 87b0a9cfa3 canvas-w8: review fixes (review-2) 2026-11-18 14:18:19 +00:00
Martin Ball 8b4978b879 canvas-w1: review fixes (review-2) 2026-11-18 14:18:19 +00:00
Martin Ball a6926b4881 canvas-w6: net change of 3 commits
- canvas-w6: finished by an agent
- canvas-w6: review fixes (review-1)
- canvas-w6: review fixes (review-1b)
2026-11-18 14:03:48 +00:00
Martin Ball d45dad938a canvas-w1: net change of 3 commits
- canvas-w1: finished by an agent
- canvas-w1: finished by an agent
- canvas-w1: review fixes (review-1)
2026-11-18 14:03:48 +00:00
Martin Ball ad6575845d canvas-w8: net change of 5 commits
- canvas-w8: written from its sheet
- canvas-w8: repair 1
- canvas-w8: finished by an agent
- canvas-w8: review fixes (review-1)
- canvas-w8: review fixes (review-1b)
2026-11-18 14:03:47 +00:00
Martin Ball 7d20a33d11 canvas-w3: net change of 2 commits
- canvas-w3: written by an agent
- canvas-w3: review fixes (review-1)
2026-11-18 14:03:47 +00:00
Martin Ball 5b9bf4c985 canvas-w4: net change of 5 commits
- canvas-w4: repair 1
- canvas-w4: finished by an agent
- canvas-w4: finished by an agent
- canvas-w4: finished by an agent
- canvas-w4: review fixes (review-1)
2026-11-18 14:03:47 +00:00
Martin Ball 10b23c3d55 Contract stubs: craft-ui-canvas craft-ui-shell 2026-11-18 08:21:44 +00:00
aiongg 3ab2e3ffdb Merge branch 'fx/scroll' into fx/all-1117 2026-11-17 14:46:03 +00:00
aiongg 7df1bb2ef6 Canvas scroll bars: docked look keeps the thumb's width at rest, on a chrome track 2026-11-17 14:27:49 +00:00
aiongg 13da280ba1 Navigator panel: the preview fills the room above the zoom row 2026-11-17 14:26:08 +00:00
aiongg 4cc694c415 Canvas::queued is a derived prop; ViewRequest is non-exhaustive 2026-11-17 12:10:33 +00:00
aiongg 0bfa3ca65a Canvas::queued takes ViewRequest: user commands ease, app placements jump
A new or cropped document's fit and a new arrangement's fits place the view, which jumps as PhotoCraft's
placements did; a menu row or an action step eases under Animated Zoom as its chord does. The full-window wheel
trial turns Overscroll on: after the 20-point fit one notch leaves the image smaller than the canvas, which
Overscroll off centres.
2026-11-17 10:59:06 +00:00
aiongg d046011855 Full-window view: read the target before borrowing the view 2026-11-17 10:17:41 +00:00
aiongg fe6da87e8b Canvas view commands: queued app commands, 20 pt Fit on Screen, one implementation for full-window views
- Fit on Screen leaves 20 points on each side (PhotoCraft and the old framework) and fits up to the target's fit
  ceiling: 100 % for a document canvas, 400 % for a full-window dialog.
- Canvas::queued: view commands an app asks of a document's canvas run in the canvas's loop before the fired ones,
  eased the same way, and never in a measuring run.
- FullWindowView runs Zoom In, Zoom Out, Fit on Screen and 100% through ViewCommands::apply.
2026-11-17 10:10:41 +00:00
aiongg cd73a4f24a Remove the DIAG prints 2026-11-17 09:35:16 +00:00
aiongg f86c3b134c Keys with nothing focused match in the window's shell; a momentary command's held key makes its scope's keys work first (keymap context), and that scope's commands go to the application 2026-11-17 08:21:52 +00:00
aiongg f4eb126da2 Merge branch 'fw/press-route' into k/stage
# Conflicts:
#	crates/ui-contract/src/runtime/commands/board.rs
2026-11-17 07:22:17 +00:00
aiongg b0810ed1f4 A full-window workspace reports the canvas it shows its image on (WorkspacePass::canvas); the dialog host names the canvas of the latest open dialog that has one (StackDialog::canvas, DialogHost::canvas), where an app's tool input in document points goes 2026-11-17 07:19:41 +00:00
aiongg b0a40c30e8 A fired command carries the input time of its event: a key's press and release fire with the time they arrived at, events held to a later frame keep theirs; the double-press matcher and the opacity digit pairs read that time 2026-11-17 07:07:07 +00:00
aiongg fe65388c31 Remove the pending-crop DIAG prints from sensing and the tool host: the cause is found 2026-11-17 06:11:29 +00:00
aiongg 2a10d1400e A press on a guide keeps the guides' parts declared until it ends: a ⌘-press whose key is let go before the drag keeps its guide and focus 2026-11-17 06:11:29 +00:00
aiongg 660daa69a1 Merge branch 'red/f3' into fw/mac1 2026-11-17 05:25:10 +00:00
aiongg 7c1d7e60b6 A reveal moves no view along an axis its rect already spans: a canvas-wide control under the rulers keeps the view still
DIAG: the canvas prints each reveal it takes (command_drag_over_a_guide_moves_the_guide_with_any_tool).
2026-11-17 05:14:47 +00:00
aiongg ec64d98b70 A full-window side column's paragraphs wrap at a dialog's line length, and a row notice offered no room takes at most the column's room (DIAG: notice widths in the Content-Aware Fill tests) 2026-11-17 05:13:50 +00:00
aiongg bd41b0a549 Merge branch 'red/f3' into fw/mac1 2026-11-17 04:29:59 +00:00
aiongg ad16e443c5 DIAG: a secondary press's winner in arenas with members, and the canvas host's momentary tool and background phase 2026-11-17 04:22:54 +00:00
aiongg d8a6478210 The checkerboard's light cell sits at the picture's top-left corner on screen, wherever the view puts it 2026-11-17 04:11:45 +00:00
aiongg 877eebf462 Momentary Zoom: the held keys choose its direction, Alt included, so Alt flips only the selected Zoom tool (Alt+Space zooms out) 2026-11-17 02:39:48 +00:00
aiongg 6f82230954 Merge branch 'red/lage' into fw/mac1 2026-11-17 01:04:26 +00:00
aiongg 91e954f1cc Pasteboard: the surround between artboards paints over the pictures
Between artboards the pasteboard hides the document, cut around the uncovered
rects (loose layers), as production draws it over the picture; the surround of
plain pages stays in the canvas's picture slot, under pictures that reach past
the page. Pages marked active or inactive are artboards.

Trial: the picture shows on each board and on a loose layer, and the pasteboard
covers it between the boards.
2026-11-17 00:30:06 +00:00
aiongg 15bb4ca227 Pasteboard: the surround and the pages' shadows and fills paint in the canvas's picture slot, under the pictures
A picture shown under the canvas controls paints in the canvas's picture slot,
which lies under every control of the body; the pasteboard, shown first in the
body, painted in place over it, so each page's drop shadow (surface.shadow's
alpha) dimmed the picture and a page fill hid it. The pasteboard's surround and
what lies under the pages move into the slot ahead of the pictures; the page
edges and names stay in place, over them.

Trial: a picture in the canvas slot shows its own colour over the pasteboard.
2026-11-17 00:27:52 +00:00
aiongg 87e7f6085f Merge branch 'red/t12d' into fw/mac1 2026-11-17 00:21:03 +00:00
aiongg 9dd2f2ab83 Merge branch 'red/t8d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg 47362cc1d6 Merge branch 'red/t7d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg b1845d2e74 CropOverlay: Escape drops an armed Straighten first, whether or not the crop has started 2026-11-16 23:41:14 +00:00
aiongg bcdfd861b3 Camera Raw: the sampler readouts follow Before; the workspace's automation fields carry the pointer and sampler readouts (json_fields takes the source) 2026-11-16 23:39:06 +00:00
aiongg ed27f43df7 TransformPreview can paint in the canvas's picture slot; CanvasSpace::picture_slot is public 2026-11-16 23:38:55 +00:00
aiongg b747993c13 Merge branch 'red/lagc' into fw/mac1 2026-11-16 23:37:38 +00:00
aiongg 808483db4f Guides: a keyboard Delete clears the guide selection instead of moving it to the next guide 2026-11-16 23:36:08 +00:00
aiongg 79a5564061 rustfmt the crates round B changed 2026-11-16 23:32:27 +00:00
aiongg 69f4d33fa2 Canvas: its surface paints in the paint step, under the picture slot
The canvas surface came from ContainerProps, which the body paints into a slot
reserved when its content starts, after the canvas reserved its picture slot in
the paint step: the surface covered every picture shown with
RasterDisplay::picture. The surface is the canvas style's own, painted before
the slot, so the picture lies on the surface, under the canvas veil and every
canvas control of the body; the body's children see the same surface.
2026-11-16 22:58:25 +00:00
aiongg cb14f32232 Merge branch 'red/t4d' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 5d9a02e86b Merge branch 'red/t7' into fw/mac1
# Conflicts:
#	crates/behavior/src/geometry/draft.rs
#	crates/behavior/tests/geometry/draft.rs
2026-11-16 22:47:46 +00:00
aiongg 11c23fddf5 A canvas tool claims regions over the canvas controls: CanvasTool::regions, asked before the canvas shows and handed to Canvas::tool_regions, which declares them as over parts; a press there is the canvas's background press 2026-11-16 22:22:26 +00:00
aiongg e902b2d306 Merge branch 'red/lag' into fw/mac1 2026-11-16 22:03:51 +00:00