aiongg
22205fffd1
ui-contract: an OS file drop lands where it was dropped, and files hovering in the pass that takes it start their own drag
...
A drop the next frame takes reads the drop's own position, not a pointer the next files have moved, and the files the OS
holds over the window in that pass start a session once the drop ends the old one. The files' pointer is the system
pointer where the platform tells one, else the pass's own: the drag's noted source pointer is from the pass before.
2026-11-24 03:28:05 +00:00
aiongg
ae722739ab
ui-contract: presses the focused component holds leave egui's input again, and Tab stays navigation with nothing focused
...
The merge of next (b138b533fe ) passed whether a stop was focused where withdraw_taken takes whether the app's own
widget reads its keys from egui, so no held press left egui's input while anything had focus. With nothing focused the
document canvas's held claims leave out Tab and Shift+Tab: a tool that claims the plain keys no longer keeps keyboard
navigation from moving into the window. The unfocused-canvas trial releases its keys, since a press of a key already
down is a repeat.
2026-11-24 03:28:05 +00:00
bflatastic
9c9e7ae806
ui-contract: a focused stop in a layer that plays its exit loses the focus in the first pass of the exit
2026-11-24 10:12:15 +07:00
bflatastic
a6c6eda35a
theme: VectorCraft Modern's selected, pressed and disabled colours take production's values
...
Production tints selected rows and pressed fills toward the accent in every
Modern palette, the default Coral included, and draws disabled text in its
disabled grey. The VectorCraft themes pinned the untinted values and left
text.disabled derived. Their dumps also lacked tokens added since they were
last written.
2026-11-24 09:58:45 +07:00
bflatastic
12c5d012ed
ui-contract: a focused text field keeps the Escape it does not use, and every other focused control lends it to the window
2026-11-24 09:57:15 +07:00
bflatastic
7a01b71818
Merge remote-tracking branch 'origin/next' into vc/next-ci
2026-11-24 09:46:23 +07:00
bflatastic
b6b2908123
theme: regenerate the VectorCraft token dumps with the six tokens next added
2026-11-24 09:27:06 +07:00
bflatastic
68a41a9e81
text: Format Text's font row names the font_picker prop without a link the font-picker feature gates
2026-11-24 09:17:56 +07:00
bflatastic
9aa180d031
ui-contract: a press egui gives to a selection part's text takes focus through the press plan
...
A press on SelectableText has no winning framework shape, so the press plan was Unclaimed and egui's read-only
text widget took focus by itself: the focus record never saw a press, and Tab with tab_toggles_chrome on moved
focus instead of toggling the panels. A press no shape wins that egui gives to the widget of a press-only stop
now takes focus for that stop, so it records FocusOrigin::Press.
2026-11-24 09:13:59 +07:00
bflatastic
afbe61c547
automation: the control server ends a connection after its last reply by closing its write side and reading off what the client still sends, so the close no longer resets the connection and loses the reply or the end of the stream
2026-11-24 08:48:26 +07:00
bflatastic
f92a0be4ec
atomic: drop the empty line between KEPT_ATTRIBUTES and its doc comment
2026-11-24 08:37:06 +07:00
bflatastic
7002b2ec8f
ui-contract: drag::register takes a target's reach as one TargetReach; collections report an item's output through one helper
2026-11-24 08:23:57 +07:00
bflatastic
daed17160c
ui-patterns: a hosted dialog's automation set takes the host's row labels and shown states, every tab's rows and the read-only refusal again, and reports the rows it changed, which the merge of next dropped from the batched set
2026-11-24 08:11:59 +07:00
bflatastic
969bfa99fa
ui-patterns: a document dialog's fixed section puts its rows on a card again and heads them with its name, which the merge of next dropped from the section rewrite
2026-11-24 08:11:54 +07:00
bflatastic
c41413e8b5
platform: name the page save callback type; web-host: implement Files::pending_pick
2026-11-24 08:08:04 +07:00
bflatastic
1b72220272
behavior: a grid's least probe keeps its Fill columns Fill, unbounded, so a field that fills its width there measures its own width instead of none; the fill column's least is then the field's, so a grid beside a menu no longer squeezes the field under it, stacks its label in rows measured unstacked, and overlaps the next row
2026-11-24 08:07:49 +07:00
bflatastic
5d094e34ad
ui-widgets: declare the Arabic test font read from ui-contract
2026-11-24 08:02:08 +07:00
Dylan M. Taylor
945e849cba
Merge pull request #2809 from storytold/port/stubs
...
VectorCraft UI port: framework contract and components
2026-11-23 19:55:54 -05:00
bflatastic
8a4d26ccbb
Merge branch 'fix/hosted-answers-real-run' into vc/fixes-on-stubs
2026-11-24 07:42:11 +07:00
bflatastic
80854fad02
draw: Slice Options takes the host's answers only in a real run
2026-11-24 07:16:37 +07:00
bflatastic
8311df0401
ui-patterns: hosted New Document takes the host's answers and closes on an accepted held answer only in a real run
2026-11-24 07:16:28 +07:00
bflatastic
3eddf17eea
ui-patterns: hosted New Guide Layout and New Guide take the host's answers only in a real run
2026-11-24 07:16:23 +07:00
bflatastic
b178752244
ui-patterns: hosted Save for Web takes the host's answers, the Optimize answers and the automation inputs only in a real run, so a palette colour answered in a measured frame still becomes a shift
2026-11-24 07:16:21 +07:00
bflatastic
8f60b79b39
ui-patterns: hosted Export As takes the host's answers only in a real run, so a path answered in a frame whose first run measures the dialog still finishes it
2026-11-24 07:16:18 +07:00
Dylan M. Taylor
b138b533fe
Merge remote-tracking branch 'upstream/next' into pr-2809-merge
...
# Conflicts:
# crates/automation/Cargo.toml
# crates/automation/src/access.rs
# crates/automation/src/synthetic.rs
# crates/automation/tests/it/access.rs
# crates/automation/tests/it/synthetic.rs
# crates/behavior/src/codec.rs
# crates/behavior/src/edit_history.rs
# crates/behavior/src/lib.rs
# crates/behavior/src/wheel.rs
# crates/color-ui/src/ui/paint_chip.rs
# crates/color-ui/src/ui/pair.rs
# crates/color-ui/src/ui/palette.rs
# crates/color-ui/src/ui/palette/stories.rs
# crates/dialogs/src/service.rs
# crates/draw/src/ui/transform/transform_box.rs
# crates/draw/src/ui/transform/transform_box/stories.rs
# crates/draw/tests/it/transform_box.rs
# crates/font-manager/src/glyphs.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rank.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/font-manager/tests/it/picker.rs
# crates/host/src/lib.rs
# crates/menu/src/context.rs
# crates/menu/src/mac.rs
# crates/menu/src/model.rs
# crates/pages/src/ui/view.rs
# crates/platform/README.md
# crates/platform/src/browser_files.rs
# crates/print/src/ui/dialog.rs
# crates/print/src/ui/mod.rs
# crates/print/src/ui/panel.rs
# crates/print/src/ui/stories.rs
# crates/print/tests/it/dialog.rs
# crates/text/src/ui/character.rs
# crates/text/src/ui/character/rows.rs
# crates/text/src/ui/editor.rs
# crates/text/tests/it/editor.rs
# crates/text/tests/it/main.rs
# crates/ui-canvas/src/canvas/mod.rs
# crates/ui-canvas/src/canvas/split/stories.rs
# crates/ui-canvas/src/canvas/tool_host.rs
# crates/ui-canvas/src/canvas_controls/outline/mod.rs
# crates/ui-canvas/src/canvas_controls/task_bar.rs
# crates/ui-canvas/src/canvas_controls/task_bar/stories.rs
# crates/ui-canvas/tests/it/canvas/navigate.rs
# crates/ui-canvas/tests/it/canvas/tool_keys.rs
# crates/ui-canvas/tests/it/canvas_controls/task_bar.rs
# crates/ui-contract/src/contract/collection/props.rs
# crates/ui-contract/src/contract/cx/pointer.rs
# crates/ui-contract/src/contract/items/access.rs
# crates/ui-contract/src/contract/items/drag.rs
# crates/ui-contract/src/contract/items/lead.rs
# crates/ui-contract/src/contract/label.rs
# crates/ui-contract/src/contract/mod.rs
# crates/ui-contract/src/contract/run.rs
# crates/ui-contract/src/contract/steps/report.rs
# crates/ui-contract/src/contract/steps/update.rs
# crates/ui-contract/src/primitives/mod.rs
# crates/ui-contract/src/primitives/sensing.rs
# crates/ui-contract/src/primitives/text_adapter.rs
# crates/ui-contract/src/primitives/text_input.rs
# crates/ui-contract/src/runtime/access/emit.rs
# crates/ui-contract/src/runtime/access/text.rs
# crates/ui-contract/src/runtime/commands/board.rs
# crates/ui-contract/src/runtime/commands/mod.rs
# crates/ui-contract/src/runtime/drag.rs
# crates/ui-contract/src/runtime/egui/access.rs
# crates/ui-contract/src/runtime/egui/access/tree.rs
# crates/ui-contract/src/runtime/egui/input.rs
# crates/ui-contract/src/runtime/env.rs
# crates/ui-contract/src/runtime/focus/nav.rs
# crates/ui-contract/src/runtime/frame.rs
# crates/ui-contract/src/runtime/keys.rs
# crates/ui-contract/src/runtime/keys/claims.rs
# crates/ui-contract/src/runtime/keys/input.rs
# crates/ui-contract/src/runtime/keys/route.rs
# crates/ui-contract/src/runtime/pointer.rs
# crates/ui-contract/src/runtime/windows.rs
# crates/ui-contract/src/testing/fixture.rs
# crates/ui-contract/src/testing/host_key_trials.rs
# crates/ui-contract/tests/it/collection/rows.rs
# crates/ui-contract/tests/it/drag/mod.rs
# crates/ui-contract/tests/it/runtime/wheel.rs
# crates/ui-macros/src/props.rs
# crates/ui-panels/src/dialog/mod.rs
# crates/ui-panels/src/dialog/prompts.rs
# crates/ui-panels/src/dialog/recovery.rs
# crates/ui-panels/src/dialog/trials.rs
# crates/ui-panels/src/dialog/words.rs
# crates/ui-panels/src/rails/drawer.rs
# crates/ui-panels/src/rails/drawer/stories.rs
# crates/ui-panels/src/rails/tool/trials.rs
# crates/ui-panels/src/sections/footer.rs
# crates/ui-panels/tests/it/rails/drawer.rs
# crates/ui-patterns/src/patterns/dock/area.rs
# crates/ui-patterns/src/patterns/form_dialogs/about.rs
# crates/ui-patterns/src/patterns/form_dialogs/dialog.rs
# crates/ui-patterns/src/patterns/form_dialogs/dialog/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/host_requests.rs
# crates/ui-patterns/src/patterns/form_dialogs/mod.rs
# crates/ui-patterns/src/patterns/form_dialogs/param.rs
# crates/ui-patterns/src/patterns/form_dialogs/properties.rs
# crates/ui-patterns/src/patterns/form_dialogs/properties/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows/stories.rs
# crates/ui-patterns/src/patterns/panels/history.rs
# crates/ui-patterns/src/patterns/preferences/document/model.rs
# crates/ui-patterns/src/patterns/preferences/model.rs
# crates/ui-patterns/src/patterns/preferences/page.rs
# crates/ui-patterns/src/patterns/preferences/rows.rs
# crates/ui-patterns/src/patterns/preferences/window.rs
# crates/ui-patterns/src/patterns/preferences/window/stories.rs
# crates/ui-patterns/src/patterns/presets/browser.rs
# crates/ui-patterns/tests/it/docking/group_view.rs
# crates/ui-patterns/tests/it/form_dialogs/dialog.rs
# crates/ui-patterns/tests/it/form_dialogs/params.rs
# crates/ui-patterns/tests/it/preferences/model.rs
# crates/ui-shell/src/shell/start.rs
# crates/ui-shell/src/shell/start/stories.rs
# crates/ui-widgets/src/buttons/icon_button.rs
# crates/ui-widgets/src/buttons/mod.rs
# crates/ui-widgets/src/buttons/stories.rs
# crates/ui-widgets/src/choice/swatch.rs
# crates/ui-widgets/src/choice/swatch_table.rs
# crates/ui-widgets/src/display/text.rs
# crates/ui-widgets/src/form/slider_field.rs
# crates/ui-widgets/src/layout_components/mod.rs
# crates/ui-widgets/src/list/mod.rs
# crates/ui-widgets/src/list/row/paint.rs
# crates/ui-widgets/src/list/row/show.rs
# crates/ui-widgets/src/list/stories.rs
# crates/ui-widgets/src/list/view.rs
# crates/ui-widgets/src/list/view_stories.rs
# crates/ui-widgets/src/menu/mod.rs
# crates/ui-widgets/src/menu/stories.rs
# crates/ui-widgets/src/pickers/select.rs
# crates/ui-widgets/src/tabs/document.rs
# crates/ui-widgets/src/text/number.rs
# crates/ui-widgets/src/text/zoom_field.rs
# crates/ui-widgets/src/tile_grid/grid.rs
# crates/ui-widgets/src/tile_grid/grid/stories.rs
# crates/ui-widgets/src/tile_grid/mod.rs
# crates/ui-widgets/tests/it/label/tooltip.rs
# crates/ui-widgets/tests/it/popover/popup.rs
# crates/ui-widgets/tests/it/tabs.rs
# crates/ui-widgets/tests/it/text/mod.rs
# crates/ui-widgets/tests/it/text/number.rs
# crates/ui-widgets/tests/it/tile_grid/grid.rs
# crates/window/Cargo.toml
# docs/components-index.md
# docs/porting.md
2026-11-23 19:01:32 -05:00
Dylan M. Taylor
b436ae9925
PdfCraft UI port: framework changes ( #3232 )
...
PdfCraft UI port: framework changes
2026-11-23 15:04:44 -05:00
bflatastic
e952ad33c7
workspace: unreached-rs allows vendor/**, whose crates are on the workspace exclude list and so have no module tree the check can follow
2026-11-24 02:44:27 +07:00
bflatastic
bf62d509fb
Merge branch 'sync/delta11' into sync/next2
2026-11-24 02:04:29 +07:00
bflatastic
3a90546e2a
ui-contract, ui-test-kit: a press egui gives a component's text widget (a focused field's) is no press on its container's own surface, so a second click into a focused field in a dock group no longer hands the focus to the panel's tab, whose Escape and Enter then never reached the window; test kit Windows::root_env sends an app's root values
2026-11-24 02:03:20 +07:00
bflatastic
dbcbf55e18
Merge commit '0726c0f87' into sync/next2
2026-11-24 01:52:47 +07:00
bflatastic
57aacff99d
Merge remote-tracking branch 'origin/next' into sync/next2
2026-11-24 01:41:30 +07:00
bflatastic
b78d580c7d
ui-contract: a window-wide drop target (a tab strip's tear-off) yields to a component's target under the pointer in another window, also one that window's running pass registered: a tab dragged out of a document's OS window and released over the main window's strip tore off instead of docking there
2026-11-24 01:37:06 +07:00
bflatastic
5353053e5a
ui-contract: RootEnv::shortcuts_repeat: with it on, a held key's repeats run its chord's command again as FirePhase::Repeat, matched on their own (no double press, no hold wait settled), except a key with a hold binding or one held over a modal layer's opening or closing; off by default: a shortcut bound to a held key ran only on its press, where production repeated it
2026-11-24 01:32:36 +07:00
Dylan M. Taylor
0a6e42b80b
fw sync: a Fill picture without a set aspect takes the SVG's own or a square (next 126ec28dc meets the port's optional aspect)
2026-11-23 13:30:20 -05:00
Dylan M. Taylor
e3562d3c21
Merge remote-tracking branch 'origin/next' into pdf-port/sync
2026-11-23 13:22:30 -05:00
bflatastic
dab7d1a115
ui-contract: a shell without Caps::SYSTEM_CURSOR keeps the system pointer under a painted cursor and paints none, nor hands the window an image: a host on Wayland with no cursor theme, where a hidden pointer never comes back, could not keep it
2026-11-24 01:09:28 +07:00
bflatastic
efebc0cdac
color-ui: ColorDisc::stored_as and HarmonyWheel::stored_as take the host's round trip through its own colour model, so a drag whose colour comes back moved by it (CMYK through a profile) is still the drag's; without it the disc keeps its 8-bit echo check: a host storing colours in another model had its own drags cancelled as outside changes
2026-11-24 01:08:34 +07:00
bflatastic
0726c0f87d
ui-contract, ui-canvas: KeyUse::command_keys and Canvas::editor_command_keys: a canvas editor that has the keys leaves chords with the platform's command modifier and function keys to the app's commands under any typing rule, its text editing chords kept; off by default: under TypingRule::AllWait a type tool's editor ran none of the app's Cmd chords or function keys
2026-11-24 00:58:13 +07:00
bflatastic
83b922e633
ui-contract: an Alt chord's text is withheld only when a binding of it in a scope around the focus can run, as the key stage matches the press: a type editor's Alt chord in a scope no focused component is in kept the character a layout types for it (a Blob Brush's [) from reaching anything
2026-11-24 00:58:07 +07:00
bflatastic
85ba69b147
ui-patterns: PaletteOutput::refused names the disabled command Enter was pressed on, from the new CollectionEvent::Refused of a disabled lead's Enter, so an app can close the palette and say why: the palette stayed open and told the app nothing
2026-11-24 00:57:53 +07:00
bflatastic
662ff9264a
ui-contract: with RootEnv::escape_leaves_fields, Escape in a field of a dialog that Escape closes stays the dialog's with nothing typed too: the field took it to give up the focus and the dialog stayed open
2026-11-24 00:57:52 +07:00
bflatastic
4a6ea8a984
ui-contract: a text part asks where the keyboard goes back to only once it held the focus or keeps a selection for a menu, so a part that never held the focus reads no focus in its run: the replay audit found a memoized view whose field read the focus only when another stop had it
2026-11-24 00:57:49 +07:00
Dylan M. Taylor and Claude
7c0ae3e639
fw sync: merge craft-libs next e3ca63165 (149 commits) into pdf-port/sync
...
Conflicts resolved (upstream's design and defaults win; the port's opt-ins stay):
- ui-contract fonts: upstream's served-faces provider, catalog job queue and byte budget;
the port's FaceBytes::chain (Word subset siblings, F-8) re-done on the provider: a served
face lists its served chain faces before the interface faces, a sibling landing after its
owner remakes egui's fonts once, drawing a face marks its chain drawn. The port's chain
trial moves onto upstream's rig, plus a late-sibling trial.
- text editor HostCx follows FacesCx's job-based document_face and document_face_bytes.
- ui-widgets Swatch: upstream's SwatchFill (split, spectrum, image, empty) with the port's
Swatch::optional / SwatchFace::optional (new SwatchFill::None, the "no colour" diagonal)
and Swatch::icon (glyph on the empty well) on top; both word sets kept.
- draw PaintBar: upstream's MixerLoad fill.
- font-manager: upstream's sample band; host rows (port) use it too.
- ui-panels / ui-patterns dock grips: upstream's drag_origin and named slack.
- platform clipboard tests: both trials kept.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:54:08 -05:00
Martin Ball and Claude Opus 5.5
126ec28dca
ui-widgets: a painter picture can fill its slot (wordcraft#7317 C3-1) ( #3131 )
...
* ui-widgets: painter pictures take an explicit size (wordcraft#7317 C3-1)
Add PictureSize::Points(u16) and make Picture::painter take a PictureSize,
so a painter no longer falls back silently to the 18 pt icon side.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* ui-widgets: PictureSize doc names the points variant
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* Picture: PictureSize::Fill takes the room its parent gives, replacing Points(u16)
A painter picture can fill a dialog's preview slot at its aspect, with no raw
point size (design-lint props/point-size). painter() keeps its original
signature; callers opt in with .extent(PictureSize::Fill). measure reports the
offered room so a Fill picture never overflows a narrower one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* Picture: a Fill picture in an unbounded room takes the icon side's height
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 17:41:18 +00:00
Dylan M. Taylor and Claude
0dfc9d47eb
fw sync: the flat note Reply's edge takes the note's colour
...
Trial a_flat_reply_edge_takes_the_notes_colour.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:24:54 -05:00
Dylan M. Taylor and Claude
346f5ac9fe
fw sync: PageRangeChoices::Line, ParamDialog::caption_column, Param::short_slider (Slider/SliderField::short)
...
Trials line_page_range_options_stand_on_one_line_with_no_page_count, a_caption_column_puts_a_group_caption_beside_its_group_and_lines_the_controls_up, a_short_slider_row_is_as_wide_as_its_content.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:24:54 -05:00
Dylan M. Taylor and Claude
e93d468b76
fw sync: floating window bodies keep to the window's rounded corners (frame_surfaces, FloatingGroup::rounded_body, DockConfig::floating_rounded_body); CaptionColumn env value for inline forms
...
Trial a_rounded_window_body_keeps_its_surfaces_inside_the_rounded_corners (ui-patterns docking/floating_rail.rs).
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:24:54 -05:00
Dylan M. Taylor
40442e2f69
Merge branch 'pdf-port/sync' into pdf-port/sync-look
2026-11-23 11:09:46 -05:00
bflatastic
e36d3d0034
ui-contract: RootEnv::escape_leaves_fields lets an app's Escape in a focused text field also give up the focus, with or without typing to revert, as egui's own fields did; off by default: a framework field kept the keys after Escape, so the next Enter stayed the field's
2026-11-23 21:51:05 +07:00
bflatastic
3b17e2b367
behavior: NumberCodec::share_of_start reads a lone percentage (Reader::share) as that share of the value the edit started from, on every pass and on commit only: a size field's 50% could only be read against the value of the moment, which the numbers typed before the % had already applied
2026-11-23 21:37:00 +07:00