Commit Graph
5693 Commits
Author SHA1 Message Date
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 47ca129065 fwstub-1: an overlay layer's content runs under a layout-memory boundary, so a tooltip shown from a control inside a body is not checked against the body's kept transcript (it asked for a discard pass every other frame while it showed); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:23:40 +00:00
Martin Ball 9432be1ee3 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 19:55:09 +00:00
Martin BallandClaude Opus 5.5 1a9dae9643 fwstub-2: trials: a picker form dialog (category list, three-row tile grid, large preview, as WordCraft's Insert SmartArt) runs one pass a frame from its second frame, in English and pseudo-locale lengths and when a docked pane closes in the frame it opens; the framework does not ask for a discard every frame there
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:53:40 +00:00
Martin BallandClaude Opus 5.5 01dee65d91 fwstub-1: keymap rule 3 exception (lead ruling): with Shift held, a binding of the Shift-kept chord runs before the Shift-dropped one (German Ctrl+Shift+0 runs Ctrl+Shift+= Superscript, not Ctrl+= Subscript); recording, candidates and matches keep rule 3; layout docs; test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:53:26 +00:00
Martin BallandClaude Opus 5.5 e162b30930 fwstub-1: an editor that draws marked text says so (EditorState::marked, shows_marked); reporting no marked text while the engine composes then interrupts the composition in the pre-edit's own pass too (a pre-edit and a refused deletion in one frame); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:51:02 +00:00
Martin BallandClaude Opus 5.5 6f8bf4265a fwstub-1: a bound Alt chord's text is withheld only when a command bound to it is enabled (S-L177; Keymap::holders, commands::runs_now): a disabled one leaves the character typed, as Word's Option+Shift+- em dash; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:48:07 +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 bf31f87696 fwstub-1: trial: outside a floating window (beside one, with none, with nothing focused, from a text stop with the key's text under PlainKeysWait) Alt+F7 runs the app's binding without replace_defaults
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:45:27 +00:00
Martin BallandClaude Opus 5.5 3c647f1689 fwstub-1: Shift+Delete reaches an editor with its shift (EditorInput::Delete.shift); an editor reads one frame's IME edits, texts and keys in the order they arrived (event places from the IME and key stages); trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:39:36 +00:00
Martin BallandClaude Opus 5.5 37b862c663 look-6: a side menu's rows read in the brand surface's ink (white, a disabled page's dimmed) with that ink laid thinly over the brand for the hover band and a step stronger for the page shown, as WordCraft's File rail; the panel's opaque hover fill drew a light band with dark text over the rail; trial updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:39:35 +00:00
Martin Ball aa1d8b3c87 Merge branch 'red/fwstub-3' into area/ribbon-fw 2026-11-19 18:31:43 +00:00
Martin Ball c4db0d7ef6 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 18:31:42 +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 8346bbab09 fwstub-1: a focused canvas's view command it does not offer leaves its chord (Cmd/Ctrl+=) to the app's binding, and an app drops Zoom In's default chord through its catalog so Ctrl+= is its own command (Subscript); ViewCommands doc; trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:40:20 +00:00
Martin BallandClaude Opus 5.5 eef70c8388 fwstub-1: a key press passes over a binding whose command is disabled where it lands (Keymap::lookup_where, Matcher::press_where; the key stage accepts enabled commands only), so the next binding of the chord runs; an app catalog replaces or drops a linked set's default chords (AppCatalog::replace_defaults) and sets the typing rule (AppCatalog::typing_rule); a bound Alt chord's withdrawn text is no text field's typing, so the field no longer holds the press (route::begin); trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:37:11 +00:00
Martin BallandClaude Opus 5.5 c07bd78e0a fwstub-3: appeared() is true again on the first frame a component is shown after a frame of its viewport without it (a page left and reopened inside the eviction grace), through that frame's passes, as WordCraft told a reopen by a gap in the frames drawn; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:30:50 +00:00
Martin BallandClaude Opus 5.5 23a5035195 fwstub-2: the split body trial says which check catches a layer left open around an empty body
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:30:18 +00:00
Martin BallandClaude Opus 5.5 f96d4f6162 fwstub-2: a pane's Float reports FloatRect after its Place, with the rect the pane floats in (its kept float rect, else the cascade placement the area draws), so an app keeps the float rect from the Float on; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +00:00
Martin BallandClaude Opus 5.5 bc456bb9e2 fwstub-2: a SplitMenu::Body's request_close closes the split's menu layer: the inline menu is bound open and its close closes the popup, so a swatch pick no longer leaves the layer open around an empty body; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +00:00
Martin BallandClaude Opus 5.5 0f21da5c09 fwstub-2: the in-place command palette names its search field by the palette's label, closed and open, not the generic words.palette_search (a title-bar search box keeps the app's name for it, S-L272); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:28:21 +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 db60832d36 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 17:21:06 +00:00
Martin BallandClaude Opus 5.5 a8735468b7 fwstub-1: trial that one raw batch of IME events reaches an editor (field and canvas) in one pass, and nothing is held; the dismissal doc names the dialog exception to a draft's Escape
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:17:28 +00:00
Martin BallandClaude Opus 5.5 34abe425fa fwstub-2: in a ribbon the font picker's name field measures the short field length (size.length.short) whichever family it shows, its least, about the old ribbon's font name: a ribbon row short of room no longer narrows the box to its menu arrow; story doc; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:12:42 +00:00
Martin BallandClaude Opus 5.5 3ed4e4ac1c fwstub-1: one Escape cancels a dialog while its focused field holds a draft: the draft ends as for Escape and the Escape goes to the dialog (focus::escape_closes_dialog; the gesture step and the text adapter leave it untaken); fields outside dialogs still revert first; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:12:12 +00:00
Martin BallandClaude Opus 5.5 74379e51c0 fwstub-2: a right-to-left measure with no room limit along x gives the body a scrolling region's width, not an unbounded one, so its left edge is never -inf and a scrolling body's region never NaN (regions); trial: a vertically scrolling container in an RTL row that does not fit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:07:17 +00:00
Martin Ball 9a046dfc46 look-5: the width-roles Stack story stacks its two roles, so a denser side menu no longer squeezes the column inside the trial's room (Stack::reads text-size case); a ribbon's font box is held at the small field length (FieldStyle::held_at), as wide as the old ribbon's, with its story and trial 2026-11-19 15:09:32 +00:00
Martin Ball 73d8eab31b Merge branch 'red/look-rest-4' into area/ribbon-fw 2026-11-19 14:48:55 +00:00
Martin Ball 6a82c551d6 look-rest-4: suite-themes documents an app's own shape 2026-11-19 14:47:52 +00:00
Martin Ball b3e1c96a5b look-rest-4: a theme's app layer can carry its own shape, which replaces the theme's for that app (parsed, checked, written, resolved); WordCraft's buttons are 4 pt rounded rectangles under ArtCraft, as WordCraft's were, not capsules; test 2026-11-19 14:47:44 +00:00
Martin BallandClaude Opus 5.5 3b5496df6b look-ribbon-4: a ribbon group sizes the spacer under its content and its separator from the content height the last real run kept, so the measuring run and the real run place the same sizes: the group no longer measures one body too tall (the band under the titles goes) and a settled ribbon measures no group again; the flat-button trial checks the outlined toggle by its edge (a toggle's style has one variant, so a ghost toggle draws it too)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:45:54 +00:00
Martin Ball 171eea0cd1 look-rest-4: a side menu's selected row (the page shown) rests in the band its hover shows, as WordCraft's File menu marks its current page; a push Button drew no on look, so selected changed nothing; trial; the side menu story's current row shows it 2026-11-19 14:45:12 +00:00
Martin Ball ca51f08b14 look-rest-4: WordCraft's app layer of ArtCraft takes WordCraft's own panel, window, hover, pressed, line and text colours in both modes (dialogs and menus #2b2b2b dark / white light, window #292929 / #f9f9f9, borders #3a3a3a / #e1e1e1, field edges #7a7a7a / #8a8a8a); only accent, canvas and chrome were set, so dark dialogs, panes and the File page took ArtCraft's #535353 2026-11-19 14:42:47 +00:00
Martin Ball 500dd7ec26 look-rest-4: a labelled leaf in a grid takes the grid's next cell (its row is the cell's region, the cursor takes it, under the cell's column group); round 3 only measured it content-sized, so it still stood under the cell before it (grid_least::labelled_check_boxes_stand_two_to_a_line) 2026-11-19 14:37:39 +00:00
Martin Ball 596a204cc1 FindingsList: its items are a collection (max_rows), as UndoList's 2026-11-19 14:25:22 +00:00
Martin Ball fe8d3b054f look-rest-3: read Env::measure as the field it is 2026-11-19 14:24:33 +00:00
Martin Ball de091d4186 Merge branch 'red/look-rest-3' into area/ribbon-fw 2026-11-19 14:24:06 +00:00
Martin BallandClaude Opus 5.5 1ff6c71b62 look-ribbon-3: the gallery's thumbnail size field is thumb_size, apart from the common size prop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:22:18 +00:00
Martin BallandClaude Opus 5.5 874e096445 look-ribbon-3: Gallery::thumb names its tiles' thumbnail size (medium unless set), so a gallery of small pages (style sets) takes the large size and reads as the old ribbon's did; trial and story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:21:15 +00:00
Martin BallandClaude Opus 5.5 e2ed478fea look-ribbon-3: a ribbon group ends with its title: Divider::length gives a separator its own length (no fill), a group's separator is as tall as the group; the title sits directly under the body on one caption line in every group; the dialog launcher sits on that line at the group's end, shown at its place so it never makes the title line taller; trials and story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:19:21 +00:00
Martin Ball 1b11ec4ac6 look-rest-3: the listed About's tabs are a strip of tab faces (TabKind::Panel), as WordCraft's; the centred layout keeps text tabs; trial 2026-11-19 14:18:29 +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 cc0293e33b look-rest-3: a wrapping row wraps at its container's paragraph line length (a dialog's wrap width) instead of widening a content-sized dialog; Page Setup's grid kinds take two lines as WordCraft's; trial 2026-11-19 14:16:43 +00:00
Martin BallandClaude Opus 5.5 cb16b12a49 look-ribbon-3: trials broken by round 2: a ribbon toggle is checked against the ribbon's flat button (round 2 made it flat; a ghost toggle outside a ribbon keeps its edge); the width-roles story holds a dialog's least width so its width does not follow where its paragraph breaks; the side-menu story uses the catalog's save icon
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:15:30 +00:00
Martin Ball 8de74f788c look-rest-3: a control with its label after it in a grid cell takes the width of the two, not the grid's; check boxes stand two to a line in a two-column grid (the Font dialog's Effects); trial 2026-11-19 14:12:32 +00:00
Martin Ball 566ba7bdbc Merge branch 'red/look-rest-2' into area/ribbon-fw 2026-11-19 13:58:56 +00:00
Martin Ball 6cc5affef5 look-rest-2: LeastWidth::WideDialog and Dialog::least_width; the listed About is a wide dialog, as WordCraft's; trial 2026-11-19 13:57:48 +00:00
Martin Ball 9e3d7bbc1f look-rest-2: WrapWidth::Column (size.dock.column) and Stack::wrap_width, a settings column beside a preview breaks its paragraphs instead of widening; trial and story 2026-11-19 13:55:17 +00:00
Martin BallandClaude Opus 5.5 4da05bc416 look-ribbon-2: ribbon trials: the collapsed-group trial measures its room from the group; the captioned gallery trial checks the name inside its strip-high tile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:55:16 +00:00