Commit Graph
38 Commits
Author SHA1 Message Date
Martin Ball aaa87b5754 Merge pull request #2568 from storytold/fix/7149-item7-top-clamp
pages: one rect for the page view and its canvas, so the page no longer jumps at the top with rulers on
2026-11-21 00:00:26 +00:00
Martin BallandClaude Sonnet 5.5 9ee925024c pages: #7149 item 7, one rect for the page view canvas and offset with rulers on
The layout, the given view and the offset clamps used the full rect while the canvas clamped in the rect inset by the ruler strips, so a wheel up at the top moved the page 8 points and it snapped back.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:30:05 +00:00
FredApps 9793d1a452 Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/dialogs/src/lib.rs
#	crates/dialogs/src/ui/mod.rs
#	crates/draw/src/ui/gradient/mod.rs
#	crates/draw/src/ui/gradient/swatch.rs
#	crates/menu/src/shortcuts/view.rs
#	crates/menu/tests/it/main.rs
#	crates/menu/tests/it/shortcuts/mod.rs
#	crates/pages/tests/it/main.rs
#	crates/print/src/lib.rs
#	crates/review/tests/it/main.rs
#	crates/story-render/src/main.rs
#	crates/table/tests/it/main.rs
#	crates/text/tests/it/main.rs
#	crates/ui-canvas/src/canvas/navigate/mod.rs
#	crates/ui-canvas/tests/it/canvas/mod.rs
#	crates/ui-contract/tests/it/access/mod.rs
#	crates/ui-contract/tests/it/fonts/mod.rs
#	crates/ui-contract/tests/it/runtime/mod.rs
#	crates/ui-gallery/src/foundations/mod.rs
#	crates/ui-patterns/src/patterns/preferences/mod.rs
#	crates/ui-patterns/tests/it/docking/mod.rs
#	crates/ui-patterns/tests/it/form_dialogs/mod.rs
#	crates/ui-patterns/tests/it/panels/palette.rs
#	crates/ui-patterns/tests/it/preferences/mod.rs
#	crates/ui-shell/src/shell/mod.rs
#	crates/ui-shell/tests/it/shell/mod.rs
#	crates/ui-widgets/src/tabs/strip.rs
#	crates/ui-widgets/tests/it/bars/mod.rs
#	crates/ui-widgets/tests/it/contract/mod.rs
#	crates/ui-widgets/tests/it/layout/mod.rs
#	crates/ui-widgets/tests/it/main.rs
#	crates/ui-widgets/tests/it/menu/mod.rs
#	crates/ui-widgets/tests/it/pickers/mod.rs
#	crates/ui-widgets/tests/it/text/mod.rs
2026-11-20 15:04:36 +01:00
Martin Ball f77301a76d Merge follow-up: resolve_in takes Reads; the host-key trial gives states through CommandStates; cargo fmt 2026-11-20 00:40:05 +00:00
Martin BallandClaude Opus 5.5 785e15c52e fwstub-1: headings and list items take AccessKit's zero-based level (Heading 1 is level 0, which UIA reports as 1; a first-level list item level 0), as WordCraft #3173; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:25:29 +00:00
Martin BallandClaude Opus 5.5 5404f0eb8b fwstub-1: a canvas control's label is never its tooltip (its rect is the canvas: PageRulers' MarginHandles showed "Rulers margins" wherever the pointer rested on the page); each margin edge part carries a tooltip naming its edge, as the old app's Left Margin (divider::declare returns the part); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:28:26 +00:00
Martin BallandClaude Opus 5.5 99d40aba4d fwstub-2: a page view zoom by the wheel or a pinch anchors at the point the canvas zoomed about (CanvasSpace::zoom_anchor), not one rebuilt from the change of centre: the canvas's clamp keeps pages no wider than the view centred, so the rebuilt point was the middle of the view, in the gutter, and a reflow from two columns to three anchored page 2 and drew page 3, under the pointer, a row off; trial: Ctrl+wheel out from page 3 just right of the gutter through three reflows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:47:14 +00:00
Martin BallandClaude Opus 5.5 ae5ff42dfa fwstub-3: a page view zoom that does not ease draws its new layout, reflowed, through the anchored view in its own pass, so the next pass moves nothing; a zoom with the pointer in a gap keeps the place relative to the nearest page instead of scaling the offset; trial: Ctrl+wheel zoom out through a column gutter with rulers, every frame
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:41:34 +00:00
Martin BallandClaude Opus 5.5 a14084cba6 fwstub-3: the page view gives back the pictures of pages scrolled more than picture_reach (3 view heights, one width sideways, as WordCraft #811) from the view; PageView::picture_reach and PICTURE_REACH; story; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:09 +00:00
Martin Ball a3a5d14e05 look-rest-3: Page Setup's Mirror margins (Facing Pages) at its section's start, outside the field group's label column, as WordCraft's; trial pins it and the wrapped grid kinds 2026-11-19 14:17:34 +00:00
Martin Ball 9d40eb184c look-dialogs-a: PageSetupDialog lays out as WordCraft's Page Setup: framed section boxes, margins, paper sides and grid counts two to a line, orientation and grid kinds in a row, Paper under Pages, section direction and vertical alignment in the Document Grid box, WordCraft's grid wording; trial and story 2026-11-19 13:31:59 +00:00
FredApps b04d18a735 Select UI suite items through explicit registries 2026-11-19 12:20:08 +01:00
Martin Ball 1028c0724b fu-canvas2: page view reports its resident page pictures (PageViewOutput::resident_pictures) 2026-11-18 23:35:36 +00:00
Martin Ball e85250bf61 Merge branch 'red/fu-chrome' into area/ribbon-fw 2026-11-18 22:53:47 +00:00
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 BallandClaude Opus 5.5 05f2de14a6 fu-chrome: app batch 1 rulings (S-L267, S-L271, S-L330)
ListRow label_spans: the label drawn from styled spans, the match in the
highlight look, with a story and a trial. AccessBuilder::image: a placed
picture's image node with screen bounds; link sub-nodes carry their URL.
AccessTree::level_of and url_of. WindowHost::monitor_of, with scale_of
rewritten over it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:39:41 +00:00
Martin Ball ca278cf6d5 dialogs-w6: the page setup grid trial runs in a room that shows every section (the body scrolls, so grid rows sat below its view); DIAG prints removed 2026-11-18 18:58:56 +00:00
Martin Ball 9fd06ac73f rd-dialogs-w6: red round 5 fix (lead commit) 2026-11-18 18:57:04 +00:00
Martin Ball 7965d7a309 rd-dialogs-w6: red round 4 fix (lead commit) 2026-11-18 18:54:18 +00:00
Martin Ball 885cca4068 DIAG: why a held Page Setup OK files nothing 2026-11-18 18:47:07 +00:00
Martin Ball 034b736956 rd-dialogs-w6: red round 2 fix (lead commit) 2026-11-18 18:43:52 +00:00
Martin Ball aac27a5ddf pages: DIAG prints for the Page Setup grid kind pick 2026-11-18 18:33:58 +00:00
Martin Ball 5fd18885f9 dialogs-w6: net change of 2 commits
- dialogs-w6: written from its sheet
- dialogs-w6: review fixes (review-1)
2026-11-18 18:18:25 +00:00
Martin Ball 57830ecc11 rc-canvas-w1: red round 3 fix (canvas-run-3-fw) 2026-11-18 15:13:45 +00:00
Martin Ball c2209ed20a pages views trials: show the reading view over the whole room, and find the page-turn row's Next button by the row it is in 2026-11-18 14:31:56 +00:00
Martin Ball 6232e9dde5 canvas-w6: Styled import for resolve; the ruler trial compares page width as f64 2026-11-18 14:07:17 +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 59cc1ac191 canvas-w5: net change of 2 commits
- canvas-w5: written from its sheet
- canvas-w5: review fixes (review-1)
2026-11-18 14:03:48 +00:00
aiongg 374647bb49 PagePreview: the page as large as the window over the scrim, with its row under it 2026-11-12 14:32:46 +00:00
aiongg f8868f3179 PageRangeField: the current page as placeholder and the app's own menu entries 2026-11-12 14:32:46 +00:00
aiongg b753029d14 TableSizePicker: squares draw as sunken wells, the lit ones in the selected fill with an accent outline; Left and Right run on across the rows 2026-11-12 14:32:45 +00:00
aiongg 61c242495a Reading view trial: Cmd or Ctrl with the wheel turns no column; the zoom stays the app's 2026-11-12 14:32:42 +00:00
aiongg 2e4be05c86 Neighbour rule per component (D14): ThumbRow pushes or stops at ordered thumbs, a divider moves its neighbours or only its pair; BlendIfBar pushes, ColumnBar moves only the pair (K9) 2026-11-12 14:32:42 +00:00
aiongg a19a7db2cf PageThumbnails: New Slide is the grid's own row after the last thumbnail, and drags and drops land before it 2026-11-12 14:32:41 +00:00
aiongg 47fdacf9d2 Under a modal layer, a dialog command reaches only instances inside the top modal or the canvas it holds open; Cmd+= in PagePreview leaves the PageView behind it alone 2026-11-12 14:32:41 +00:00
aiongg 5815b66839 PageView: the page and arrow keys of the old view through a canvas that leaves its keys to its body, and the zoom and pan decided from the canvas's settled view 2026-11-12 14:32:41 +00:00
aiongg 823a586f9c Scoped move keys: a widget that does not act on its moves leaves a move key a scoped command binds to it; PagePreview steps from anywhere in the preview 2026-11-12 14:32:41 +00:00
aiongg 8735a8b1c5 Document and app crates on the framework: text, pages, table, review, timeline, menu, browse, dialogs, print, font manager, theme store, update, automation 2026-11-12 14:32:38 +00:00