Motif 360 review
This review covers the current ck-core-motif tree, its installed native ARM64
fixtures, and the build/tooling paths used by embedders. It is intentionally
split between fixes already landed, regressions now covered, and work that
still needs a separate environment or a larger end-to-end fixture.
Completed source fixes
The following high-impact defects are fixed and have focused regressions:
- UIL listing diagnostics no longer write through an unbounded
vsprintfpath. - Image scaling checks dimensions, strides, coordinate ranges, and allocation sizes before converting to Motif geometry types.
- Text source conversion rejects ranges that cannot be represented safely.
- WML and UIL parser generation works in parallel and from an out-of-tree build.
- Standard target construction rejects unrepresentable target counts.
- External selection ownership is covered through claim, replacement, widget destruction, and selection cleanup.
- Multi-megabyte mixed-script UTF-8 clipboard round trips are covered with a chunk boundary inside a multibyte sequence.
- The list accessibility model keeps stable child identities while native rows are reordered or removed.
- Virtual-key translation rejects malformed keycodes before indexing the server keymap; the regression is qualified under a strict installed prefix.
Open qualification gaps
These are real coverage gaps rather than claims of known source defects:
- Complete x86_64 acceptance. A fresh installed x86_64 cohort now has
bounded evidence: the core toolkit and WML/UIL path build with the modern
options, and baseline, WML, non-text Unicode, accessibility-menu, XLibre
DPI-fallback, independent-client DnD, C++ and C++ ASan/UBSan fixtures pass.
This does not yet qualify full ICU/HarfBuzz text readback, external IME,
real AT-SPI/screen-reader, clipboard, application-DnD or matrix-wide
sanitizer journeys. The full optional Exm/demo tree also compiles on that
cohort after removing its case-insensitive
String.h/<string.h>header collision; its historical warnings remain outside the toolkit warning gate. Seedocs/exm-demo-build.mdfor the reproducible build boundary. - Strict sanitizer lifecycle. The synthesized DropSMgr clipper leak is
fixed and passes three repeated native runs plus a strict ASan/UBSan
auto-drag lifetime fixture. The pinned Xt dependency patch also retires the
destroyed-widget selection context; strict ABI, incremental-layout and
clipboard-lifetime consumers pass with leak detection enabled. A strict
FontSelector run still reports one 160-byte shared Xt/Xlib GC-cache
allocation at process exit after Motif label teardown; the dependency
boundary is documented in
docs/fontselector-sanitizer-boundary.mdand is not suppressed. Fontconfig, broader application ownership and other architectures remain open. - External clipboard and DnD matrix. The bounded Text/TextField fixture
proves two-client INCR cancellation followed by a fresh transfer from the
surviving owner when the pinned corrected Xt dependency is used. The
installed transfer-storage cohort additionally passes target replacement,
8/16/32-bit format assembly, merge bounds and repeated owner destruction
against that dependency. DropSMgr auto-drag teardown now passes its own
strict sanitizer fixture; direct Motif-to-Motif Text/TextField clipboard
workflows now pass for mixed-script and multi-megabyte payloads. The new
installed drop-site lifecycle probe covers registration,
retrieval, update bracketing, explicit unregister/re-register and implicit
registered-widget teardown. The installed same-process drag gesture probe
now passes conversion, drop admission, transfer-entry client-data
propagation and selection-value ownership checks, and the initiator-side
XmDragCancelprobe passes its finish notification contract. The receiverXmDropTransferlifetime probe also covers delayed-start, active incremental request cancellation and requestor-shell teardown. The source-side probe now covers owner replacement during an active drag and post-drop incremental cancellation. Same-process and cross-process two-target transfers plus independent-client incremental assembly are now covered; application drag-and-drop ownership and unqualified system-library sanitizer ownership remain open; seedocs/dropsite-lifecycle.mdanddocs/dnd-transfer-lifecycle.md. - Non-text Unicode matrix. The installed public-API fixture now covers
Label, List, ComboBox, Menu, FileSelection, ToggleSwitch and
SegmentedControl values for combining, non-BMP and Han text, plus a bounded
two-segment compound
XmStringand List item search. Mnemonics, keyboard layouts and full application navigation still need the broader mixed-script and supplementary-plane journey coverage of Text and TextField. - Accessibility user journeys. AT-SPI protocol fixtures cover transport, cache identity, actions, selection, text boundaries, and multiple shells; the bounded native Orca journey now covers menus, lists, editable text, selection and disclosure/scrollbar state announcements. Complete desktop screen-reader and application journeys remain unqualified. The native dialog journey now verifies the Error, Information, Question, Warning and Working dialog panels, localized message labels, and actionable OK buttons through the public accessibility API, including invoking the OK action and verifying that the dialog is dismissed.
- Input-method services. Local composition and selected IBus/m17n cases pass, but provider differences, candidate panels, keyboard layouts, and restart/cancellation behavior need a repeatable matrix.
- DPI and monitor changes. The installed control-metric fixture now exercises 1x/2x/4x plus a 8x boundary while preserving explicit pixel sizes. Live mixed-scale monitor changes, pixmaps, clipping, and hit testing still need measured qualification.
Product-level usability gaps
- Motif remains X11/Xft based. Xwayland is the supported Wayland deployment route; a native Wayland backend would require a separate backend design.
- The historical
XmThemesoption remains deliberately disabled; it is not the implementation used by this fork. The additiveXmAppearanceprofiles (classic,modern-light,modern-darkandhigh-contrast) provide the qualified color, metric and focus defaults while preserving classic resource precedence. They are selected before widget creation and do not mutate realized widgets. - The historical manual and visual corpus should be promoted selectively into deterministic Xvfb/native fixtures with loaded-library proof and receipts.
- The container layout code has already moved away from its old static tab-pool limitation; large-detail and unusual multi-display layouts still deserve a stress fixture.
Recommended order
- Extend the bounded x86_64 cohort to full text/IME, accessibility and clipboard qualification.
- Extend the qualified transfer cohort to application drag-and-drop workflows without mixing it with unrelated held-storage changes.
- Expand non-text Unicode and accessibility user-journey fixtures.
- Extend strict ownership coverage to Fontconfig, drag-and-drop and full application workflows without weakening the dependency boundary.
- Complete mixed-DPI qualification and expand the documented profile corpus.
Each item should land with a focused regression and a short entry in CHANGES.
CK Core Motif