Files
Reaktor/.claude
adminandClaude Opus 5 df33dac00c A Linux build, the AT-SPI bridge finally run, and 112 MB that belonged to Mesa
First build of this tree on a free desktop, which found five things that
Windows could not have.

build.sh and build-wasm.sh, the counterparts of the two .ps1 scripts. All the
build logic stays in CMakeLists.txt, as it does there.

reaktor_root() stripped a path component before its first probe. On Windows
the walk starts at reaktor.exe and that strip is what turns a file into its
directory; everywhere else it starts at the working directory, so the one
directory carrying .reaktor-root was the one never tested. Run from the
repository root the app came up with no stylesheet and no icons. Probe first,
strip second - one extra fopen on Windows, which cannot succeed.

SDL wants XScreenSaver's headers at configure time and fails hard without
them, for a code path this app never reaches: main.c allows the screensaver on
purpose. Turned off, so the README's one-liner works on a stock Debian.

auto is now SDL's software rasteriser on every platform, not only where the
adapter turned out to be WARP. And on the free desktops SDL's GL drivers are
compiled out, because X11 initialises Mesa whatever the renderer is: with no
GPU that GL is llvmpipe, a software rasteriser reached through a JIT, and it
cost 53 MB of libLLVM plus 10 of libgallium and 30 of heap. Same binary, same
page, that flag the only difference - 123.6 MB resident to 11.4.

Labels rode low on every 30px control. nk_widget_text centres on the content
rect, which folds back to the button's middle for any padding - but its first
line clamps a negative height to zero and leaves the origin below the centre,
and tiny.css asks for 39.2px of inset on a 30px row. Four and a half pixels,
on everything that height. reaktor_fit_label() trims the padding to what the
row holds, per widget, so taller buttons keep what the stylesheet asked for.
The same arithmetic compact_push() already documented for glyphs, where it
hides artwork instead of moving text.

Tree headers reported a 4px height to the model, because nk_widget_bounds
peeks the current row and nk_tree_push resets it. The focus ring drew as a
thin bar above the label; so did every bound AT-SPI and UIA were told.

Scroll-to-focus was the keyboard's alone, so a reader that moved focus got a
ring it could not see. Shared as focus_reveal().

The web canvas is rounded at the top - the desktop gets that from the window
manager - which exposed a shell that painted the page dark in both schemes.

The AT-SPI bridge has now been built and run. It compiled clean first try
under -Wall -Wextra, against the docs' own prediction that it would not.
Handshake, tree, signatures, Action and GrabFocus all check out; GetAll still
answers {} and GetExtents still answers in window coordinates, both of which
were predicted. ACCESSIBILITY.md is rewritten around what was measured, and
its phase-4 sketch now matches the three signatures that actually exist.

DEVELOPMENT.md said the app loads reaktor-icon.png and explained at length
why, while the constant names the .svg and the section's own last paragraph
agreed. Corrected, along with a branding/ inventory that counted six files in
two inks where there are three in one.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 22:53:06 +02:00
..