The framework sync took the library's drag. Scripts and clients written to docs/control-protocol.md send the flat form, which the library refuses as unknown fields. A flat drag missing a coordinate is still refused, naming it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The catalogue lists faces under their typographic family only, so has_family missed a Windows family name ("DeckCraft Legacy Semibold") and face() never loaded its file, drawing the last-resort face. has_family and load_cataloged now also take the cataloged faces whose legacy family is the name, loading only those faces' files, as production's catalogue entries did.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- pptx convert: both sides added the chart's category_format and date_1904; keep one of each.
- AppShell slots and pages take upstream's version argument (|_| None: run every pass, as before).
- profile_root's folder list (production 274ec864) reads the log folder from one LOG_DIR in main.rs, which the logger uses too (the port moved logging to the framework).
- Cargo.lock: toml 1.1.8 for craft-update, and the synced framework's packages.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Cargo.toml, deckcraft-web and ui-egui Cargo.toml: the port's craft-libs and egui pins and the craft
facade; production's craft-host/keymap/theme/window and craft-web-api/web-host lines dropped.
- desktop main.rs: the port's runtime install and hooks; production's macOS refusal fix
(refusal_dialog and its test) kept.
- web.rs, app.rs, app/input.rs, app/keys.rs, canvas.rs, canvas/context_menu.rs, eyedropper.rs,
lib.rs, menus.rs, opening.rs, settings.rs, show/ui.rs, sorter.rs, status.rs: the port's code;
production's framework.rs and document_focus modules are no longer declared (the framework
canvas, window intents and QAT claims cover them).
- model chart.rs: production's comment for the ? placeholders.
- show/frames.rs: an audio icon with Hide During Show stays hidden while it plays (#1659),
through MediaClip::hidden_during_show.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every block in the 20 dialogs files keeps the port side: production's
edits there are the minimal port's craft_ui::ComboBox -> egui::ComboBox
renames, window Escape through framework::escape_pressed, the SmartArt
line's Tab, and install_headless harness setup in tests, all of which
the port's framework controls and harness already cover or replaced.
dialogs/body.rs stays deleted (its edits are ComboBox renames only).
Carried from production's craft-update dialog move: the update result
dialog's Cancel (Esc, the close box, a release prompt that withdrew it)
and its Close dismiss the status, so a dismissed result no longer opens
again; the dialog closes when the status returns to idle; and it gets
the updater's installing flag and progress message.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve the 23 tests-a files to the port side. Production's only edit to
them is the minimal-port harness plumbing (with_context_setup(
crate::framework::install_headless) around build_ui_state), which the
port's test_harness already covers by building the window through
SlideApp::new with the runtime installed.
Drop production's new eyedropper test space_on_the_focused_slide_picks_no_colour
from the app: in the port the pick is the framework DropperTool under
ToolHost, and Space on the canvas is the framework's momentary Hand, so
the behaviour is the framework's; it is reported as a framework trial.
find_dialog_tests.rs and ribbon/add_animation_menu_tests.rs stay deleted.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Production's edits to these files (1afbb0ec, 0d8d4b75) add
with_context_setup(crate::framework::install_headless) to hand-built
harnesses. The port's crate::test_harness already installs the craft-ui
runtime through SlideApp::new, so every hunk takes the port's side.
Production's new alt_digit_and_escape_reach_the_app_through_the_runtime
is covered by alt_digit_runs_a_quick_access_slot_unless_text_is_edited
and every_view_draws_the_document_and_the_file_tab_takes_its_focus.
ribbon/effects_tests.rs and ribbon/icons_popup_tests.rs stay deleted.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The port's deletions are kept for the 8 modify/delete files; Cargo.lock is the port's, resolved again after the combine.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The temporary-file print preview is desktop-only: craft-platform's temp
module has no web build. On the web File > Print downloads the PDF, as the
Print page says and as production did.
- Files dropped on the web canvas no longer go through a window drop target
on BodyCx, which the framework does not have. The web shell reads them
asynchronously, as production's web shell did, and hands them to the app's
FileIntake as name and bytes; a file the browser could not read is
reported in the status bar. A trial covers the intake's pathless drops.
- The settings trait import is scoped to the desktop block that uses it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Explicit super imports in the form modules; smartart_gallery takes a
LayoutPick; needless borrows and get_or_insert_with; OpeningJobs before the
test module. Tests: clipboard seeds assert the write landed (Written::Written,
as the framework's own tests do); the edit-points test's setup, target and
closing checks are helpers; the mcp backend test module is a plain
cfg(test) module (with its wasm gate beside it) so its helpers count as test
code.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ui::scope_id and Id::unique are the renamed Ui::id and Id::new (same hash, so
ids are unchanged); AtomicU64::try_update is the renamed fetch_update.
control::handle answers the input, screenshot and window methods through
window_input, bringing it under the complexity limit.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Unused imports in show.rs (the cfg(test) re-exports the tests import from
the submodules directly), lib.rs, app.rs, closing and chart_data. Dead items:
Show::hidden_time_driven (replaced by next_wake), the Show backdrop wrappers
(tests call the frame store), ShowFrames::current_key (the test checks the
texture left on screen instead), GridPick (sheet returns the picked slide;
the control channel recomputes cells), SlideApp::frame (only
integrated_titlebar read it, at construction) and catalog_generation (the
harness reads AppCatalog::generation). canvas_menu is crate-visible like its
type. The show keys test's typed-digit run is its own helper.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The renderer reads a capture back as it submits a later frame, and a slow
device (llvmpipe) may not have finished by the frame the issue asked for. The
window asked for frames only while a capture was unissued, so an idle window
(a paused GIF) drew no more and ui.screenshot got no reply in 60 s.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The blank presentation shows at production's larger size (the card thumbnail at 1.25), every tile frames
its picture only and sets its name under it on up to two lines (CaptionPlace::BelowWrapped), and
"Templates" is a plain heading, as Info's and Print's are, with no fold.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Requests are taken once a frame, in raw_input_hook. One that arrives after that
drain, in a frame whose first pass is discarded, has only the transport's wake,
which eframe drops as more than one pass old. The trial runs frames as eframe
does, one per kept wake, and needs the framework's ControlChannel::poll_input to
ask for the next frame while a request waits.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Field names its control from its label, so 'Height:' left no 'Height' spin button
(units_tests::the_ribbon_size_boxes_show_and_take_centimetres). One label style for fields in
the app: the format pane's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The labelled ribbon fields (look-fix-ribbon-row) passed their visible label, colon included,
as the control's name, so 'Height:' had no 'Height' spin button. The visible label keeps the
colon; the name is the label without it, which still starts the visible label.
InchSpelling::Mark writes inches as ″; the units tests accept it beside " and 'in' and refuse it
where no inches may show.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
eframe runs App::logic in every pass of a frame, but the frame's command states
are taken once, in raw_input_hook. A request drained in a frame's second pass
(insert.smartArt makes one) ran after that snapshot, so the pass drew the
SmartArt Design tab with Change Colors disabled and a labelled click found it
'not clickable'. A request also waited a pass between admission and its first
injected step, and a late layout change in that pass withdrew the click before
it ran ('input cancelled').
drain_control now runs in raw_input_hook, before the command states and the
injected input hook: every pass of the frame shows what the requests did, and a
request's first step enters the frame that admitted it. eframe's logic-only
iteration calls raw_input_hook too, so a hidden window still answers.
Co-Authored-By: Claude Opus 5.5 <[email protected]>