Commit Graph
2452 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 d313344470 windows: the Presenter View and View New Window are ordinary app windows
Production opens both with ViewportBuilder::default(): the OS frame with
its title and close button, a taskbar entry and the normal level, and a
body that fills the window. The port opened them as tool windows: palettes
with no taskbar entry and the dialog's own title row inside a padded
frame. Both now take ViewportWindowKind::App (q352 = A).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 11:29:53 +00:00
Dylan M. TaylorandClaude Opus 5.5 b99f4987c7 presenter: the window's body fits the window; Next shows the whole slide
The Presenter View's window took the dialog body's vertical scroll, so its
fill stack had no bounded height: the dark surface stopped under the
controls, a scroll bar stood at the right edge, and the All slides grid,
which lays out in the room it is given, drew no tiles. Production's view
is a central panel that fits the window; the window's body no longer
scrolls (the notes and the grid scroll themselves), and the grid shows
the slide thumbnails.

The Next picture was the next slide's entry frame, which hides every
shape that builds in on a click, so a slide of bulleted builds showed
only its title. Production renders the whole slide (render_slide); the
preview job now does the same, and the audience show's prefetch keeps
the entry frame. Test: the_next_preview_shows_the_shapes_that_build_in
(fails with the entry frame).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:54:42 +00:00
Dylan M. TaylorandClaude Opus 5.5 467fd6bd4c insert: the Icons library caps its rows; the guard opens it at the look size
Insert > Icons stopped the pass on the collection rule (16.3) in a 1440x900
window: the popover body scrolls there, and the icon grid kept its own
scroll inside it. Production capped the library at 420 points in its own
scroll under the search field, so the picker now caps its rows
(IconPicker::max_rows) at as many rows as production showed.

