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
0a33cd9217
ui-contract: a command a key fires carries its event's place, and Cx::editor_steps gives an editor its inputs and its scope's commands in one stream in arrival order
2026-11-23 09:19:36 +07:00
bflatastic
0f77a22391
ui-contract: the empty-commit IME trial matches EditorInput::Newline by its shift field
2026-11-23 02:23:41 +07:00
bflatastic
d467ed3dcd
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/font-catalog/src/tests.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/ui-patterns/src/patterns/panels/palette.rs
# crates/ui-patterns/src/patterns/presets/browser.rs
# crates/ui-widgets/src/list/mod.rs
# crates/ui-widgets/src/list/view.rs
2026-11-23 02:15:44 +07:00
bflatastic
69751723d5
ui-contract: a clipboard command reaches the focused component in its event's place among the frame's keys and texts, so an editor reads a paste in order with the typing around it
2026-11-23 02:01:10 +07:00
bflatastic
39f86f764c
behavior, ui-contract: Enter reaches an editor as EditorInput::Newline { shift }, each routed intent keeping the Shift of the press it came from, so an editor tells Shift+Enter from Enter in the order they came
2026-11-23 02:00:53 +07:00
aiongg
dad1d6ab80
ime: an empty commit with nothing marked is no edit
...
An empty commit inserts nothing, so it replaces no selection (the Type
tool's selected placeholder, photocraft#15556) and ends no composition
whose confirming key needs the guard frame. An empty commit that ends a
composition still ends it.
2026-11-22 09:06:38 +00:00
bflatastic
5ecba486c3
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/behavior/src/overlay.rs
# crates/ui-canvas/src/canvas_controls/guides/mod.rs
# crates/ui-contract/src/contract/label/step.rs
# crates/ui-contract/src/contract/overlay/placement.rs
# crates/ui-contract/src/contract/tooltip.rs
# crates/ui-patterns/tests/it/docking/native.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 02:11:13 +07:00
bflatastic
03ef0d0817
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/automation/Cargo.toml
# crates/automation/src/client.rs
# crates/automation/src/control.rs
# crates/automation/src/screenshot.rs
# crates/automation/src/synthetic.rs
# crates/automation/tests/it/main.rs
# crates/automation/tests/it/synthetic.rs
# crates/color-ui/src/palette.rs
# crates/color-ui/src/ui/area.rs
# crates/color-ui/src/ui/disc/stories.rs
# crates/color-ui/src/ui/mod.rs
# crates/color-ui/src/ui/paint_chip.rs
# crates/color-ui/src/ui/pair/stories.rs
# crates/color-ui/src/ui/palette/stories.rs
# crates/color-ui/src/ui/panel.rs
# crates/color-ui/src/ui/picker/stories.rs
# crates/color-ui/src/ui/picker_dialog.rs
# crates/color-ui/src/ui/swatches/library.rs
# crates/color-ui/src/ui/swatches/panel.rs
# crates/color-ui/src/ui/swatches/stories.rs
# crates/color-ui/src/ui/wheel/stories.rs
# crates/color-ui/tests/it/main.rs
# crates/color-ui/tests/it/panels.rs
# crates/color-ui/tests/it/picker.rs
# crates/dialogs/src/lib.rs
# crates/dialogs/src/native.rs
# crates/dialogs/src/portal.rs
# crates/dialogs/src/service.rs
# crates/draw/src/ui/brush_presets/panel.rs
# crates/draw/src/ui/brush_presets/picker.rs
# crates/draw/src/ui/brush_presets/stories.rs
# crates/draw/src/ui/gradient/palette/mod.rs
# crates/draw/src/ui/pattern/editor.rs
# crates/draw/src/ui/pen/stories.rs
# crates/draw/src/ui/transform/mod.rs
# crates/draw/src/ui/transform/transform_box.rs
# crates/draw/src/ui/transform/transform_box/stories.rs
# crates/draw/src/ui/transform/transform_fields.rs
# crates/draw/tests/it/brush_presets.rs
# crates/draw/tests/it/main.rs
# crates/draw/tests/it/transform_box.rs
# crates/font-manager/src/axes.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/font-manager/tests/it/main.rs
# crates/font-manager/tests/it/picker.rs
# crates/host/src/files.rs
# crates/i18n/src/lib.rs
# crates/imaging/src/ui/layer_style/styles.rs
# crates/keymap/src/keymap.rs
# crates/keymap/src/matcher.rs
# crates/layers/src/ui/filter/mod.rs
# crates/layers/src/ui/filter/stories.rs
# crates/layers/src/ui/mock.rs
# crates/layers/src/ui/panel/mod.rs
# crates/layers/src/ui/panel/stories.rs
# crates/layers/src/ui/tree.rs
# crates/layers/tests/it/panel_drag_menu.rs
# crates/layers/tests/it/panel_filter.rs
# crates/menu/src/bar.rs
# crates/menu/src/driver.rs
# crates/menu/src/model.rs
# crates/menu/src/shortcuts/pages.rs
# crates/menu/src/shortcuts/state.rs
# crates/menu/src/shortcuts/stories.rs
# crates/menu/src/shortcuts/view.rs
# crates/menu/tests/it/main.rs
# crates/menu/tests/it/native.rs
# crates/menu/tests/it/shortcuts/mod.rs
# crates/pages/src/ui/mod.rs
# crates/pages/src/ui/view.rs
# crates/platform/README.md
# crates/platform/src/clipboard_tests.rs
# crates/platform/src/open.rs
# crates/print/src/ui/stories.rs
# crates/text/src/ui/character.rs
# crates/text/src/ui/character/stories.rs
# crates/text/src/ui/find.rs
# crates/text/src/ui/find/dialog.rs
# crates/text/src/ui/find/stories.rs
# crates/text/src/ui/ruler.rs
# crates/text/src/ui/ruler/paint.rs
# crates/text/src/ui/ruler/run.rs
# crates/text/tests/it/main.rs
# crates/text/tests/it/ruler.rs
# crates/ui-canvas/src/canvas/mod.rs
# crates/ui-canvas/src/canvas/tool.rs
# crates/ui-canvas/src/canvas/tool_host.rs
# crates/ui-canvas/src/canvas_controls/grid/mod.rs
# crates/ui-canvas/src/canvas_controls/grid/stories.rs
# crates/ui-canvas/src/canvas_controls/guides/stories.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/rulers.rs
# crates/ui-canvas/tests/it/canvas/tool.rs
# crates/ui-canvas/tests/it/canvas_controls/grid.rs
# crates/ui-contract/src/contract/body/presses.rs
# crates/ui-contract/src/contract/items/drag.rs
# crates/ui-contract/src/contract/items/hooks.rs
# crates/ui-contract/src/contract/items/lead.rs
# crates/ui-contract/src/contract/overlay/placement.rs
# crates/ui-contract/src/contract/overlay/props.rs
# crates/ui-contract/src/contract/overlay/ui.rs
# crates/ui-contract/src/contract/steps/label.rs
# crates/ui-contract/src/contract/text.rs
# crates/ui-contract/src/contract/tooltip.rs
# crates/ui-contract/src/layout/body.rs
# crates/ui-contract/src/primitives/draw.rs
# crates/ui-contract/src/primitives/icon.rs
# crates/ui-contract/src/primitives/mod.rs
# crates/ui-contract/src/primitives/textures/thumbnails.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/input.rs
# crates/ui-contract/src/runtime/egui/plugin.rs
# crates/ui-contract/src/runtime/frame.rs
# crates/ui-contract/src/runtime/keys.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/wheel.rs
# crates/ui-contract/src/runtime/windows.rs
# crates/ui-contract/src/runtime/windows/viewport.rs
# crates/ui-contract/src/style/cx.rs
# crates/ui-contract/src/style/span.rs
# crates/ui-contract/src/testing/access.rs
# crates/ui-contract/src/testing/icon_trials.rs
# crates/ui-contract/tests/it/body/mod.rs
# crates/ui-contract/tests/it/runtime/mod.rs
# crates/ui-contract/tests/it/runtime/wheel.rs
# crates/ui-contract/tests/it/runtime/windows.rs
# crates/ui-contract/tests/it/text/editor.rs
# crates/ui-gallery/src/mock/panels.rs
# crates/ui-panels/src/dialog/mod.rs
# crates/ui-panels/src/docking/group.rs
# crates/ui-panels/src/rails/drawer/stories.rs
# crates/ui-panels/src/rails/tool.rs
# crates/ui-panels/src/rails/tool/stories.rs
# crates/ui-panels/src/rails/tool/trials.rs
# crates/ui-panels/src/sections/footer.rs
# crates/ui-panels/tests/it/dialogs.rs
# crates/ui-patterns/src/patterns/dock/hide.rs
# crates/ui-patterns/src/patterns/dock/panes.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/list_manager.rs
# crates/ui-patterns/src/patterns/form_dialogs/list_manager/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/mod.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document/cards.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document/details.rs
# crates/ui-patterns/src/patterns/form_dialogs/param.rs
# crates/ui-patterns/src/patterns/form_dialogs/pdf_export.rs
# crates/ui-patterns/src/patterns/form_dialogs/pdf_export/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/report.rs
# crates/ui-patterns/src/patterns/form_dialogs/report/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/hosted.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/model.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/options.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/stories.rs
# crates/ui-patterns/src/patterns/panels/palette.rs
# crates/ui-patterns/src/patterns/panels/palette/stories.rs
# crates/ui-patterns/src/patterns/preferences/document/model.rs
# crates/ui-patterns/src/patterns/preferences/page.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/src/patterns/presets/browser/stories.rs
# crates/ui-patterns/src/patterns/presets/manager.rs
# crates/ui-patterns/src/patterns/presets/mod.rs
# crates/ui-patterns/src/patterns/presets/named.rs
# crates/ui-patterns/src/patterns/presets/picker.rs
# crates/ui-patterns/tests/it/docking/drop_session.rs
# crates/ui-patterns/tests/it/docking/native.rs
# crates/ui-patterns/tests/it/form_dialogs/hosted.rs
# crates/ui-patterns/tests/it/form_dialogs/list_manager.rs
# crates/ui-patterns/tests/it/form_dialogs/mod.rs
# crates/ui-patterns/tests/it/form_dialogs/params.rs
# crates/ui-patterns/tests/it/form_dialogs/save_for_web.rs
# crates/ui-patterns/tests/it/panels/palette.rs
# crates/ui-patterns/tests/it/presets/browser.rs
# crates/ui-shell/src/shell/app_shell.rs
# crates/ui-shell/src/shell/app_shell/stories.rs
# crates/ui-shell/src/shell/mod.rs
# crates/ui-shell/src/shell/start.rs
# crates/ui-shell/src/shell/start/stories.rs
# crates/ui-shell/tests/it/commands/mod.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
# crates/ui-shell/tests/it/shell/mod.rs
# crates/ui-widgets/src/bars/bar.rs
# crates/ui-widgets/src/buttons/button.rs
# crates/ui-widgets/src/buttons/face.rs
# crates/ui-widgets/src/buttons/mod.rs
# crates/ui-widgets/src/buttons/stories.rs
# crates/ui-widgets/src/choice/mod.rs
# crates/ui-widgets/src/choice/swatch.rs
# crates/ui-widgets/src/choice/swatch/stories.rs
# crates/ui-widgets/src/choice/swatch_table.rs
# crates/ui-widgets/src/choice/swatch_table/stories.rs
# crates/ui-widgets/src/display/text.rs
# crates/ui-widgets/src/list/row.rs
# crates/ui-widgets/src/list/row/paint.rs
# crates/ui-widgets/src/list/stories.rs
# crates/ui-widgets/src/list/view_stories.rs
# crates/ui-widgets/src/menu/bar.rs
# crates/ui-widgets/src/menu/item.rs
# crates/ui-widgets/src/menu/search.rs
# crates/ui-widgets/src/menu/stories.rs
# crates/ui-widgets/src/pickers/mod.rs
# crates/ui-widgets/src/pickers/reference_point.rs
# crates/ui-widgets/src/pickers/reference_point/stories.rs
# crates/ui-widgets/src/tabs/strip.rs
# crates/ui-widgets/src/text/number.rs
# crates/ui-widgets/src/text/number/stories.rs
# crates/ui-widgets/src/tile_grid/grid.rs
# crates/ui-widgets/tests/it/buttons.rs
# crates/ui-widgets/tests/it/label/mod.rs
# crates/ui-widgets/tests/it/label/tooltip.rs
# crates/ui-widgets/tests/it/main.rs
# crates/ui-widgets/tests/it/menu/bar.rs
# crates/ui-widgets/tests/it/menu/mod.rs
# crates/ui-widgets/tests/it/menu/rows.rs
# crates/ui-widgets/tests/it/menu/search.rs
# crates/ui-widgets/tests/it/pickers/select_list.rs
# crates/ui-widgets/tests/it/text/mod.rs
2026-11-22 01:16:36 +07:00
bflatastic
67c3c579a9
type-w1: net change of 1 commits
...
- type-w1: written from its sheet
2026-11-21 21:27:19 +07:00
aiongg
df6c100b78
Repin egui to storytold/egui next 72cb386ac: a word laid out in room equal to its width keeps its width
...
egui's galley cache rounded a finite wrap width to whole points and then
clamped the reported width to it, so "200" (22.47 pt) laid out at 22.47 came
back 22.0 and an Info readout row stacked under its label. The fork rounds to
GUI_ROUNDING instead.
The repin also brings next's two commits ahead of the old pin (AccessKit
parent map reader, replayed widgets as used ids).
Trials: ui-contract text::band (a word in room equal to its width, Wrap and
Elide, at 1x and 2x) and the Info panel trial at G=200, K=44%.
2026-11-21 09:23:14 +00:00
aiongg
d84b15cca1
Text layout memo: one measurement path, eviction by use, a total budget
...
Removes the paired measure (Component::PAIRED_MEASURE, measure_pair and its
six adopters, MeasureCx::least_width) and the prepared-leaf path
(PreparedLeaf, PreparedStep, run_with, show_leaf_prepared,
measure_under_prepared, child_with_prepared): every leaf is measured by
measure alone, and the recursive run frames carry only what they read after
their children again.
Keeps the text layout memo and the lazy layout runs, with three fixes: a Line
run keys its width as infinity, entries unused for 60 passes go instead of
first in first out, and a 32 MiB budget bounds what the memo retains.
TextLayout's full and runs are private behind full() and runs().
2026-11-20 22:06:54 +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 and Claude Opus 5.5
1becfbb1ee
ui-contract: lower layers no longer import higher ones (design-lint layer/import)
...
The painted pointer art and painted_image move from runtime::cursor to primitives::pointer_art, which
draws them; EditorSurrounding moves to runtime::ime, which reads it; StyleCx::face moves to
contract::items beside measure_under. EditorSurrounding gets text() and unavailable() constructors now
its variants are non_exhaustive. painted_image is reached as craft_ui::primitives::painted_image.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 09:38:49 +00: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 Ball and Claude Opus 5.5
e1d833c5ff
fwstub-2: an editor that refuses an input method's edit asks for the interrupt itself (EditorHandle/Cx/ToolPass::ime_interrupt): a batch of a refused deletion and commits ends with nothing composing, so the engine could not see it, and the app fell back to an application change that made the fresh commit Other; the interrupt now goes out beside the pass's InputMethod receipt; trial
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-19 22:13:41 +00:00
Martin Ball and Claude 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 Ball and Claude 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 Ball and Claude 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
FredApps
b04d18a735
Select UI suite items through explicit registries
2026-11-19 12:20:08 +01:00
Martin Ball
42bcdb68e7
fu-platform: app batch 1 rulings (S-L324, S-L239)
2026-11-18 22:39:34 +00:00
Martin Ball
57b7c457f3
canvas-w2: net change of 3 commits
...
- canvas-w2: finished by an agent
- canvas-w2: finished by an agent
- canvas-w2: review fixes (review-1)
2026-11-18 14:03:47 +00:00
aiongg
260a64cf62
Clippy: lints the gate denies in ui-contract and window (identical if blocks, then_some, an Option mask in the icon trial, items after the test module); the it tests name epaint_default_fonts' special emojis and use Id::unique
2026-11-16 01:55:23 +00:00
aiongg
14d5ec609a
cargo fmt
2026-11-15 10:23:21 +00:00
aiongg
1e8c2736ed
canvas-widgets-w4: net change of 11 commits
...
- canvas-widgets-w4: written by an agent
- canvas-widgets-w4: finished by an agent
- canvas-widgets-w4: review fixes (review-1)
- canvas-widgets-w4: pen readings drain in the pass that carries moves (per-frame input rule)
- Integration: input hook keeps canvas-widgets-w13's frame key and inject_pass beside the focus-loss withdrawal and inject_ime
- canvas-widgets-w4: tp.T39 ControlClick moved from PhotoCraft (Integration: top-w7's item, on this set's hot path)
- canvas-widgets-w4: Control-click trial in the it binary (tp.T39)
- canvas-widgets-w4: the gesture-gap trial reads the wake once egui's wheel smoothing has settled (fwcw round 3)
- canvas-widgets-w4: the list-end trial starts a new wheel gesture at the list's end, as a running gesture keeps its taker (fwcw round 3)
- canvas-widgets-w4: the free-slider wheel trial points inside the panel, which is as wide as its members (fwcw round 3)
- canvas-widgets-w4: the Tab-and-paste trial uses prose editors, as a code editor part keeps Tab (fwcw round 3)
2026-11-15 04:46:06 +00:00
aiongg
73030467ae
IME engine fix round 1: only the IME owner's report counts; retired resets come from the integration
...
- note_editor ignores every editor but the IME owner, so a second editor shown after it leaves the owner's
composing report standing; editor_history answers non-owners (false, false).
- egui repinned to the fork's craft/ime-reset-retired (9b1f60c60): Event::ImeResetRetired reports a reset request
egui-winit or PlatformOutput::append dropped without a completion. The engine asks again on the retirement of
its own request; the focus check and the no-output retire in end_pass are gone. The test fixture reports
retirements where egui-winit does (focus loss, no IME output, another IME context, a newer request, egui's
dropped requests).
- The sheet grid's point mode ends a composition in the draft, its marked text kept as typed.
- TextEditor applies a pass's input before its press (the press is the pass's last pointer event, H0), so a
preedit and a press in one raw frame change the marked text once and the press interrupts.
Trials: a reset the integration retires is asked again (craft-ui-contract); the click trial gains a second
editor shown after the composing one and a preedit-then-press frame (craft-text).
2026-11-13 16:15:16 +00:00
aiongg
f910b4fe3c
IME engine: an editor's own end of composition interrupts the OS composition; resets end only with their own completion
...
EditorState.composing replaces EditorState.revision (and TextEditorHost::revision): an editor that reported
composing and now does not ended the composition itself (a press in its text, a selection, an app edit over the
marked text), and the engine interrupts the OS composition and drops its late events. TextEditor and the sheet
grid report their marked text; editors that show none report false throughout.
The reset fence ends only with the completion of the engine's latest request (ImeResetId); an earlier request's
completion is stale. A request the integration can no longer answer (a pass with no IME output, an unfocused
window) is retired and asked again when an owner returns.
Trials: preedit and a click during composition for a canvas TextEditor, with one press per pass holding the late
commit for the next pass (craft-text); reset requests and stale completions (craft-ui-contract).
2026-11-13 16:15:16 +00:00
aiongg
e4d2fc38fb
Runtime and contract: craft-ui-contract, macros and the test kit
2026-11-12 14:09:32 +00:00