CK Core Motif
CK Core Motif

WP-04 control-metric audit

tests/automated/check-dpi-control-metrics.c is an installed consumer that records default metrics outside the already-qualified indicator and SpinBox subset. It creates real PushButton, TextField, ScrollBar, Notebook and MessageDialog controls at 75, 150 and 300 Xft.dpi, then realizes the hierarchy under Xvfb.

The fixture records focus-ring and shadow thickness, text margins, scrollbar dimensions, Notebook frame/back-page metrics, dialog margins, and a real TextField selection interval. It also checks that an explicit PushButton highlight thickness and an explicit ScrollBar width remain unchanged when the controls are realized outside a parent-owned layout policy.

The current AArch64 uconsole observation is:

DPIPush highlight/shadowText highlight/marginScrollbar width/heightNotebook frame/back pageDialog margin
752 / 22 / 5160 / 1042 / 810
1502 / 22 / 5192 / 1042 / 810
3002 / 22 / 5256 / 1042 / 810

The values are audit evidence, not universal defaults for every X server or resource database. In particular, focus/shadow/text/dialog metrics remain constant in this build while the default ScrollBar width changes; this is a classification result, not an automatic correction. Explicit application values and selection state are preserved. No source change is justified by this fixture alone; any future correction must identify the intended contract and compare actual windows on the supported display cohort.