The guard missed it twice over. It drew at 1800x1000, where the popover
fits without scrolling, and it opens only buttons that report a popup, which
Shapes, Icons, Chart, Zoom and Action on the Insert tab did not. Those five
now report their menu or dialog popup, the guard draws at the window size
the look states use, and it asserts that Insert > Icons is among the menus
it opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:37:19 +00:00
Dylan M. Taylor dc2545d33c Merge branch 'port/deckcraft/look/app-2' into port/deckcraft/area/app 2026-11-28 10:05:43 +00:00
Dylan M. Taylor cdf2612d1c Merge branch 'port/deckcraft/look/app-1' into port/deckcraft/area/app 2026-11-28 10:05:43 +00:00
Dylan M. TaylorandClaude Opus 5.5 b0e7f71e1e presenter: the Presenter View opens its own window over the full-screen show
The show holds the main window full screen, and a viewport mount opened from a
full-screen window shows as a layer in it, so the Presenter View never got a
window of its own. It now opens over the show as production's does
(ViewportWindow::opens_over_full_screen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:19:23 +00:00
Dylan M. TaylorandClaude Opus 5.5 8e7a33256e control: the protocol's dialog fields, ui.text, ui.drag and ui.ime active; Chart Data shows its sheet
Dialogs take field values as text (a number's digits, a check box's 1 or 0) and
the protocol's names: Find text, Hyperlink mode slide, Action Settings tab and
kind, Bullets tab, Paragraph lineKind and lineValue, Tabs stops as
position:align, Reuse Slides off{index}. ui.text types through the engine as
engine.text does, ui.drag reaches the framework's drag, and ui.ime takes active
for cursor.

Chart Data's sheet takes its natural height inside the dialog's scrolling body
instead of stopping the pass; the collection guard opens it over a chart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:12:23 +00:00
Dylan M. Taylor 83618fc410 Merge branch 'port/deckcraft/look/app-3' into port/deckcraft/area/app 2026-11-28 08:03:13 +00:00
Dylan M. Taylor c3f83ee334 Merge branch 'port/deckcraft/look/app-2' into port/deckcraft/area/app 2026-11-28 08:03:13 +00:00
Dylan M. Taylor 36b9f18659 Merge branch 'port/deckcraft/look/app-1' into port/deckcraft/area/app 2026-11-28 08:03:13 +00:00
Dylan M. TaylorandClaude Opus 5.5 ce2f17b37e about and AutoCorrect: production's About column, one Version word, a form opened each time
The About dialog takes the column layout (production's centred About, with Close alone:
production's extra Cancel came from a generic helper, q344). The version label said
"Version Version": the framework's own Version word now wraps the build string alone.
AutoCorrect's nested form binds its own open state, so each opening is its own and its
Add button reaches the access tree again (preferences_tests autocorrect_list_edits... passes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:03:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 f4c75d9b0a control: a key that changes the show completes; the thumbs menu reads the protocol's parts
A step that blanked or ended the show cancelled the rest of its own request, so the key's
release never ran and the step failed; the host now keeps the rest of a request whose step
already ran, and withdraws only input queued for the earlier state. The thumbnail pane's
context menu reads ui.contextMenu's own part names (thumbs, thumbs-section) and a slide by
its index. Test: a_key_that_changes_the_show_completes_and_the_next_one_applies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:03:00 +00:00
Dylan M. TaylorandClaude Opus 5.5 7714f32234 ui: production's type scale and surface rounding through the app's sizes.json; the title bar shows the title and production's item order
DeckCraft's sizes.json sets body, strong body and control labels to 13 px, captions to 11 px and headings to 18 px, as
production's theme did, and popups and the ribbon card to production's 8 px rounding. The title bar under the OS frame
still centres the document title, and its end reads theme, comments, Present, search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 07:15:06 +00:00
Dylan M. Taylor 929f445453 Merge branch 'port/deckcraft/look/collection-scroll' into port/deckcraft/area/app 2026-11-28 06:26:39 +00:00
Dylan M. TaylorandClaude Opus 5.5 320d98f8f3 symbol dialog: the framework IconPicker with its natural height
The Symbol dialog shows its picker in a dialog body that scrolls, so the picker takes its
natural height (IconPicker::natural_height, fw a787c30e9) instead of a hand-built TileGrid
standing in for the framework control. no_collection_shares_a_scrolling_body passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 06:26:39 +00:00
Dylan M. TaylorandClaude Opus 5.5 f923daba0f ui: collections in scrolling menu and dialog bodies take their natural height
The framework asserts that a collection inside a body scrolling along its
rows takes its natural height or caps its rows (16.3); four did neither
and stopped the pass when their menu or dialog opened:

- Home > New Slide / Layout: the "Slide layouts" gallery;
- Shape Format > Shape Styles: the "Quick Styles" gallery;
- Design > Background Styles: the "Background Styles" gallery;
- Insert > Symbol: the dialog's IconPicker.

Production drew each as a plain grid with no scroll area of its own,
letting the menu or dialog hold all of it, so each takes the natural
height. IconPicker offers neither natural height nor a row cap, so the
Symbol palette is now a grouped TileGrid with the natural height.

collection_scroll_tests opens every ribbon menu (standard and contextual
tabs), every dialog, every task pane and every File page and draws each,
so a collection put back into a scrolling body fails a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 06:03:29 +00:00
Dylan M. Taylor 35118c919c Merge branch 'port/deckcraft/look/screenshot' into port/deckcraft/area/app 2026-11-28 03:33:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 6c329b6c72 control: an idle window keeps painting while a screenshot waits to be issued
The capture queue issues a request only after a few settled UI passes, but the control
server wakes one frame per request, so on an idle window a ui.screenshot was admitted,
got one pass and then waited until the transport's 60 s deadline. issue_captures now
requests a repaint while any capture is unissued (Captures::any_unissued documents that
the app keeps repainting while any is). Test: control::tests::a_screenshot_keeps_an_idle_window_painting_until_it_is_issued.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:33:47 +00:00
Dylan M. TaylorandClaude Opus 5.5 bd1a419636 ime_tests: the About route reads the hosted About's key, help.about
The port's About is the framework's HostedAbout (ui-patterns form_dialogs/about.rs), which
the request id "about" opens under the key help.about. The route still checks that an open
modal makes the canvas editor ineligible for IME.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 01:52:02 +00:00
Dylan M. TaylorandClaude Opus 5.5 c37c64d0b6 cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:46:13 +00:00
Dylan M. Taylor 60b6c6e1f6 Merge branch 'port/deckcraft/red/app-r7-4' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. Taylor bf72727a2e Merge branch 'port/deckcraft/red/app-r7-3' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. Taylor 2fcc19bef2 Merge branch 'port/deckcraft/red/app-r7-2' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. Taylor 0e152c076e Merge branch 'port/deckcraft/red/app-r7-1' into port/deckcraft/area/app 2026-11-28 00:45:34 +00:00
Dylan M. TaylorandClaude Opus 5.5 8d8cfc4d2a Ribbon scroll case: the arrow click is injected ahead of the canvas click
The window holds real input until the injected batch has run, so the arrow's
press now goes into the same batch as the canvas click, followed by a pointer
rest on the arrow. The rest holds the queue until the row has scrolled, so the
canvas click is still queued when the target changes and is withdrawn, as in
the other target-change cases. A click whose first step has already run is
delivered whole.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:44:54 +00:00
Dylan M. TaylorandClaude Opus 5.5 1d710d3697 Picture Format Color menu keeps Recolor in rows, so the menu fits the window
The Recolor grid laid each preset out as a full-width tile in one column,
which pushed Set Transparent Color thousands of pixels below the screen;
the grid now lays its tiles out in seven columns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:40:06 +00:00
Dylan M. TaylorandClaude Opus 5.5 6ed8efc56a Format pane colour rows open their colour menu on a click of the opener
The popover hung from the opener with the manual trigger, so a click on a
kept-binding colour row never opened it; it now opens on a click as every
other kept popover does, under a salt of its own so it does not share the
row field's id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:40:04 +00:00
Dylan M. TaylorandClaude Opus 5.5 0811adbfa7 Presenter View takes unfocused keys; Select All in the thumbnails pane follows the board's target
The presenter window turns on ViewportWindow::takes_unfocused_keys, so G with nothing
focused toggles the Presenter View's own grid. The thumbnails pane selects every slide
when the board delivers Select All to it (the pane declares the command and holds the
focus), instead of comparing against the innermost pane instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:34:12 +00:00
Dylan M. TaylorandClaude Opus 5.5 0f6e8546fa Slide text hands its Tab rule to the editor through the editor's Tab keys hook
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:21:56 +00:00
Dylan M. TaylorandClaude Opus 5.5 5ca353dfbc cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:01:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 64903b70f4 model: chart zero labels keep the ? placeholders' digit-wide spaces
The accounting format's zero section "-"??\ "₽" prints a space per ? (ECMA-376
18.8.31), which craft-drawingml's formatter does since the craft-libs bump (its trial
russian_accounting_roubles). The old expectation dropped them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 23:01:45 +00:00
Dylan M. Taylor 14c8a80568 Merge branch 'port/deckcraft/red/app-r6-3' into port/deckcraft/area/app 2026-11-27 23:01:31 +00:00
Dylan M. Taylor 0fff2426be Merge branch 'port/deckcraft/red/app-r6-1' into port/deckcraft/area/app 2026-11-27 23:01:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 477f1c62af The paragraph ruler takes its own presses; the canvas editor takes focus back after the File view; red tests read the port's own signals
Paragraph ruler: shown with the clip opened over the canvas's ruler strips, as the framework's
page rulers are, so a press on a marker reaches the ruler instead of falling through to the canvas
and ending the text edit.
Canvas text editor: a frame in which the canvas was not laid out (the File view replaces it) counts
as a pass without the editor, so it takes keyboard focus and the input method back on return.
Tests: the close prompt's Save and reason are found in its alert dialog; an unreadable file's reason
is looked for over the File view, where its notice shows; field frames are found through nested
shapes and round combo boxes, per surface; the ribbon row's own scroll arrow, at a width where it
shows; the IME and ribbon scroll checks wait the frames the old owner's interrupt and the injected
batch take.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:58:06 +00:00
Dylan M. TaylorandClaude Opus 5.5 402fcc0981 slide text: Tab indents at a paragraph start, Ctrl word and paragraph keys, rich copy, as in production
The slide text host takes Tab and Shift+Tab where production does (list level at a paragraph start
or over a range, next cell in a table; Session::text_tab is the one rule for the editor and
Session::key), moves by PowerPoint's word stops and by paragraph on Ctrl+Up/Down, deletes words
with text.delete's smart spacing, and offers edit.copy's HTML on Copy and Cut. Ctrl+] and Ctrl+[
grow and shrink the font while text is edited. The notes test clicks the editor's first line,
since five paragraphs run past the pane's visible height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:42:52 +00:00
Dylan M. TaylorandClaude Opus 5.5 ee0a31a2bb cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:05:56 +00:00
Dylan M. Taylor 8af5b3eb8a Merge branch 'port/deckcraft/red/app-r5-2' into port/deckcraft/area/app 2026-11-27 21:05:50 +00:00
Dylan M. Taylor 7c32184df7 Merge branch 'port/deckcraft/red/app-r5-1' into port/deckcraft/area/app 2026-11-27 21:05:50 +00:00
Dylan M. TaylorandClaude Opus 5.5 53fbe3000c show: a Ctrl or Cmd wheel zoom takes over the armed zoom click, as in production
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 21:03:59 +00:00
Dylan M. TaylorandClaude Opus 5.5 481d531fe4 show: plain Enter runs Go to typed slide once, through the window's leftover Enter, also with the slide focused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:54:14 +00:00
Dylan M. TaylorandClaude Opus 5.5 766ce5c180 Bound chords run once: the window's raw key loop no longer replays them through the engine
The command catalogue fires bound chords and the canvas tool's key claims run the slide's own keys. The
keyboard loop also sent every unfocused key to Session::key, so Ctrl+W closed the presentation before
the unsaved-changes prompt could ask and Ctrl+V pasted twice. The loop now only keeps Tab on the slide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:38:37 +00:00
Dylan M. TaylorandClaude Opus 5.5 ca67e4c774 Recent-file probe trial scripts its file in the host file service
The probe asks the installed file service, so the trial puts the present file there instead of on disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:07:44 +00:00
Dylan M. TaylorandClaude Opus 5.5 3b3094e15f cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:42:36 +00:00
Dylan M. TaylorandClaude Opus 5.5 71486f44a4 app red round 4 merge: remove the DIAG prints the fixers left
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:42:31 +00:00
Dylan M. Taylor d7f7636917 Merge branch 'port/deckcraft/red/app-r4-3' into port/deckcraft/area/app 2026-11-27 19:42:13 +00:00
Dylan M. Taylor 27d6065c2a Merge branch 'port/deckcraft/red/app-r4-2' into port/deckcraft/area/app 2026-11-27 19:42:13 +00:00
Dylan M. Taylor bdc0bec7c0 Merge branch 'port/deckcraft/red/app-r4-1' into port/deckcraft/area/app 2026-11-27 19:42:13 +00:00
Dylan M. TaylorandClaude Opus 5.5 149ca6ec1b The animation preview clock reads the frame's time once, in its input pass; a JPEG export ignores the transparent-background option as production does; browser-save tests follow a request's suggested folder
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:41:29 +00:00
Dylan M. TaylorandClaude Opus 5.5 4261c10430 Show: the page and the presenter read the window's leftover Enter and Escape as their own commands; transition and prefetch trials read store keys and CPU pixels
Plain Enter and Escape are window intents, never keymap shortcuts, so the show's GoToTyped and Cancel
defaults never fired. The audience page takes the ones nothing else took, last in its pass; the
presenter body takes its window's Escape first. The transition trial enters slide 2 through the show
state and compares store keys and pictures (pages share texture ids); the prefetch trial compares the
shown frame's CPU source instead of draining egui's texture delta.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:41:09 +00:00
Dylan M. TaylorandClaude Opus 5.5 54e7dc9b58 Every ribbon tool toggle publishes its checked state; the canvas editor yields to the opening overlay; backstage, IME and field-frame tests drive the port's own signals; DIAG prints for the remaining red tests
Ribbon: the Draw and Draw Borders toggles state whether their tool is the current one, so an
unselected toggle reads unchecked instead of having no state.
Canvas text editor: blocked while a presentation is opening, so it takes focus back when the
overlay closes.
Tests: the close prompt is found as the typed UnsavedChangesDialog (it carries no command key);
host Save As lets a frame pass after the host open; Find and Replace opens through app.find; the
Japanese conversion waits for the IME to be on before composing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:26:17 +00:00