Skip to content

Upgrading

How to move to a newer Tesserae Shell, what a release promises about your files, and what to do when a file written for an older release is refused. Tesserae Shell is pre-alpha: before 1.0 a minor release (0.X.0) may change files, commands and the module contract, and each change is listed in the changelog.

The short version

  1. Read the changelog for the releases between yours and the new one: Changed and Removed lines are what can touch your files.
  2. Upgrade the package.
  3. Run tesserae-shell check. If it is clean, you are done; restart the shell.
  4. If it reports tdl-old-version or deprecated-key, run tesserae-shell migrate --check to see what would change, then tesserae-shell migrate.
  5. If a module of yours (Python) stops working, the changelog names the contract change; migrate does not rewrite Python.

Upgrade the package

Use the same tool you installed it with (Install and start):

uv tool upgrade tesserae-shell       # installed with uv tool
pipx upgrade tesserae-shell          # installed with pipx
pip install --upgrade tesserae-shell # in a virtual environment of your own

Then confirm what you have:

tesserae-shell version

The shell needs Python 3.14 or newer and pins ranges of its libraries (the engine, the expression language and the TDL reader), which the package manager installs together; you upgrade one package. A shell that is running keeps running the old code until you restart it (systemctl --user restart tesserae-shell under the session unit, or stop it and run it again). After moving or reinstalling the shell, tesserae-shell install-session --force rewrites the unit so it points at the new command.

What a release promises

The full policy is in The command line and, with the reasoning, in the design note Version Policy and Migration. In short:

  • A patch (0.x.Y) fixes things and changes no file, command or API.
  • A minor before 1.0 (0.X.0) may change anything. Each change is in the changelog under Changed or Removed, with a migrate step when it touches your files.
  • From 1.0, a minor only adds; a file valid for 1.X stays valid for 1.Y; a rename or removal waits for a major and is deprecated for at least two minors first.
  • Several numbers move on their own: the TDL language version (TDL: in a file), the TEL language version, the schema export version, the module contract and the registry format. The table is in Versions and what a release promises.

migrate

tesserae-shell migrate --check   # change nothing; exit 1 if any file would change
tesserae-shell migrate           # rewrite the files that need it

migrate brings your .tdl files to the current format with an ordered list of numbered steps. Each step rewrites text only and does nothing to a file that is already at its target. In 0.2.0 there are two:

  • Step 0001, TDL 0.1 to TDL 0.2: a slot written {{ expression }} becomes <| expression |> and TDL: 0.1 becomes TDL: 0.2. No other byte of the file changes. A slot whose text holds |> outside a quote cannot be written in the new form: it is reported and that file is left as it was.
  • Step 0002, renamed keys: a deprecated key or block is written under its new name. Nothing is deprecated in 0.2.0, so this step has nothing to do yet.

What you see, for a file written for TDL 0.1 (this is --check on a copy):

step 0001: TDL 0.1 to TDL 0.2: a slot is written <| expression |>, not {{ expression }}; TDL: 0.1 becomes TDL: 0.2
  would change: Shells/Main_Shell.tdl (2 edits)
1 file(s) to change, 0 not migrated

Exit code 1 means --check found work. Without --check, the changed files are listed, then the verdict of check on the result.

What it does to be safe:

  • Before it writes, the originals are copied to <configuration folder>/.migrate-backup/<timestamp>/ with their relative paths. Nothing is deleted, so a run that is interrupted leaves every original in the backup and a second run is safe.
  • Each file is replaced through a temporary file and a rename: a file is either as it was or fully migrated.
  • It writes only inside the configuration folders and never starts a shell.
  • It refuses to run while a shell is running (exit code 4), because a reload would read half-migrated files. Stop the shell first, or pass --force. --check never refuses.
  • It does not rewrite the Python of your modules.

The options and exit codes are in The command line; --json prints the result as data for a script. Start with --check, and keep your folder in version control if you can.

The Shell: pin

A file's metadata block may say which shell release it needs:

---
TDL: 0.2
Shell: 0.2
Name: Main_Shell
---

Shell: is the minimum release (major and minor). If it is newer than the shell you run, the file is refused with the error shell-too-old, at the Shell: line, and the hint says which release to install. Install it, or lower the pin if the file does not need it. A pin is how a file you share says what it was written for; leaving it out is fine.

The same block can pin TDL: (the language version; a version the installed library does not read is version-pin) and, for a file that needs them, TRE: and TEL: for the engine and the expression language. A file for an older language (today, TDL 0.1) is refused with tdl-old-version and the hint to run migrate; the shell does not read it and warn, because a file that parses differently from what its author wrote is worse than a clear stop. All of these are in Messages.

Deprecations

A key, block, parameter or command that is renamed or replaced keeps working under its old name for one minor before 1.0 (two after), with the warning deprecated-key (or deprecated-command on the command line) naming the replacement and the release that removes it. The schema export marks it, and migrate rewrites it.

Nothing is deprecated in 0.2.0. A removed key is an error, removed-key, whose hint says what to do; today that is a Bar's Reveal_Key.

What changed for the Python of your modules in 0.2.0

A module of yours (a Name_Module.py that does not ship with the shell) now runs in a process of its own, one for each module file, instead of inside the shell. The modules that ship with the shell are unchanged. Nothing in your files has to change, and migrate does not touch Python. What you may notice:

  • A module that hangs or crashes no longer freezes the bars: a callback that runs for 2 seconds is named, at 5 seconds its process is killed (module-process), and the module starts again with the usual back-off.
  • It is not a sandbox. The process runs as you, as before (Security and trust).
  • What a module sends is plain data; Event.stop() has no effect in a module of yours (event-stop); a ctx call that must answer at once raises ShellCallTimeout after 2 seconds; the first values of a module can appear just after the bar's first paint. The module API lists the differences.
  • tesserae-shell check now reads your modules' Python without running it (module-import, module-classes, module-no-python), and check --import-modules imports it in a throwaway process. Messages has the new findings module-process, module-actions and event-stop.
  • Each process costs about 20 MB. Debug { User_Modules_In_Process: true } in settings.tdl puts your modules back in the shell's process, as in 0.1.x; it applies after a restart.
  • The schema export version (schema_version in tesserae-shell schema --json) is 1.12; the changelog calls the change additive.

Changelog

Every release in order, oldest first, with an Unreleased section (the next release) at the end whenever there are changes not yet released. It says what changed and what was removed.

0.1.0 - 2026-11-15

  • Moved to tesserae-dl 0.2.0 (floor >=0.2.0,<0.3; language TDL 0.2): a slot is written <| expression |> and {{ }} is refused by the parser (tdl-unexpected-text, with the hint Write <| expression |>); every shipped .tdl file, fixture, example, hint, doc line and the README use the new form and the header TDL: 0.2 (Shell: 0.1 is the shell's own version and stays). tess_dl accepts any version of its own major number, so the shell checks the TDL: key itself: a file written for TDL 0.1 is an error tdl-old-version at the key (and a newer one a version-pin), also for settings.tdl, and the UID write skips such a file. tdl-double-close no longer exists (}} is two closing braces).
  • For with several loop variables (For i, item In <| enumerate(items) |> Key <| item.id |> { ... }, new in TDL 0.2): ForNode.variables (a tuple; variable is gone) carries every name written, and model/live.py gives them to tess-el's compile_repeater_parts as written, which unpacks each item of the list over the names (an item that is not a list or tuple with one value per name is reported at the For as a TEL error and the entries are left out). Every name is readable in the entry's slots, in Key, in a handler's argument slots and in a Popup's content; the nodes are kept by key as before. A duplicate or invalid name is the language's own finding (tdl-duplicate-variable, "A For needs a variable name").
  • Package skeleton: pyproject.toml, src/tess_shell, tooling (ruff, mypy, pytest).
  • Command line tesserae-shell with version; run and check are wired in later tasks; the other subcommands report "not implemented in M0".
  • Config directory lookup (--config-dir, $XDG_CONFIG_HOME, ~/.config) and settings.tdl reading: every key of the Settings File note, one finding per problem with file:line:column.
  • Loguru setup: console sink and a daily log_YYYY-MM-DD.log (directory 0o700, file 0o600), JSON option, midnight file swap, retention, console-only fallback.
  • Instance lock (flock on $XDG_RUNTIME_DIR/tesserae-shell/lock, exit 4 naming the holder's pid) and $XDG_RUNTIME_DIR checks (exit 2).
  • tesserae-shell run: pre-flight, settings, logging, instance lock, registry (registry.json, created and saved atomically), then the engine loop with keep_alive; SIGTERM and SIGINT stop it cleanly (exit 0), a second signal forces exit 130. Steps 7 to 12 of the start sequence that need later milestones are logged as not built.
  • tesserae-shell check: settings, then a syntax check of every *_Shell.tdl, *_Module.tdl, *_Style.tdl, *_Theme.tdl and *_Stylesheet.tdl under the search directories, with file:line:column, --json, exit 0, 1 or 2. run step 7 does the same scan.
  • Idle measurement script tests/perf/measure_idle.py and its first result (tests/perf/idle-results.md): 0.000 % of one core and about 3 wake-ups per second over 60 s, within the budgets.
  • Import rules of the package layout are enforced by tests/test_imports.py.
  • M1 binder (tess_shell.binder): the typed tree and BindError (model.py).
  • M1 binder converters (convert.py): length, bound, number, whole, positive, bool, text, color, enum, wrap flag, sides, radius, font family, plus a colour parser; table-driven tests.
  • M1 binder tables (tables.py) for Box, FlexBox, Text, Rectangle, Spacer and SVG, guarded by a test that builds a node for every row on a headless tre window; build.py binds a typed tree through Window.build, collects every error with its file:line:column, translates tre's errors back to the key, refuses If and For, and returns a View with dispose.
  • M1 Bar geometry (surfaces/bar.py): bar_geometry(spec, output, content) computes tre's anchor, size, margin, exclusive_zone and exclusive_edge as a pure function; every row of the worked-examples table is a test, with ZeroSize for a Bar that is not created.
  • Text Width/Height AUTO becomes tre's "fit-content"; a test pins that a headless LayerWindow accepts the Bar geometry of every worked example.
  • Binder: a key written both in a block and in its Style is an error naming both places (D2); a Font_Family list is joined with ", " (D5).
  • M1 schema (tess_shell.schema): read_shell checks a parsed *_Shell.tdl against the Shell, Monitor, Bar and block key declarations and types it into the binder's model; unknown keys with nearest names, wrong types, missing keys, duplicate names and monitors, style-duplicate, bad-sides, Border { } flattened, forms not built in M1 refused (not-built; Bar keys M1 does not build are warnings). tree.py moved from files to schema.
  • M1 files: stage 3 header checks (version-pin, shell-root-suffix); check and run step 7 now type every *_Shell.tdl, print warnings without failing, and a test pins that the schema's key declaration matches the binder tables.
  • M1 surfaces (surfaces/manager.py): assign matches Monitor blocks to outputs (Connector, then Description, then Index; Index: default takes the rest), SurfaceManager opens one LayerWindow per Bar (namespace tesserae-shell.bar.<name>, geometry from bar_geometry, inline Fill), binds its children and logs every bind error while leaving that Bar empty; run steps 10 and 11 call it. Tests on a private headless sway: the Bar is configured at 1280x32, the output's usable area shrinks by the reserved zone and is restored when the shell stops.
  • M1 measurements: tests/perf/measure_bind.py (bind-results.md) and measure_idle.py --bar (idle-results-bar.md): 3,101 nodes bind in about 12.6 ms, the example in 0.03 ms; idle with the Bar shown is 0.000 % of one core and about 2.7 wake-ups per second.
  • A Monitor block that names an output an earlier block already took logs a warning naming both blocks at start; the first wins (D11).
  • A reference image of the M1 example (tests/snapshots/m1_example.png, 400x32) compared with a tolerance of 0.2 % of the pixels (a recoloured icon fails it); UPDATE_SNAPSHOTS=1 regenerates it, written by tess_re.snapshot.write_png. The sample SVG now uses currentColor, so its Color is visible.
  • M2a binder: SlotValue, SlotPart and UseNode in the typed tree (the binder refuses them unevaluated), and View.update sets new typed values on named nodes through one Window.apply, skipping values a node already has.
  • M2a schema: read_module types a *_Module.tdl (Module { Params { } Children { } } or one layout block; param types string, number, boolean with defaults), a {{ }} slot in a value becomes a SlotValue whose parts carry the origin of the slot text, and a block headed by a module's call name is a UseNode with typed params (unknown param with nearest names, missing param without default, slot in a param refused). Style, Import in a module are refused until M2b.
  • M2a model: model/store.py (thread-safe ValueStore: queued sends, one wake per turn, latest value per use and key, plain-data check), model/expand.py (a module call becomes the module's layout with per-use node ids), model/live.py (slots compiled with their origin, evaluated in the use's scope, links re-evaluated only when a read path is touched; an error keeps the last value and logs file:line:column).
  • M2a modules: from tess_shell import Module, action; modules/host.py imports <Name>_Module.py, finds exactly one Module class, sets ctx before start(), validates each use, and isolates failures (missing .py, no or two classes, import error, start() raising: a finding naming the files and the line; other modules keep running); modules/ticks.py is the shared wall-clock source (one thread, woken only at a subscribed second or minute, no drift, a clock moved back is handled).
  • M2a Clock: shipped/Clock/Clock_Module.tdl and .py (format, hour_cycle, timezone; --:-- fallback); a user module of the same name overrides a shipped one. run steps 10 to 12 expand the module calls, load and start the modules, build the Bars from their first values and update only the changed node properties, one Window.apply per Bar per turn.
  • M2a files: a module call may sit anywhere in a Bar or a module's layout, Import: <path>_Module.tdl (one file or a list, relative to the importing file) embeds a module at that position, modules are read in two passes so the order of files does not matter, and a circle of calls or imports is an error naming the chain (import-cycle). A module's UID is written into its metadata (and the shell file's) on first registration, after a backup under $XDG_STATE_HOME/tesserae-shell/backups, and kept in the registry as file:<path>.
  • M2a measurement: idle with the Clock shown is about 2 wake-ups per second between ticks (tre's own thread); the tick adds a burst from tre's software renderer (tests/perf/idle-results-clock.md).
  • M2b binder: View.rebuild(nodes) compares a new typed tree with what is built by key (the Name, else block word and position), keeps matching nodes, sends the changed properties in one Window.apply, builds new subtrees with Window.build, reorders with set_children and frees removed nodes; a changed block word or a property the new tree no longer sets is a replacement; a bad value changes nothing.
  • M2b If/Else and For in a module's layout (B1): the schema types them, model/live.py evaluates the condition and the repeater with TEL (select_tracked, compile_repeater_parts, reconcile_tracked, RepeaterState kept between resolves, entry names <name>_0001 never reused), and a use with structure is resolved again and handed to View.rebuild when anything its slots, conditions or headers read changes; a key nothing reads causes no rebuild. A module call or Import inside If/For, and If/For outside a module, are not built yet.
  • M2b module style files (B4): Style: <Name>_Style.tdl (relative to the module file) or an inline Style { } in a module, with Classes { name { Kind: Text, ... } } and per-type defaults; Class: name (one or a list) on a block; priority is the file's type default, then its classes, then the block's inline Style, then keys written on the block. A missing class, a class of another block type, a missing or bad style file are errors at their own file and line. The shipped Clock now takes its look from Clock_Style.tdl.
  • M2b icon sets (B5): SVG { Icon: "mdi:account" } (or a bare name) is resolved from Iconify-style JSON sets in the config Icons folder, then Directories { Icons: [...] }, read on the first lookup (the real 7,447-icon mdi file: 5 ms), a prefix selects a set and no prefix looks in mdi first; the body draws with currentColor, so Color tints it; an unknown icon is an error at its value with the nearest names; an SVG needs Source or Icon, not both. No set ships in the package (the licence texts travel with the files).
  • M2b file watcher (B2): watch.py blocks in select on one inotify descriptor (inotify_simple), listens for close-write, moved-to, moved-from and delete, ignores dot files, ~, .swp, .tmp, .bak and the schemas, logs, backups folders, watches folders created later, and calls back once with the changed paths after 200 ms of quiet; the shell's own writes are recognised by content hash and dropped; a watch that cannot be added (the limit) turns ok off with a warning.
  • M2b hot reload (B3): reloader.py validates a change on the watcher thread exactly as at start (settings and every shell file) and queues the apply onto the loop only if there is no error; an error changes nothing and is reported with file:line:column. The apply brings the modules to the new definition (ModuleHost.sync: a module no longer used is stopped, a new one is loaded, a changed .py is imported first and replaces the instance only if the import works, a changed module or style TDL file calls reload() and keeps the instance, uses are added and removed with use_added/use_removed), then each Bar is kept (tree rebuilt by the keyed diff, geometry set live in one set()) or closed or opened. SIGHUP reloads everything (also with Hot_Reload: false); Hot_Reload and Reload_Debounce are settings; a change to Directories, Registry or Main_Shell is reported as needing a restart and Logging applies at once. Module code is compiled from source on every load, never from a bytecode cache. The shell's own UID writes are recognised by content hash (one use, five seconds) and dropped. scanner.py holds what check, run and a reload share.
  • M2b measurements: tests/perf/measure_reload.py (reload-results.md): a saved Height is applied a median of 206 ms after the save (200 ms debounce plus about 5 ms to validate, diff and set); idle-results-clock.md is re-measured with the watcher thread running: no change in wake-ups attributable to it.
  • Binder: a Text with no Width is sized to its content (fit-content); tre laid such a text out at width 0, so two texts in a row (two Clocks) overlapped. M1's single text hid it.
  • Reload: the log line says reloaded with errors (...) when a module's Python or layout failed to import and the old instance was kept.
  • M3a: Elevation: N% and Shadows { Shadow { Color, X, Y, Blur, Spread } } on FlexBox, Box and Rectangle (and in an inline Style); the default Max reaches 64 px, and binder/shadow.py computes the transparent margin a shadow needs (measured against tre 0.6.1: blur + spread +/- offset, plus one pixel).
  • M3a: the Settings portal reader (services/portal.py) on a dbus service thread (services/bus.py, dbus-fast): one ReadAll at start, then SettingChanged only; settings.tdl gains Appearance { Theme, Stylesheets, Follow_Desktop }.
  • M3a: a Bar with Elevation, Shadows or Shadow_Bleed in its Style is drawn as a body inside a larger transparent surface (ADR-0010): the surface grows by the shadow margin, the exclusive zone grows by the same amount on the Edge side so the reserved space is unchanged, and a reload that changes the elevation only sets properties. Every Bar now has a body node that holds its fill.
  • M3a themes (A1): Themes/<Name>_Theme.tdl with the token groups Color, Type, Shape, Space, Elevation and Motion and Modes { Light, Dark, High_Contrast, Reduced_Motion }; a style value $group.name (any key of a block or an inline Style) is a reference, read as the kind of the key that names it, resolved just before binding; a missing token or one of the wrong kind is an error at its line with the nearest names, in check as well as at run time. The shell ships a Default theme (dark base, light and high-contrast modes, Accent: DESKTOP follows the desktop) and a Default stylesheet (text and icons take the theme's colours); Appearance { Theme: <Name>, Stylesheets: [<Name>, ...] } in settings.tdl names the ones in use, and a reload applies a change.
  • M3a stylesheets (A2): Stylesheets/<Name>_Stylesheet.tdl with Rule { Selector: "Text" | ".class" | "#name", <style keys> }, a name beating a class beating a type and the later rule winning a tie; the block's own style and keys beat a rule, and a key the block does not take is skipped. Selectors with a :state or ::part are read and skipped with a warning (the events layer, M3b).
  • M3a portal (A3): the desktop's colour scheme, accent, contrast and reduced-motion settings pick the theme's mode (Light, Dark, High_Contrast, Reduced_Motion, durations to 0) and a change rebuilds the Bars by the keyed diff, 1 to 2 ms after the SettingChanged signal; Appearance { Follow_Desktop: false } never calls the portal; no portal gives the defaults and one warning.
  • Tests that start the shell no longer see the real session bus (DBUS_SESSION_BUS_ADDRESS is dropped from the private compositor's environment); the portal tests run a private dbus-daemon with a fake Settings portal.
  • M3a measurement: tests/perf/measure_shadow.py (shadow-results.md): a 100 % elevation on the example Bar grows its surface from 32 to 97 px and the process by 0.8 MiB.
  • M3b events (B1, first part): On_Click: action_name or On_Click { Action: name, Arg: value } on a FlexBox, Box, Rectangle, Spacer or SVG in a module's layout calls the module's @action method on the loop thread with a tess_shell.Event (name, use, args, time, pointer x/y, button); all twelve event keys are known (an unknown one names the nearest, one a block cannot raise says so, the shell's built-in actions Show, Hide, Toggle, Close, Call are not-built until the Panel); a handler naming a method that is not an @action fails the module's load with the action list; a handler that raises is logged with the module, event and position and the shell keeps running; a handler over 50 ms is logged as slow; a reload replaces a handler without a second listener. A Text takes no listener in tre 0.6.1, so it raises nothing: put the handler on the box around it.
  • A theme that lacks a token falls back to the Default theme's value for it, token by token, in the current light/dark look (D42); a token neither defines is still an error.

  • M3b B1 (first part): On_Click: action_name or On_Click { Action: name, Arg: value } on a Box, FlexBox, Rectangle, Spacer or SVG in a module's layout calls the module's @action method on the loop thread with a tess_shell.Event (name, use, args, time, pointer x, y, button). An unknown On_ key names the nearest of the twelve v1 events, an event a block does not raise, a built-in action (Show, Hide, Toggle, Close, Call; built with the Panel) and a bare name in a shell file are load errors, a handler naming a method that is not an @action fails the module's load with the module's actions listed, and a handler that raises is logged with its module, event and position without stopping the shell. A reload replaces a handler without a second listener. tre 0.6.1 delivers a click to a text node's parent and not to the text's own listener, so a Text raises nothing: put the handler on the box around it.

  • A partial theme falls back to the Default theme's value for any token it lacks, token by token, in the Default's current light or dark look (maintainer, D42); a token neither defines is still an error.
  • A rule with a module's name as its selector (Selector: "Clock") styles the module's root blocks at every use; inner blocks are styled by a type, class or #name rule (D40).
  • The mdi icon set (Material Design Icons, Pictogrammers, 7,447 icons) ships in the package as shipped/Icons/mdi.json with its licence text (MDI-LICENSE.txt) and a NOTICE.txt; it is searched after the user's Icons folders, so SVG { Icon: "mdi:account" } works with no setup and a user set of the same prefix wins.
  • Fix: a Bar's shadow margin no longer takes pointer input. The surface's input_region is the body (ADR-0010; Panel > Input region) when there is a margin, and the whole surface when there is none; a reload that adds or removes the shadow sets it live. Before this the transparent area below a shadowed Bar blocked clicks on the windows under it (found on KWin).
  • M3b Panel (B2, first part): Panel { Name, Layer, Anchor, Inset, Width, Height, Keyboard, Input_Region, Visible, Hide_After, Style, Children } in a Monitor's Children; an anchored Panel is placed by Inset (left, top, right, bottom, reordered to tre's margin), a Panel with no Anchor is centred by the compositor, a size of 0 stretches between two opposite anchors; a shadow grows the surface and the body keeps its place, and the input region is the body (Input_Region: [] passes clicks through, AUTO is the drawn shapes). Visible: false opens hidden; Hide_After: 1500 hides it after that many milliseconds and showing it again resets the timer; Escape hides a Panel that takes the keyboard. Hiding (D44, revised 2026-11-05): a hidden Panel has no window; showing makes a new one from the same Panel record and builds its tree again from the current values. On_Click { Action: Show | Hide | Toggle, Target: <Panel Name> } on a block, in a shell file or a module's layout, runs the shell action; a Target that names no Panel is an error with the nearest names. Not built yet: Attach_To/Attach/Alignment/Gap, Movable and saved positions, Animation, Exclusive_Zone, Input_Region rectangles, AUTO size, Meld, and the Panel's own On_Open, On_Visible and the other surface events.
  • Tests: the live reload test no longer reads the workspace top after the Bar may already have reserved its zone (a race that made it fail one run in five).

  • A Panel's Style takes Corner_Radius, Border_Width and Border_Color (applied to its body) as well as Background, Elevation, Shadows and Shadow_Bleed; a Bar's Style does not.

  • Panel: hiding now closes the window and showing makes a new one (D44, revised). The first version kept a transparent surface mapped; on KWin a hidden Panel kept showing and a shown one sometimes stayed empty (the maintainer's check), and clicks felt late. A Visible: false Panel never has a surface until it is shown, so there is nothing to go stale and no first-show flash. At DEBUG the shell logs each pointer press and release per surface, each dispatched action, and the time of a new Panel's first frame.
  • A handler stops its click at the first listener (as Material 3 and Tesserae UI do): a clickable inside a clickable takes its click alone.
  • The Default theme is now a dark blue-grey with steel blue as its Primary (#5B97C9, 5.8:1 on the surface) and #4682B4 as its Accent; its light variant uses #2F6B9A, its high-contrast variant black and white with a light blue (maintainer, D33). Accent: DESKTOP still follows the desktop's accent.
  • settings.tdl Debug { Panel_Hide: CLOSE | KEEP } (a restart applies it): CLOSE, the default, hides a Panel by closing its window; KEEP is the first version, which keeps the surface mapped and draws nothing, kept to find why it was not repainted on KWin (D44). At DEBUG the shell logs the first frames a Panel draws after each show or hide, and the frame count 250 ms later, in both modes.
  • The surface manager wakes tre's loop (a queued no-op) after it changes a window: a Panel shown or hidden, a reload, a theme change, a value update. tre 0.6.1 does not request a frame for a window whose node was changed during a callback of another window, so the change waited for some other wake (measured on a private sway with tests/kwin/probe_hide.py: a child node's fill changed from another window's timer was not drawn in 500 ms, and was drawn in 1 to 2 ms when followed by call_soon). This is the likely cause of the first hide route failing on KWin (the KWin log shows no frame after a show until the 250 ms debug timer).
  • The default way to hide a Panel is now the kept surface (maintainer, 2026-11-06): the surface stays mapped and draws nothing, so a hidden Panel keeps its tree and state; Debug { Panel_Hide: CLOSE } selects the window-closing route. The kept surface works because the shell wakes tre's loop after each change it makes to a window; the maintainer checked it on KWin. The underlying fault is tre's and is written up as TRE-REQ-012 (tests/kwin/TRE-REQ-012.md, with repro_cross_window_redraw.py and probe_hide.py).
  • Attach_To on a Panel (M3b): Attach_To: <Name>, Attach: LEFT | RIGHT | TOP | BOTTOM, Gap (pixels) and Alignment: START | CENTER | END (default CENTER) place a Panel against a Bar, another Panel (a chain) or a module used in a Bar (Clock { Name: Clock_One }). The module's rectangle is where tre laid out its first root block; the Panel meets the Bar's edge, not the module's, so it never covers the Bar, and it slides along the module. A target has one attached Panel; an unknown name, another Monitor, itself, a circle and Anchor/Inset beside Attach_To are errors at load. An attached Panel opens only while its target is open and hides with it. A body that would leave the output is moved back onto it, with a warning. A Panel on a module is placed again when it is shown, after the Bar is laid out and after a reload.
  • A Panel now has exclusive_zone -1: with 0 the compositor measures its margins from the area the Bars leave free, so an Inset was shifted by a Bar's thickness. Inset is now from the output's edges, as Panel.md says.
  • Stylesheet state selectors (M3b, D39): Rule { Selector: "Button:hovered" } and ":pressed", after a block word, .class, #name or a module name, give a block a look while the pointer is over it or a button is down on it. A state rule has the weight of its base selector (name over class over module over type, the later rule wins a tie) and is not held back by the block's own style: it is the look while the state holds. $token values in a state rule resolve like those in the base style. The binder listens to pointer_enter, pointer_leave, pointer_down, pointer_up and pointer_cancel on a block that has a state style, never stops the event (a click still reaches On_Click and the blocks around), applies the state's properties with the same conversion as the base, remembers the values they replace and puts them back exactly; pressed shows over hovered, and a leave ends both. A reload keeps a block in the state the pointer has it in with the new look. A Text takes no pointer event in tre, so a state rule that reaches one is a load-time warning (state-never-applies; put the rule on the box around the text). :focused, :disabled and ::part are still read and skipped with a warning that says why: no block can take focus, none has an Enabled key and none has named parts yet. An unknown state name is an error naming the four states.
  • Popup (M3b, B4): Popup { Name, Attach, Alignment, Gap, Width, Height, Max_Width, Max_Height, Adjust, Focus, Style, Children } as a Monitor child. A module opens one beside the use whose @action runs with self.ctx.popup("Menu") (the shell supplies the calling use; ctx.popup(name, data=None, use=...) outside an action takes use); calling the open Popup closes it, and opening another closes the first. self.ctx.close_popup(name=None) closes it. The built-in action On_Click: Close (no Target) closes the Popup that holds the block. A Popup is built when it opens: the content is measured in a headless window (Width: AUTO, Height: AUTO, clamped to Max_Width 300 and Max_Height 400; taller content scrolls), a tre PopupWindow of that size is placed beside the caller's rectangle (the use's first root block) by the spec's Attach/Alignment table, Gap is the distance from the anchor to the visible body whatever the shadow margin, and the content is bound into it. The shell chooses the side itself: under a bottom Bar a Popup opens upward with no setting. It does not leave that to the compositor's flip_y because sway and wlroots flip the anchor and the gravity but not the offset, so a gap and a margin that the offset puts right on one side land wrong on the other (measured: a 6 px Gap became 6 px of overlap); Adjust (default [FLIP_Y, SLIDE_X]) is still passed on. Focus (default true) is tre's grab: an outside click or Escape closes it, a click on one of the shell's own surfaces closes it (and is not a call to open it again), and a Popup dismissed within 150 ms of opening is logged as a probable denied grab. Not built: Attach_To and Animation on a Popup, percentages for Width and Height, submenus, caller.data in expressions (data is accepted and warned about), and Call.
  • Tooltips (M3b, B5): Tooltip: true on a Popup (no focus, Open_On_Enter, Close_On_Exit; Enter_Delay 500 ms, Exit_Delay 200 ms, each key overridable) and, on a block or a module use, Tooltip: <Popup Name> or an inline Tooltip { Children { ... } }. The pointer must stay on the block for Enter_Delay; leaving it, or leaving the tooltip, closes the tooltip after Exit_Delay, and crossing from the block into the tooltip keeps it open. A tooltip never opens while a focused Popup is open. An inline tooltip is expanded in the scope of the use that holds it, so {{ tooltip }} in it reads that use's values. A Text takes no pointer events, so the Tooltip goes on the box around it. Tooltip: Name.tdl (a Popup in a file) is not built. A Text in a Popup with AUTO size needs Height: AUTO (tre lays out a text with no height at 0).
  • Clock: locale (for example de_DE) names the month and day names, through the C library's LC_TIME set around each format and put back at once; a locale the system lacks (locale -a) is warned about once and the default names are used. tooltip_format (default %A, %d %B %Y) is the text of the tooltip the shipped layout opens on the clock ({{ tooltip }}); the Clock sends it with the time.
  • A Panel's Animation { Type: SLIDE | FADE | NONE, Duration } (M3b): FADE runs the surface's opacity, SLIDE also moves its margin 24 px toward the edge it grows from (its target, or its anchored edge) so it never covers a neighbour; tre runs both in the engine. A Panel that is hidden while it leaves turns round from where it is; a leaving Panel takes no pointer at once; with the desktop's reduced-motion setting nothing moves. A Panel that does not name an Animation does not animate.
  • A Panel's own events (M3b): On_Open and On_Close run when the request is made, On_Visible and On_Hidden when it has happened (after the animation), On_Toggle on a Toggle, On_Anim_Start and On_Anim_End. A shell file's handlers are the shell's actions (Show, Hide, Toggle with a Target); a handler loop is stopped after eight turns and logged.
  • Movable: true on a Panel (M3b): the whole body is a drag handle (tre moves the margins of the anchored edges, clamped to the output, with no Python in the loop); when the button goes up the position is saved in registry.json as an Inset and used at the next start. A floating Movable Panel is anchored top and left and starts centred. A saved position is kept on the output. Movable with Attach_To is an error.
  • A Panel attached to a module follows it: tre's layout event on the module's root block places the Panel again when the module is laid out or changes size.
  • A Popup draws no shadow for now (KWin check, 2026-11-06): its transparent shadow margin made KWin place a popup about 30 px from the screen edge and off the caller's edge, and took clicks, because tre cannot yet say which part of a popup is its body (TRE-REQ-007). An Elevation or Shadows on a Popup is ignored with one warning. An Escape key handler now closes a focused Popup, since tre's grab did not on KWin.

  • Monitor hot-plug (M3c, C4): the shell listens to tre's output_added, output_removed and output_updated. Each one plans the shell again for the new list of outputs (the same monitor matcher as at start, so an output another Monitor took stays taken) and compares it with what is running by key and output: a surface of another monitor is not touched; one on a removed output (Bars, Panels, a Popup or tooltip open on them, their timers) is closed and dropped; one on a new output is opened as at start (a Panel's Visible start state, a Movable Panel's saved position clamped to the output); one whose output changed size or scale gets its geometry set live with no new window, and a Popup open on it closes. The modules are brought to the new set of uses by the reload path (use_removed and use_added, a module with no use left is stopped and started again when one returns). Index is evaluated again on every change, so a Monitor { Index: 1 } follows whichever screen is second. A Monitor { Index: default } now always carries the output in its surfaces' paths (Main@HDMI-A-1), so a second screen does not rename, and recreate, the first one's; a UID registered for the old path form is registered again. tests/kwin/prepare_m3c_hotplug.py writes the KWin checklist setup.

  • Frame (M3c, C1 and C2): a Frame { } block in a Monitor (one per Monitor) draws a ring around the output and reserves its sides. One painter LayerWindow per output (top layer, all four anchors, exclusive_zone -1, input_region="auto") draws three path nodes with hit_shape="painted" (outer border band, fill band, inner border band; each an outer contour and an inner one wound the other way, so the opening is a hole that takes no clicks); one 1 px reserver per side with a thickness has that side's total (thickness, both borders and margin) as exclusive_zone and takes no input. Keys: Thickness and Margin (a number, four sides or named sides), Corner_Radius (outer, default 0) and Inner_Radius (one number or four corners), Inner_Border and Outer_Border { Width, Color }, Style { Background, Opacity, Border { Width, Color } }, Visible, Layer: TOP. A radius the ring cannot hold is reduced with a warning naming the key; a side of 0 is open (no band, border, margin or reserver). Reload sets the zones, redraws the ring and adds or closes a reserver without making the painter again; set_look re-reads the tokens; Show, Hide and Toggle with Target: <Frame name> close and reopen all of a Frame's windows (its zones are released and restored). Edges, Children, Border_Tile, Meld, gradients, shadows and a Panel Attach_To a Frame are load errors (not built). tests/kwin/measure_frame.py and tests/kwin/prepare_m3c_frame.py measure the Frame's cost and write the KWin checklist.

  • Frame strips and melded Panels (M3c, C3): Edges { Left | Top | Right | Bottom { Thickness, Padding, Children { ... } } } and a Frame-level Padding (the space between a strip's children and its sides; an edge's own wins, an edge's Thickness replaces the Frame's for its side, both inside the side's reserved total). A strip is hosted in the Frame's painter (Option A): a box placed in the side's band (top and bottom strips own the corner squares and run the full width; left and right strips run between them and lay their children out vertically; text is not rotated). Strip content is bound like a Bar's tree and is a Surface whose window is the painter: module uses in it start with the shell's other uses and get live values, hot reload and hot-plug rebuild it by the keyed diff (the painter and the strip nodes are kept), a new look re-resolves its tokens, and Popups and tooltips open beside its blocks. Panel { Meld: true, Attach_To: <Frame>, Attach, Alignment, Depth, Length, Style { Corner_Radius } } (Depth is the extent away from the Frame's edge, Length the extent along it; Width and Height on a melded Panel, and Depth or Length on any other Panel, are errors) is drawn in the same surface: the ring and every melded body are one path contour with a fillet at each join that uses the Frame's Inner_Radius (by quadrant), the body's own two corners take its Corner_Radius, the inner border follows the contour, and the reserved zones do not change. A body flush with a corner replaces that corner of the opening; one larger than the opening is clamped; one that overlaps an earlier one, or sits on a side with no thickness, is not drawn (a warning). Show, Hide and Toggle with Target: <Panel> take the body out of the contour and back (no animation); Visible: false starts it hidden. A Margin on a melded Panel stops the meld (an error); Hide_After, Movable, Keyboard, Input_Region, Animation and On_* events on one, a Panel attached to a Frame without Meld, a melded Bar, strip expand, contract and peek stay load errors (not built). The painter's keyboard is on_demand when a hosted tree holds a text input and none otherwise (v1 has no text-input block, so it is always none). tests/kwin/measure_frame.py --melds=N measures the one-contour path; tests/kwin/prepare_m3c_strips.py writes the KWin check.

  • Melded Panel animation, events and Hide_After; Keyboard on the Frame (M3c): a melded Panel takes Animation { Type: SLIDE | FADE | NONE, Duration }, Hide_After and the Panel's events with the same semantics as a window Panel (SurfaceManager._fire, the generation guard, a timer of the painter window). SLIDE: while it animates, the ring nodes are drawn without the body (at alpha 1, so they keep the ring's click shape) and an svg node draws the ring with the body in it: the document holds the contour at depth 0 and at full depth with the same commands (lines and cubic Béziers, a degenerate cubic where a fillet has radius 0, every coordinate linear in the depth), an <animate attributeName="d"> between them is sampled by tre's own clock (animate("svg_time", ...), eased in the engine, no Python per frame), so the body grows out of the band edge with its joins growing with it, and its content translates on the same clock; when it ends the ring nodes take the body back and the svg is hidden (the two renderings are pixel-identical at scale 1, 1.25 and 1.5, tested). FADE draws the ring without the body and the ring with it in the svg, faded in or out. The svg takes no input (hit_testable=False); the ring and strips are drawn above/below it by z_index (ring, morph svg, strip and body content), so a strip's blocks are never covered by a body that animates beneath them. A show during a hide (and the reverse) turns round from the current value; Show, Hide and Toggle are idempotent; reduced motion and Type: NONE are instant; the sliding layer is hit_testable=False, so the part that is out takes no click until it has arrived (the Panel's box and its content do). Animating the path's data is not used: tre resamples both contours by length into polylines of 96 points a subpath (corners chamfer at once, the notch smears; tests/kwin/repro_path_morph_resample.py). The join spikes are tests/kwin/spike_join_{a_svg_morph,b_pieces_morph,c_scaled_pieces}.py. Frame { Keyboard: NONE | ON_DEMAND } (default NONE, EXCLUSIVE is an error: it would take every key of the desktop) sets the painter's keyboard mode, live on reload with the same painter window, together with the rule that a strip holding a text input also asks for on_demand; the keys the painter receives are logged at DEBUG. Movable, Keyboard and Input_Region on a melded Panel stay load errors.

  • Smoother joins and corners, and demo fixes (M3c, KWin review): the ring's fill and an opaque inner or outer border now overlap (the fill runs 1 px under the border) so the two anti-aliased edges that used to meet on one line no longer let the desktop through as a hairline along the curves (seam pixels were about 75 % opaque, now opaque; a translucent border or a translucent Frame keeps the old abutting edges); a ring with a melded body is written as cubic Béziers (kappa) instead of arcs, with a test that a fillet's midpoint lies on the arc and not on the chord. tests/kwin/prepare_m3c_hotplug.py's check script ignores the shell's own closed (stopped) at exit and now fails a run with no unplug; the Menu_Button demo and the Dock centre their text with Align_Items/Justify_Content: CENTER and Width/Height: AUTO on the Text.

  • Moved to tesserae-engine 0.6.3 (lock only; the range >=0.6.0,<0.7 already allowed it). 1220 tests pass on it. 0.6.3 adds PopupWindow(geometry=) for TRE-REQ-007, which the shell does not use yet.
  • Two bridges removed on tre 0.6.2/0.6.3: the binder's Text width default of fit-content (tre now measures an unsized text) and the shell's wake after every change to a window (tre #264, TRE-REQ-012). One wake stays, SurfaceManager.start_wake, after an animation is started from a timer: a window whose own timer starts an animation still draws nothing until the loop wakes (measured on 0.6.3: the live Frame slide test failed 8 of 8 without it). The cross-window wake is untested on KWin: see the M3 Build Log retest.
  • Popups draw their shadow again, on tre 0.6.3's PopupWindow(geometry=) (TRE-REQ-007): the popup proper is handed to the compositor as the geometry, so it places, flips and slides the body, not the transparent shadow margin. The margin arithmetic in the placement is gone. Elevation and Shadows on a Popup work as on a Panel. Whether KWin also stops the margin taking clicks is for the KWin retest.
  • Moved to tesserae-engine 0.6.4 and raised the floor to >=0.6.4,<0.7 (the shell uses PopupWindow(geometry=) from 0.6.3). 0.6.4 also fixes an animation started by a window's own timer drawing no frames, so the last wake (start_wake) is gone: the shell no longer wakes tre's loop anywhere (the live slide tests passed 8 of 8 without it; 0 of 8 on 0.6.3). 0.6.4 brings the four TRE-REQ-013 mechanisms (transform origin and concave corners, shader animation, structure morph, parametric paths), not used yet.
  • The melded Panel's join, five ways behind one switch (M3c, Frame > Comparing the Join Options): settings.tdl Debug { Frame_Join: SMIL | CONCAVE | SHADER | STRUCTURE | PARAM } (default SMIL, a restart applies it and a reload warns, as for Panel_Hide) chooses how the join of a melded Panel is drawn while its body slides or fades, so the maintainer can compare the five mechanisms tre 0.6.4 offers; nothing else changes and the default build is the SMIL morph as before. The Frame calls one small interface (surfaces/join.py: Join.begin/play/stop/destroy, JoinRun, ghost) and each option is its own module: SmilJoin (the svg morph, moved out of frame.py unchanged), join_concave.py (boxes with corner_style="concave", transform_origin, scale, translate and corner_radius; a flush end gets a constant fillet that travels with the far edge), join_shader.py (one shader node with sd_round_union and a Shader.animated uniform s, hit_path of the final shape, analytic edges at any frame.scale), join_structure.py (path data with morph="structure") and join_param.py (the contour as a path template {c0 + d*c1 + r*c2} with animate_param on the depth d and the fillet radius r). Ring gained geometry (BodyGeo: a body as pieces, with its flush ends) and morph(s, radius) takes the fillets' fraction apart from the depth's. SMIL, STRUCTURE and PARAM draw the same frames; CONCAVE and SHADER draw over the ring (which is not ghosted) and differ by the anti-aliasing of the edge and, in CONCAVE, a thinner border along a fillet in the first frames. A body as deep as the opening cannot be drawn by CONCAVE or SHADER: the Frame says so and shows or hides it at once. Tests: tests/test_frame_anim.py now runs every test for each option, tests/test_frame_join.py (pop at the start and the end at scale 1.0 and 1.5, turn-round, the same frames as SMIL on all four sides and both flush and free ends, clicks through the contour and the notches, a body across the whole opening, nothing drawn after it), tests/test_ring.py (BodyGeo, the template equals the morph) and tests/test_settings.py. tests/kwin/compare_join.py prints the comparison on one table (PNG sheets at scale 1 and 1.5, pixel differences from SMIL, hits, code size, and with --live the frame cost, frames at idle and memory per option, on a private sway with --sway or on the compositor you are on); tests/kwin/prepare_m3c_strips.py writes run-strips-join.sh OPTION, compare-join.sh and a checklist section; tests/kwin/repro_shader_animate_start.py and repro_concave_stroke.py are repros of two tre limits.
  • Debug { Frame_Join } now defaults to PARAM (the maintainer's choice after comparing the five on KWin: PARAM, SMIL, STRUCTURE, SHADER, CONCAVE); the other four stay selectable and none was removed. DebugSettings.frame_join and SurfaceManager(join_mode=) default to PARAM; README and the KWin generators say so. Border width on curves (maintainer: "the border looks slightly thinner while rounding"): measured, not changed. At rest the band is exactly Inner_Border.Width from its outer contour all the way round (max error 0.005 px, joins and corners included) and the coverage tre draws on every curve equals the exact band's to within 2 % at scales 1.0, 1.25 and 1.5 (live on a private sway as well), so the width is right; what is thinner is the look of an anti-aliased edge of a light line on a dark ground, which tre blends in sRGB (straight 2.00, curve 1.70 at scale 1 and 1.80 at 1.5 as summed linear-light brightness; tests/kwin/repro_srgb_edge_blend.py). tests/test_border_width.py pins the exact parts. While a join grows the border is up to 20 % thicker at the fillet (2.4 px at half way), never thinner; not changed.

  • Peek (M3c, maintainer's request): Peek { Size, Enter_Delay, Exit_Delay } (defaults 24 px, 150 ms, 300 ms) as a block key of a melded Panel and of an Edges entry; Name on an Edges entry (the target of Show, Hide and Toggle, accepted with Peek only). A melded Panel with a Peek rests as a tab: the ring draws its body Size px deep (radii that do not fit the tab are reduced by the same rule as at full depth), the Panel's clip box is the tab and takes the pointer, its content is not shown. pointer_enter on the clip box for Enter_Delay ms starts the show (tab to full depth along the same contour, the fillets and the border following: the join blends the tab's contour with the body's, both with the same commands), pointer_leave for Exit_Delay ms the hide back to the tab; each waits on a timer of the painter and a quick in-out or out-in cancels it. Show is fully out, Hide and Hide_After back to the tab (a Visible: false Panel goes back to nothing), Toggle flips; events as for any melded Panel; Hide_After waits while the pointer is on the body; the body stays out while a Popup hanging off it is open; a FADE Panel peeks by the contour like SLIDE; reduced motion and Type: NONE switch at once. A strip with a Peek rests as a sliver of Size px (the side's thickness and reserved zone), its Thickness is the whole: the part beyond the sliver is a melded body that runs the whole side (the ring's contour, join and hit shape follow it), the children are laid out in the whole band, clipped to it and shown only while it is out, sliding with the contour, for 200 ms. The reserved zones never change with the peek. A peeking Panel needs a join that can start from a tab: PARAM, SMIL and STRUCTURE; SHADER and CONCAVE log one warning per option and a Panel that peeks is drawn with PARAM. Load errors: Size below 1 px, a negative delay, Size not below the Depth or the strip's Thickness (a percentage Depth is checked at planning), Peek on a Panel without Meld, Peek on a strip without Children, Name on a strip without Peek, unknown keys with the nearest names. Tests: test_frame_peek.py, test_frame_peek_strip.py, test_frame_peek_schema.py, test_frame_peek_live.py; the KWin checklist has a Peek section (variant C, run-peek.sh).

  • Moved to tesserae-engine 0.6.5 (floor >=0.6.5,<0.7): PopupWindow(input_region=) (TRE-REQ-014). A shadowed Popup now gives the pointer to its body only (input_region="geometry"), so a click in the shadow margin reaches the window below. A margin click over the shell's own windows is still that window's, not a dismissal. Not yet looked at on KWin.

  • Peek triggers and handles (M3c, Frame > Peek Triggers and Handles, decided 2026-11-07): Peek { Trigger: HOVER | CLICK | DRAG, Handle: AUTO | NONE | DOTS | BAR | CHEVRON, Slide_From } on melded Panels and Edges entries (strips take Trigger and Handle; Slide_From on a strip is an error). A list for Trigger or Handle is a not-built error; Enter_Delay and Exit_Delay with CLICK or DRAG are a load warning (they are ignored). CLICK: a click on the tab, or on the far strip of the open body where the handle is, toggles it. DRAG: pointer_down on the tab captures the pointer (capture_pointer), the first move past 4 px starts the join drawing the body and each pointer_move sets its progress (Join.seek: PARAM set(params=), SMIL svg_time, STRUCTURE the blended path data; the content's translate and the handle with it), pointer_up finishes to the nearer end at 50 % from where it is, over a time in proportion to what is left; under 4 px is a click. SHADER and CONCAVE cannot be set at a progress, so a dragged host takes PARAM (one warning per reason). Events fire once at the release (On_Open or On_Close, On_Anim_Start, On_Anim_End, On_Visible or On_Hidden) and not at all if it ends where it began. The handle (surfaces/handle.py): the maintainer's three icons (made for Tesserae Shell; flattened copies ship in shipped/Handles/, with a NOTICE, and a test keeps their numbers equal to handle.py's): tess_shell_dots.svg three filled 6 px circles centred 8 px apart in a 24 x 8 box (nodes), tess_shell_bar.svg one 22 x 4 px bar with elliptical corners 1.5 x 1.0 (a path, since a box's corner radius is circular), and the chevron (tess_shell_chevron.svg, flattened: a filled triangle 22 x 6.73 px, no stroke) as a path template with a parameter p (animate_param, on the slide's clock and easing; the triangle has no area at p = 0.5, so it shrinks to nothing and grows back the other way) that points away from the Frame at rest and towards it when out; in a holder that takes no input, placed at the middle of the tab and moved with the far edge by translate; the Frame's inner border colour (else outer, else light or dark by the fill), 60 % opaque and full while the pointer is on the tab. Not drawn (one DEBUG line) when the tab Size or the side is thinner than 8 px (dots, bar, chevron): named constants MIN_THICKNESS. Slide_From for a corner Panel (Alignment START or END) slides it out of the other edge it touches: the body is the same rectangle, its Length becomes the depth; an edge it does not touch is an error. Tests: test_frame_handles.py (59), schema tests in test_frame_peek_schema.py, a live handle test; the KWin peek demo has the four triggers and handles.

  • Fix: a new desktop look (light or dark) arriving while a melded Panel or strip slides no longer leaves the join in the old colours until it ends: set_look settles a running slide at once (the ring then draws the body in the new look). Tests (test_frame_peek_theme.py) cover the Frame's fill and border, a peeking Panel's content and text, a strip's content and the handle colour across a switch from dark to light and back at the tab, out and mid-slide, and that a button in an open body runs its own action without toggling the peek. The KWin peek demo now uses theme tokens ($color.surface, $color.primary, $color.on_surface, ...) and Follow_Desktop: true, has a labelled button in the Dock, Notes and Tray bodies, and toggle-thin.sh (every Peek Size 7).

  • M3 (more surfaces) is complete and accepted by the maintainer after a final KWin pass (2026-11-08). Not built, waiting on specs: handle opacity and content fade, keyboard-only access, a Bar melded to a Frame, strip expand and contract.
  • The shell's shared converters now come from tess_utils, the compiled file of the private tess-utils repository (v0.1.1), carried in src/tess_shell/_vendor/ with its type stub and VENDORED.json (tag, version, SHA-256 of each file). binder/convert.py keeps the typed Value/BindError wrapping and hands the colour forms (now also rgb() and transparent), four-sided values and their order, corner radii and enum words to it. tools/vendor_utils.py sync copies a release in (the latest release, a tag, or a local build; it checks each file against the release stamp and the stamp against this Python), check is the drift check, and tests/test_vendor.py runs it. The wheel now carries a compiled file, so it is a platform wheel (cp314-cp314-linux_x86_64; a PyPI upload needs a manylinux tag, an M7 matter).

  • The Frame's ring in linear light, settings.tdl Debug { Frame_Blend: SRGB | LINEAR } (default SRGB: the path build, unchanged and pixel-identical; parsed and applied like Frame_Join: a restart applies it and a reload warns; TRE-REQ-015, the maintainer's option 2, an interim before any engine change). tre blends the anti-aliased edge of a path in sRGB, so a light 2 px border on the dark ring is thinner to the eye on a curve (summed linear light 1.69 of 2.00 at 1x, 1.79 at 1.5x). LINEAR replaces the three path nodes by one box node painted by a WGSL fill shader (surfaces/frame_shader.py, Ring.contours for the numbers) that draws the outer border, the fill and the inner border as signed distance fields and composites them in linear light, writing the encoded result; the node is below the strips, the melded Panels' content and the handles as the paths were. Melded bodies are in the same field: the opening is the outside of its rounded rectangle with each body joined by sd_round_union (an exact fillet at the joins, and at a corner the body runs into, the fillet between its far edge and the side, with that corner's own radius taken off), the inner border and the seal under it are offsets of it, and a body is five uniforms with s, how far out it is, animated by Shader.animate with the join's easing (LinearJoin, the join of the shader ring, PARAM's shape, no nodes of its own; a peek tab is the body at its shallow depth, a drag is seek). hit_path is the painted contour, set for the body at its full size while it comes out. Measured (tests/test_frame_linear.py, tests/test_frame_linear_live.py): the border's outer edge loses 0.27 px of width at 1x with paths, 0.20 at 1.25x, 0.18 at 1.5x and 0.14 at 2x, and 0.00 with the shader; over a dark desktop the border reads 1.69, 1.79, 1.79 and 1.84 of 2.00 with paths and 1.88, 1.88, 1.93 and 1.94 with the shader, because its inner edge, against the opening, is blended by the compositor in sRGB (the private sway's screenshot gives 1.685 and 1.879 at 1x, 1.791 and 1.927 at 1.5x, the same as the composite the headless tests do). At rest every pixel not within 3 px of a curve is the paths' to 3 levels at 1x and 1.5x (a ring with margins, both borders, an open side, a fill only), a body in 26 places (four sides, either end, the middle, a whole side, a 6 px sliver, radius 0 and 12, an open side, an opening with 32 px corners) has the paths' contour up to anti-aliasing, a slide, a peek's tab and a strip's sliver follow PARAM's frames, the hit shape equals the paths' over a grid, and the reserved zones are the same. A Frame the shader cannot draw keeps the paths and logs one WARNING with the reason: a translucent colour, Opacity below 1, Animation: FADE, more than 8 melded bodies (strips that peek count), a Frame_Join other than PARAM, a painter above 8192 physical px; a body as deep as the opening is drawn with paths while it is there. Two findings about tre 0.6.5 that shaped it: a change of a shader's uniforms alone draws no frame in a window that is still (the ring writes to its node after a set; tests/test_frame_linear_live.py fails without it), and Shader.animate(name, v, 0) is applied but wakes nothing (a uniform moved while another body slides uses 1 ms). Cost on the private sway (software rendering, 1920 x 1080, a 300 ms slide looping): frame total 6.1 ms against 4.9 ms, draw 2.7 ms against 0.5 ms, video memory 18.3 MiB against 10.5, 0 frames at idle in both. KWin: tests/kwin/prepare_m3c_strips.py writes run-strips-linear.sh [SRGB|LINEAR] and run-peek-linear.sh and a checklist section; tests/kwin/compare_join.py --blend=LINEAR measures the cost; tests/kwin/spike_linear_band.py is the probe (a 2 px band at radius 16/14: 2.00 on the straight, 1.99 on the curve with the shader, 1.69 with a path).

  • M4a Enabled and :disabled (A1): Enabled: true|false (a value or a slot) on every block is tre's disabled (inverted) and, because tre does not stop input, the shell's Wire blocks the pointer itself: a blocked block (disabled, or under a disabled one) takes no hovered or pressed state, runs none of its enter, leave, down or up hooks (so no tooltip opens over it) and swallows the click (its On_Click does not run and no block above or behind hears it; pointer_down and pointer_up still bubble, so a Popup is dismissed by a press on it). :disabled is a built style state, folded by the precedence of :hovered and :pressed and shown over both; a Text takes :disabled (and no pointer state). Disabling a hovered or pressed block clears the state and gives back the stored pre-state values, runs the leave and up hooks, and enabling restores the base; a reload or an update that flips or drops Enabled sets the node in place (every node is built with disabled: false for that). The D53 warning for :disabled is gone; :focused still warns (M6).
  • M4a ::part (A1): a block in a module's layout may declare Part: track (unique in the module; an error outside a module); a stylesheet rule Module::part (and Module::part:hovered, :pressed, :disabled) styles that block at every use of the module, folded with the other rules (specificity: a part rule 20, above a class (10) and a module root (5) and below a #name (100)); the module's parts are in ModuleDef.parts, check_parts reports a rule naming an undeclared part with the nearest names, and a part takes the module's :disabled when the module's root is disabled. .class::part and #name::part are skipped with a warning (not built); a part of something that is not a module is an error. The D53 warning for ::part is gone.
  • M4a Call (A3): On_Click { Action: Call, Target: "Module.action", Key: value } runs the module's @action with the other keys in event.args; Target must name a module the shell has (a load error with the nearest names otherwise), and the module host checks after loading that the module is loaded and has the action (check_calls, at start and on reload); an @action named like a built-in action (Show, Hide, Toggle, Close, Call) fails the module's load. An argument may be a {{ }} slot (model/args.py): compiled at load, evaluated when the event fires in a scope of event, the use's params and values, the For entries around the block and, in a Popup, caller; a slot that fails is logged at its position and the action does not run. Data { } on an action is a clear not-built error (M4c).
  • M4a caller.data (A3): the Popup's content reads caller (module, use.{key,uid,name,monitor,params}, rect, data, source): a slot in a shell-file block of a Popup or an inline tooltip is allowed (elsewhere outside a module it is still an error), a module used in a Popup reads it in its layout (UseScope), ctx.popup(name, data=...) passes a plain copy (not plain data: an error and the Popup is not opened) and the D59 warning is gone; no data is an empty mapping and a missing key a runtime warning.
  • M4a gallery skeleton (A4): tests/kwin/prepare_m4a_gallery.py writes /tmp/tess-kwin-m4a (gallery/ config, run.sh, check.sh, checklist-m4a.txt): a Panel with Box, FlexBox, Rectangle, SVG, Text and Spacer in each state, a Meter module with ::track and ::fill parts, and a Pad module whose button runs Call with arguments and whose Popup reads caller.data; theme tokens only. Tests: test_enabled.py, test_parts.py, test_call.py, test_caller_data.py, test_gallery.py (headless) and test_gallery_live.py (private sway).
  • Text fields (M4a, A2, tesserae-engine 0.6.6): the TextField block is a composition (a box that paints the background and border, a line box, a text that gives the field the height of its lines, and a tre text_input over it; model/field.py splits the block before binding). Keys: Text (data in: a module-set text raises no On_Changed), Placeholder, Multiline, Selection: [start, end], Show_Whitespace, Padding, Wrap: WORD | NONE (multi-line, default WORD; CHAR is a not-built error), Lines (the height of a multi-line field, default 3), Read_Only, Max_Length (0 is no limit), Password (single-line), Label; style Foreground, Font_*, Background, Border_*, Corner_Radius, Placeholder_Foreground and Overflow: SCROLL | ELLIPSIS | CLIP (single-line, default SCROLL, so a single-line field is always one line; a stylesheet rule may set it). A key that means nothing to the form (Wrap on a single line, Overflow or Password on several) is a load warning and has no effect; On_Submit on a multi-line field too. With no look of its own a field takes the theme (raised surface, outline, text colour, body size; primary outline on hover, half opacity when disabled). Events On_Changed (event.old, event.new; user edits only), On_Submit (Enter, single-line), On_Text_Commit (event.text: typed, pasted or from an input method). A disabled field takes no pointer, no keys and gives up the focus; a press in its padding focuses it; a module that echoes the typed text back does not move the caret. A Bar or Panel that holds a field and has no keyboard mode takes on_demand (INFO log); EXCLUSIVE is only ever written.
  • TextInput and TextEditor (M4a): shipped modules over TextField (no config needed): TextInput { Text, Placeholder, Read_Only, Max_Length, Password, Enabled, Width }, TextEditor { Text, Placeholder, Read_Only, Max_Length, Wrap, Lines, Enabled, Width }, with the part ::placeholder (Rule { Selector: "TextInput::placeholder", Foreground: ... }). A module call may now carry On_Changed, On_Submit and On_Text_Commit (any On_ key its root block raises): TextInput { On_Changed { Action: Call, Target: "Search.typed" } } in a shell file, or a bare action name in a module's layout; the handler runs in the module that holds the call. Event gained old, new and text.
  • M4b display widgets (not committed; see /tmp/frame-review/M4B.md): the standard modules Label, TextBox, ProgressBar, Badge, Marquee_Text, Icon, Image and Expander (shipped, with the Default stylesheet's rules for their parts and their disabled look); a string Tooltip: "text" (a one-line tooltip Popup, also the block's accessible description); the blocks Bitmap, Circle, Ring and Path (tre paths, hit where painted) and Marquee; the common keys Position, Left/Top/Right/Bottom, Translate_X/Y, Scale, Rotation, Clip_Children, Role, Description, Live, and the accessibility state keys a module sets (Value, Value_Min, Value_Max, Value_Step, Checked, Selected, Expanded); the motion style keys Transition, Duration and Easing (an eased change of a listed key, also to AUTO and to a percentage; reduced motion makes every duration 0); module calls: params as {{ }} slots (evaluated in the caller's scope, followed live), Children { } content placed by a Content { } marker, common block keys forwarded to the module's root block, param types path and icon; module-root stylesheet keys the root does not take pass to its first inner block that does; Spacer takes no pointer unless it has an On_Click; decorative blocks are A11y_Hidden unless they have a Label. Image decoding: tess_utils.image 0.2.0 (carried into _vendor, Pillow lazily imported there; Pillow is a dependency of the shell and nothing here imports it), cached by path and modification time, 4096 x 4096 limit, an error image for a bad file. Gallery tests/kwin/prepare_m4b_gallery.py.
  • M4c interactive widgets (not committed; see /tmp/frame-review/M4C.md): the standard modules Button, Toggle, Checkbox, Slider, List, Menu and MenuItem, and the block ScrollBox. Pointer only (focus, the focus ring and the keys are M6).
  • Controls (binder/controls.py): a block of a module's layout becomes a control by a key that gives tre nothing (written only in a module's layout, like the accessibility state keys): Toggles: true (a click flips tre's checked and raises On_Changed), Selection_Mode: SINGLE with Chosen (the block's children, or the children of the one child of a ScrollBox, are entries chosen by a click; an entry's Key, or the key of its For repeater, names it), Slides: HORIZONTAL | VERTICAL (a press jumps and a drag with the pointer captured moves value between value_min and value_max in steps of value_step; the parts fill and handle follow it) and Menu_Item with Opens (a menu row). Data in, edits out: the value a module sets (checked, value, Chosen) moves the control and raises nothing; the user's value stays until the module sets a different one, also across a rebuild of the surface. On_Changed carries event.old, event.new and event.value (Event gained value; old and new may be a bool or a number). On_Changed on a plain block, or on a module whose root is not a control, is an error.
  • Flag states: :checked and :selected are built style states (the control sets them; a block with no control takes them from its Checked and Selected), weaker than :hovered, :pressed and :disabled; a part takes them from its module's root block, and a state now eases the properties the block lists in Transition (the Toggle's thumb slides, its track changes colour, under the theme's motion duration and at once under reduced motion). Key is a common block key (a For entry's root block gets its repeater key unless it writes one).
  • ScrollBox: tre's scroll_view as a block (Orientation: VERTICAL | HORIZONTAL, Scroll_Offset); it scrolls its one child by the wheel (more than one child is an error), keys are not built, Scroll_Snap and On_Scroll are not built.
  • Button (Text, Icon, Icon_Position, Label; parts ::icon, ::label; states hovered, pressed, disabled), Toggle and Checkbox (Checked, Label, Text; parts ::track/::thumb and ::box/::mark/::label), Slider (Value, Min, Max, Step, Orientation; parts ::track, ::fill, ::handle), List (Selected, Selection: NONE | SINGLE; entries styled by a class, the Default stylesheet has .list_item), Menu and MenuItem (Text, Icon, Shortcut_Text, Separator, Submenu; parts ::icon, ::label, ::shortcut, ::arrow, ::rule). Roles, names and state are set as the Accessibility note says. The look is in the Default stylesheet (theme tokens only).
  • Show, Toggle and Hide on a Popup: On_Click { Action: Show, Target: File_Menu, Data { Id: {{ item.id }} } } opens the Popup of the Monitor beside the block that raised the event, with Data as caller.data (a literal or a {{ }} slot per key); Toggle closes it when it is open from there, Hide closes it. Data on any other action is an error.
  • Popup submenus: a Popup opened from a block of an open Popup (a MenuItem with Submenu: Name, or ctx.popup(name, use=<a use inside the Popup>)) is its submenu: a tre PopupWindow whose parent is the open Popup's window, placed to the right of the row (flipped to the left by the compositor when there is no room), up to three levels. A submenu opens on a click on its row and after the pointer rests on it for 250 ms, closes when the pointer rests on another row of the same menu for 300 ms, with its parent (the shell closes it first: tre does not close a submenu with its parent), and on a click elsewhere. Only one submenu is open at a time per level and one root Popup at a time. A click on a row that opens nothing runs its action and then closes every level. Probed on a private sway first: three nested popups open, with the placement the protocol says.
  • Gallery: tests/kwin/prepare_m4c_gallery.py writes /tmp/tess-kwin-m4c-widgets (config, run.sh, check.sh, checklist-m4c.txt); tests/kwin/measure_m4c.py measures the frames at rest (0 with the controls, a List and a Menu with two submenus on screen). Tests: test_controls.py, test_menu.py, test_gallery_m4c.py.
  • Tooltip_When_Disabled: true (a common block key, default false; a module call forwards it like the other common keys): the block's tooltip opens although the block is disabled, after the Enter_Delay, as for an enabled one. Nothing else about the block changes: it still shows no :hovered, takes no click and runs none of its other hooks (the tooltip hook is registered as always on the wire). Without the key a disabled block opens no tooltip (M4a decision 4, unchanged). The shipped Marquee_Text sets it, so a disabled (or reduced-motion) Marquee cut with an ellipsis shows its whole text as a tooltip (KWin M4b row 5). Fix found on the way: the Marquee's tooltip was written Tooltip: "{{ params.Text }}" (a quoted string is literal text, so it would have shown {{ params.Text }}); it is now Tooltip: {{ params.Text }}.
  • Moved to tesserae-engine 0.6.7 (floor >=0.6.7,<0.7; TRE-REQ-017): in a text input with a wrap set (every multi-line TextField sets one) Up/Down/Home/End/Page keys move by visual row and Shift extends the selection; every text input takes Ctrl+Left/Right/Backspace/Delete by word, Ctrl+Home/End to the start/end of the whole text, Insert for overwrite, a double click for a word and a triple click for the string up to the spaces. The 0.6.6 limit (arrow keys by logical line in a wrapped field) is gone. One test that sent End to reach the end of a wrapped paragraph now sends Ctrl+End. Untested on KWin and with an input method.

  • Fix: with Debug { Frame_Blend: LINEAR } nothing peeked on KWin (hover, click and drag on a tab or a sliver did nothing). Cause: the painter's input_region="auto" is the union of the drawn, hit-testable nodes, and a shader node with no paint of its own is not one, whatever its hit_path says; the painter's input region was empty, so the compositor never delivered the pointer (a headless Window.simulate follows hit_path and passed, which hid it). The fill band's path node now holds the painted contour at alpha 1 under the shader (the shader is opaque over it; hit_shape="painted"), the way the ring nodes sit under a ghosting join; the shader node keeps hit_path so a click in the opening still falls through. Found and checked with a real virtual pointer on the private sway (tre's wlr_pointer helper in tre's environment, tests/live_pointer.py): tests/test_frame_peek_live.py runs one pointer script (HOVER with its delays and leaving, CLICK, DRAG of a tab, DRAG of a strip's sliver) under SRGB and LINEAR and fails for LINEAR without the fix; tests/test_frame_linear.py gained the same pointer scripts through simulate (hover, click on the tab and on the far strip, drag out and back, a strip's sliver by hover and by drag) with equal states under both blends. The shader build's idle and cost numbers are unchanged.

  • Debug { Frame_Blend } now defaults to LINEAR (maintainer, 2026-11-12, after the KWin look: the border reads as wide on a curve as on a straight, on every variant). SRGB stays selectable. A Frame the shader cannot draw (a Frame_Join other than PARAM, a translucent colour or Opacity below 1, Animation: FADE, more than 8 bodies, a painter over 8192 px) still falls back to paths with one warning. The path-build tests now pin blend_mode="SRGB"; the live Frame tests run on the shader.

  • Fix: with Debug { Frame_Blend: LINEAR } a DRAG of a peek did not follow the pointer smoothly on KWin (the content went up and the panel's contour lagged behind). Cause: Join.seek on every pointer move set the body's uniform with Shader.animate(name, p, 1); an animation starts on the next tick and each pointer move asks again, so with moves faster than frames it never got to start (headless: after each move and a 16 ms frame the uniform stayed 0 while the drag was at 0.21 to 0.71) while the content, moved by plain node properties, followed at once. RingShader.seek_body now sets the uniforms in the call of the move and writes the node so the window draws that frame (the 1 ms animate stays only when another body is sliding, since set would stop it). tests/test_frame_linear.py checks the uniform equals the drag's progress and the contour's far edge equals the path build's after each frame (fails with the old seek); tests/test_frame_peek_live.py drags the Tray tab with a real virtual pointer at one move per 2 ms while grabbing the screen and checks contour and content stay together to 2 px under SRGB and LINEAR. On the private sway (software rendering, 60 Hz) I could not make the old code lag visibly (contour/content deviation 1.3 px old, 0.9 new): the stall shows headless; KWin's pointer rate is the difference.

  • M5a A1 services/bus.py: one Bus per bus (session, system) on the one dbus thread: the system bus opens on first use only; a dropped connection is retried with a back-off of 1, 2, 4, 8, 16, then 30 s, puts every match rule back, reads every watched name's owner again and runs the Bus.on_reconnect hooks (where an owner of a bus name of the shell's own will ask for it again; the shell owns none yet). ServiceThread.session is now the session Bus (it was a coroutine returning the connection).

  • M5a A2 ctx.dbus (services/api.py, services/layer.py): session() and system() give a bus with proxy(name, path, interface): get (from a cache), call (default 5 s timeout; ServiceTimeout, ServiceUnavailable, ServiceError), on_property_changed, on_signal; Bus.run (a future, any thread) and Bus.run_blocking (raises BlockingCallError on the loop thread and on the dbus thread). At most one warning a minute per service for timeouts and for a service with no owner.
  • M5a A3 one match rule per (sender, path, interface, member, arg0) however many modules subscribe, removed with the last subscriber (checked on the daemon with a monitor connection).
  • M5a A4 NameOwnerChanged watching: a service that leaves is UNAVAILABLE and gives on_service_lost(name); one that returns is read again (GetAll once, then PropertiesChanged only) and gives on_service_found(name); both hooks reach the loop thread through call_soon. Module has the two empty hooks.
  • M5a A5 the empty-state convention: the layer sends available (boolean) with ctx.send when the state of a module's services changes; Children wrap in If {{ available }} (test through a real If).
  • M5a A6 tests/fake_dbus.py (a private dbus-daemon, fake services with settable properties, methods and signals, a name that moves away or a service that restarts, a daemon that restarts, a monitor that counts match rules); the portal tests run on it. A callback on the service thread over 50 ms logs a warning with the module name. Measured: a callback that calls ctx.send takes p50 7 us and p99 26 us of its own work; a property change reaches the callback in p50 0.23 ms, p99 0.82 ms.
  • M5a A7 tests/test_dbus_layer.py, test_dbus_module.py, test_dbus_idle.py: with a connected layer, subscriptions and no signal traffic the dbus thread had 0 loop iterations, 0 kernel timeslices and 0 voluntary context switches in 60 s (pytest -m perf tests/test_dbus_idle.py; a 5 s run is in the suite). The Settings portal reader now runs on the layer, so it follows a restart of the bus daemon too.

  • M5b B1 shipped/Battery: the display device of UPower on the system bus (icon, percentage, tooltip with the state and the time left, low and critical from UPower's warning level, an optional read-only profile from the power-profiles service). Reads once, then PropertiesChanged; no timer and no thread; a value is sent only when it changed; hidden when UPower is absent or IsPresent is false (nothing is logged). All 24 mdi icon names it can send are checked against the shipped set; the icon is one SVG line per name because a {{ }} slot is not built in an icon param and a module call is not built inside If. show_percent param.

  • M5b B2 shipped/Workspaces: KWin's virtual desktops (/VirtualDesktopManager, session bus) as a row of buttons; the current one takes the :selected state (.workspace rules in the Default stylesheet); a click sets KWin's current through the layer without waiting on the loop; label: name|number; an empty name shows the number; desktops is read as a(uss) or a(iss); refreshes on PropertiesChanged and the three desktop signals; hidden with no KWin.
  • M5b layer: Proxy.set(prop, value, signature); proxy(..., optional=True) (not counted in available, absence logged at debug); a service that is absent at the first read is an info line, one that leaves is a warning (once a minute); ctx.dbus sends available false at its first use, and a use added later gets the current value (ModuleContext.send_available).
  • M5b B3 tests on fake services (tests/modules_rig.py, test_battery.py, test_workspaces.py, test_modules_idle.py, test_m5b_live.py, test_gallery_m5b.py): per-signal module work p50 7 us and p99 36 us (Battery), p50 15 us and p99 36 us (Workspaces); 0 loop iterations, timeslices and context switches on the dbus thread in 60 s with both modules shown. The private sway's environment now points DBUS_SYSTEM_BUS_ADDRESS at a socket that does not exist.
  • M5b KWin kit tests/kwin/prepare_m5b_gallery.py (/tmp/tess-kwin-m5b): the Bar, run.sh for your real buses, run-battery-fake.sh with a fake UPower on a private bus (tests/kwin/fake_upower.py), battery-set.sh, battery-upower.sh, check.sh and a 21-line checklist.txt.

  • M5b icon slot: Icon: {{ icon }} works in an SVG block and as an icon param of a module call (the Icon module, Button, MenuItem), also inside If and For: the name a module sends goes through the same icon sets as a name written in a file (model/icons.py, reached through Look.icons, which Scan fills, so the user's Icons folder and a hot reload apply). A change of the name swaps the document in the same SVG node; an unknown name shows the image-broken-variant icon with one warning naming it (once for each name); an empty name shows nothing; a document (<svg ...) is used as it is. Battery now uses it: its 24 If {{ icon == ... }} branches are gone and the icon takes the warning and error colour with the number and the dot.

  • M5b hidden modules take no space: Battery and Workspaces have Visible: {{ available and present }} (available and ready) on their root, so a hidden one leaves no Spacing beside it in the Bar (tested on the nodes' rectangles). tre 0.6.7 keeps the layout space of a node that is built hidden when it also has an explicit display (every FlexBox): View.reindex sets visible once more on such a node, which takes it out of the layout.

  • M5 module call inside If and For (a module's layout; a shell file still has neither). In an If (and Else) the call is one use that lives as long as the layout around it: only its blocks come and go, its values and state stay. In a For there is one use for each entry, made when the entry appears, with the key <Module>@<outer use>.<place of the For>.<entry name>.<place of the call> (no source line in it, so editing the file does not make the entries new uses), and ended when the entry goes; the module gets use_added / use_removed and ctx.send(..., use=) reaches the entry. Params written as slots (Clock { format: {{ item.fmt }} }), a handler with an argument slot (On_Click { Action: pick, Id: {{ item.id }} }) and Children read the entry's variables; a Tooltip is per entry. The keyed diff keeps the other entries' nodes and uses across a reorder, an add or a remove. A module called only inside a For is loaded at start. The uses survive a hot reload, also one that replaces the module's code. Not built: a For call in a Popup (an error naming it). The call is checked when the file is read (a handler the root cannot raise, a cycle, a missing Content), not on the first entry; module call cycles through If and For are now found.

  • M5 module call inside a For in a Popup: a module in a Popup's content (Popup { Children { TrayMenu { } } }, where TrayMenu's layout holds For e In {{ caller.data.items }} Key {{ e.id }} { MenuItem { Text: {{ e.text }}, On_Click { Action: pick, Id: {{ e.id }} } } }, or a list the module sent) now works: the entries' uses are made when the Popup opens (or when the list changes while it is open) and end when it closes, are replaced by a reload, or when it is replaced by another Popup. The keys follow the same scheme (parent use, For place, entry name, call place), so two Popups never collide, and a reopened Popup with other data has new entries. The module hears use_added / use_removed; a click on an entry runs its action with the entry's arguments. An entry's use has a root block for ctx.popup (a submenu or a menu beside it), in a Popup and in a Bar that has Popups (an omission of the first version: a For entry could not open a Popup). A send to a use that ended lately is a debug line, not an error. Not built: an If/For written directly in a Popup's own shell-file content (it still needs a module's scope).

  • Fix: the Workspaces mark did not follow a desktop change on KWin (Ctrl+F2) and a click back to the previous desktop did nothing (maintainer's KWin check, M5b rows 4 and 5). The module now also reads current and the list on KWin's currentChanged and countChanged signals, and a click always sets current (the shell no longer compares it with its possibly stale copy). New test: a KWin that emits only currentChanged.

  • Fix (Battery, from the maintainer's KWin check, rows 15 and 16): at low and critical the icon was not drawn (the number and the dot were), and the icon-only Battery lost its hover area and tooltip with it. A headless tree and a private sway (scale 1, 1.5, 2, dark and light, the same battery-set.sh order of changes) draw it, so the cause on KWin was not found; the layout built a new box with a coloured icon each time the level changed (If/Else around the box). The three looks are now three boxes that exist from the start, one shown with Visible:: a level change creates and removes no node and never changes an icon's colour, only which box shows and the icons' documents (the same moves as hiding and showing the module, which work on KWin). The Root keeps its size from the box that shows, so the tooltip area does not depend on the icon. Tests: no node is created or removed across normal, low, critical and back; the icon's own pixels in a snapshot have the level's colour; the icon-only Battery keeps its size at every level (the first fails on the old layout).

  • Battery icon, second KWin report (rows 15 and 16: "the icon disappeared when the dot was supposed to show up, it reappeared when not"). Still not reproducible: the private sway (scale 1, 1.25, 1.5, 1.75, 2, dark and light) and headless Window snapshots (a dot hidden then shown on a live frame, the row hidden then shown, the dot first, wrapped icon, no Foreground) draw the icon in every variant. The dot is no longer a node: an icon name may end in +dot (mdi:battery-10+dot, in a file or sent by a module), which gives the same icon with a dot of the same colour to its right in ONE SVG document (half an icon's height wider; files/icons.py). The Battery sends icon_alert (the name plus +dot) and its low and critical boxes show it (24 by 16 instead of 16 by 16 and a Circle), so low and critical draw one SVG node and no path node beside it; the dot now takes the icon's colour (it was already the same). Test: the dot is in the icon's document, there is no Alarm node, and snapshot pixels show the level's colour on the icon and a dot beside it at low and critical and none at normal.

  • KWin probe tests/kwin/prepare_m5b_dotprobe.py (writes /tmp/tess-kwin-m5b-dot): one Bar with twelve labelled variants of the low-battery icon (A to L: the icon alone, with a Circle, a rounded Rectangle, the dot first, a bigger dot, a wrapped icon, the normal look, no Foreground, the dot inside the SVG document with and without Foreground, a literal colour in the document, the icon in the text colour), fixed values, no module and no D-Bus; the answer is the letters that lose the icon.
  • Fix (M5b kit): battery-set.sh 15 discharging low read low as the present/absent word, so it made the fake battery ABSENT (the Battery hid: icon and tooltip gone) instead of low; the script now takes present|absent and normal|low|critical in any order after the state and rejects other words. This, not the layout, was the maintainer's rows 15 and 16 failure on KWin.

  • M4 decisions of 2026-11-13 (M4 Brief questions 16 to 24, as recommended):

  • Q22: a submenu with no Data of its own reads the caller.data of the Popup that opened it (a copy at open; it was empty). A second level inherits it too.
  • Q20: On_Text_Commit is not raised for a commit that left the text as it was (tre raises input for an edit Max_Length refused). The wire remembers the text of the last user edit (change, now always listened to: a node has one listener per event) and of the last text the shell set (an update or a rebuild), and compares.
  • Q24: the exception is exact and the key stays. A disabled Marquee box opens its own tooltip by itself, after the Enter_Delay, only while its text is cut with an ellipsis (tooltip_gate; its leave still runs to cancel a tooltip). Tooltip_When_Disabled: true (the common key of 3ecb168) stays for any other block, and Marquee_Text still writes it; without the key no other disabled block opens a tooltip, and a Marquee that fits has nothing to add whatever the key says. A live test with a real (virtual) pointer on the private sway (tests/test_marquee_tooltip_live.py) checks a cut disabled one, a disabled one that fits, an enabled scrolling one, and an enabled and a disabled block with a tooltip.
  • Q17: Keyboard: NONE written on a Panel or a Frame that holds a text field is still overridden with on_demand, now with ONE warning at the Panel's or Frame's position naming the surface and the field (PanelDef.keyboard_written, FrameDef.keyboard_written); an unwritten key gets the info line only.
  • Q16: Enabled on a module use already forwards to the module's root block, and every block under it is blocked; pinned by a test (it passed before).
  • Q18: every image decode on the loop thread is timed (IMAGES.timings, the last 64) and one over 8 ms logs a debug line naming the file (binder/images.py, SLOW_MS).
  • Q14 (maintainer, 2026-11-13: the rule as proposed): the parameters of an @action method after event are its arguments. At load, Call (in a shell file, a Popup, a module layout, a For entry) and a bare action name in a module's layout are checked against them: an argument the method does not have is an error at the handler naming it and the nearest parameter (unknown-argument), and a required parameter (no default) with no argument is an error naming it (missing-argument); a {{ }} argument is checked by its name only. The declared arguments arrive as keywords, and event.args stays whole. An action with no parameter after event (every shipped one, e.g. Workspaces' switch) takes any names unchecked and reads event.args; one with **kwargs takes any names, gets them as keywords, and still needs its required parameters. One finding for a handler however many uses its layout has.

  • M5c, the Network module (shipped/Network/, Network Module spec accepted 2026-11-13): Network { show_name: false, show_vpn: true } reads NetworkManager on the system bus, read-only, with no timer, no thread and no polling. It follows PropertiesChanged on the manager, on every active connection, on the primary connection's device (Device and Device.Wireless) and on that device's access point, replacing the last three when the primary connection, the device or the access point changes (one match rule per object and interface, removed with its last subscriber). Keys: ready, state (CONNECTED, LIMITED, PORTAL, CONNECTING, DISCONNECTED, DISABLED, UNKNOWN), kind, name, strength, vpn, icon, tooltip, label; a value is sent only when it changed, and strength only when the Wi-Fi step or the tooltip's percent in fives changes. The layout is three boxes that exist from the start (text colour, warning colour for LIMITED and PORTAL, muted for DISCONNECTED, DISABLED and UNKNOWN), shown with Visible:, each with one icon and the vpn icon (Visible: {{ params.show_vpn and vpn }}): a change of state creates and removes no node. Hidden only when NetworkManager is absent (Visible: {{ available and ready }}); a disconnected machine shows network-off. Departures from the spec and the gaps it left are in /tmp/frame-review/M5C.md.

  • Tests for the Network: tests/fake_nm.py (a fake NetworkManager: the manager, three active connections, two devices, two access points, with the real types), tests/test_network.py (the derivations and 55 tests on the fake bus: wired, Wi-Fi at every step and the 5-rounding, portal, limited, State 50, connecting, VPN on and off, VPN over Wi-Fi, roaming and the old access point no longer heard, the subscriptions replaced on the daemon's monitor, disconnected stays visible, NetworkManager absent, leaving, returning and restarting, show_name, show_vpn, the icon drawn in each state's colour in a snapshot with no node made or lost, a hidden module takes no Bar space, no thread, never writes, per-signal callback time), tests/test_network_idle.py (5 s in the suite, 60 s marked perf), tests/test_m5c_live.py (a private sway, grim), tests/test_gallery_m5c.py.
  • Fix (D-Bus layer, found by the Network's tests): a PropertiesChanged that arrived while the first GetAll of an interface was in flight could be lost: the signal is handled before the coroutine that awaits the reply resumes, and the reply, read before that change, replaced the cache. A module that changed two properties right after it started (the fake NetworkManager's ActiveConnections and PrimaryConnection) was left with half of the update in about one run in twelve. The cache now keeps the changes that arrive during a read and puts them on top of the reply (_Cache._pending); a test models the race directly.
  • KWin kit for the Network (tests/kwin/prepare_m5c_gallery.py writes /tmp/tess-kwin-m5c): run.sh on the real buses (read-only), run-fake.sh with a private bus and a fake NetworkManager (tests/kwin/fake_nm.py), network-set.sh (the words wired, wifi, none, a strength, vpn, novpn, online, limited, portal, local, connecting, disabled, ap1, ap2, wifioff, wifion, in any order; any other word is refused and nothing changes), network-nm.sh away|back, check.sh and one checklist.txt (24 lines). The test runs every command line of the checklist against the real fake, in order.

  • Peek { Handle_Opacity } and the content fade (Frame > Peek Triggers and Handles, accepted 2026-11-08). Handle_Opacity is a number from 0 to 1, default 0.6 (the old REST_OPACITY), on a Panel's or a strip's Peek: the handle's opacity at rest (Handle.rest; hover raises it to 1 and leaving returns to it; a reload changes it in place); outside 0 to 1 is a load error and it does not warn with CLICK or DRAG. Content_Fade (default true; a key of a melded Panel and of an Edges entry; a load warning on a Panel in a window of its own, which fades its whole surface already) makes the content's opacity the slide's progress: _begin_motion sets the mover's opacity to the start of the slide, _run animates it on the contour's clock and easing (the same ms and easing as the translate and the join, so opacity = progress at every frame, a turn round retargets both from where they are) and _seek writes the content's place and its opacity in one mover.set in the same call as Join.seek (the PARAM params, the SMIL svg_time, the STRUCTURE path or the RingShader.seek_body uniforms), under Frame_Blend: SRGB and LINEAR. It applies to a peek's tab-to-body slide, a drag, and a plain show and hide of a melded Panel; a strip's children fade with their strip; the tab still shows no content (the container is hidden at rest). Reduced motion has no fade (a drag still follows the pointer, opaque). Type: FADE and Type: NONE are as before. No new wakes or timers: idle draws no frame (a test counts them headless and on the private sway for both blends). An Expander's content fade was built with the Expander (Content_Fade module parameter). Tests: test_frame_fade.py (26), schema tests, live drag with the real pointer measuring the dot's colour against the contour under SRGB and LINEAR, live idle frames.

  • M5d, the Media module (shipped/Media/, Media Module spec accepted 2026-11-13): Media { show_art, show_title, show_controls, show_position, max_width } finds the MPRIS players on the session bus by prefix (one ListNames and one NameOwnerChanged rule, no polling), follows PropertiesChanged and Seeked of each, chooses one by the spec's four rules (playing, most recently started; else the one shown before; else the paused one that changed last; stopped with no title never), counts a plasma-browser-integration player and a chromium or firefox player of the same browser as one (the integration one is shown), and hides with no player (Visible: {{ available and has_player }}, no Bar space). Previous, play or pause and next are Buttons (disabled when the player cannot, or CanControl is false), the title a Marquee_Text, optionally an Image (the cover: a file:// URL whose file exists; a web address or a missing file shows the placeholder music note, one debug line, no request) and a Slider. A click is a call through bus.run (PlayPause, Next, Previous; a released slider SetPosition(trackid, microseconds)) and the look changes only when the player's own signal says so; a failed call is logged once a minute per player. The position is the stored Position plus the elapsed time times Rate (read again on a change of status, track or rate, and on Seeked); a one-second on_tick exists only while the shown player plays and a use shows the position, so with none there is no timer and nothing wakes. No node is created or removed by a state change. Departures from the spec are in /tmp/frame-review/M5D.md.

  • D-Bus layer additions for the Media (Bus.watch_prefix(prefix, on_added, on_removed) and Bus.forget(name); services/bus.py, layer.py, api.py): the prefix watch is one NameOwnerChanged rule by arg0namespace and one ListNames, shared by every module that asks, and is listed again, with the names that went told as gone, after a reconnect; available is the bus being reachable (a pseudo service of the prefix), not the players, so a player that leaves (a proxy made with optional=True) never makes the module unavailable; forget lets go of a name's watch and cached properties once its player is gone. MatchKey takes arg0namespace.
  • Fix (found with the Media): a common key written on a module call and placed on its root block (Button { Enabled: {{ can_next }} }, Marquee_Text { Width: {{ params.max_width }} }) read the callee's scope and failed with "not defined"; it now reads the scope of the module that holds the call and follows its values (SlotValue.use, set in _forward; read in LiveTree._slot). A key written in a shell file is unchanged. Not covered: a For loop variable in such a slot (the handler arguments have the same limit).
  • Tests and kit for the Media: tests/fake_mpris.py (fake MPRIS players with the real types), tests/test_media.py (the choice rule, the duplicate rule, every acceptance bullet on fake players, pixels and nodes in the real binder, no thread, the layer forgetting a player, per-signal callback time), tests/test_dbus_prefix.py, tests/test_call_common_slots.py, tests/test_media_idle.py (5 s in the suite, 60 s marked perf: zero dbus wake-ups in every scenario, and the time source wakes once a second only while playing with the position shown), tests/test_media_live.py (a private sway, a real pointer click on play and next), and the KWin kit tests/kwin/prepare_m5d_gallery.py (writes /tmp/tess-kwin-m5d: run.sh on the real session bus, run-fake.sh with fake players that behave like real ones, media-set.sh taking its words in any order and refusing any other, check.sh, one checklist.txt of 22 lines) with tests/test_gallery_m5d.py running every command line of the checklist against the real fake with the real busctl.
  • T-023 On_Released on the Slider (D-018): Slider { On_Released { Action: ... } } (a call in a shell file or a module's layout; a bare action name in a module's layout) is raised once per press on the slider, when the press ends: the button goes up on the slider, or anywhere else because the pointer is captured, or the press is taken for a window move (pointer_cancel), or the slider is disabled while it is held. event.value (and event.new) is the final value, event.old the value when the press began; a click on the track gives one On_Changed and then one On_Released, a press that moves nothing only On_Released (same two values). On_Changed is raised as before, for each new value while the pointer moves. A keyboard step is M6 (the Slider has no key handling yet). The event key is in EVENT_KEYS and CONTROL_EVENTS (only a block with Slides raises it; on a Toggle, Checkbox, List, a plain block or a shell file's block it is the usual "does not raise On_Released" error); the Call argument check (unknown-argument, missing-argument) applies to its handler as to any. Media: the seek is now sent from On_Released { Action: release, position: {{ event.value }} } (it was On_Click, which a drag released outside the slider does not raise); a press that moved nothing seeks nowhere, the position display waits while the handle is held, as before. Tests: test_controls.py (7 new), test_media.py (a release outside, a touch), test_slider_released_live.py (a real virtual pointer on a private sway).
  • Test safety (T-025): a bare pytest run with WAYLAND_DISPLAY or DISPLAY set is refused (exit 3) unless TESS_SHELL_TESTS_REAL_SESSION=1; the pytest process loses the real session bus, points the system bus at a missing socket and gets private runtime, state and config directories; the private sway process no longer inherits the real session bus address. Run the suite as env -u WAYLAND_DISPLAY -u DISPLAY uv run pytest.

  • T-014 schema export: tesserae-shell schema --json [--out FILE] prints, or writes, the shell's schema as JSON for the tess-ui configuration application (schema_version 1.0). tess_shell.schema.export (schema_json(), schema_dict()) walks the tables the loader uses (schema/blocks.py, the surface key tables of schema/shell.py, config/settings.py, the shipped Default theme and stylesheet, the defaults of the typed model), so the export lists every key the loader accepts and no other, with its kind (and the range, units, choices, theme tokens it takes), whether a {{ }} slot is read, its default (null where the model states none), whether it is built, a form group and a line of documentation. roots holds the shell file's surfaces (Shell, Monitor, Bar, Panel, Popup, Tooltip, Frame, Edges, Edge, Border, Animation, Peek, Shadow, ...) and the other files' blocks (Stylesheet, Rule, Style, Class, Module, Param), blocks the 13 block types, settings the settings.tdl keys, plus events, actions, enums and tokens (the Default theme, with the modes that override each). The authored text (a doc line for every key, groups, units, examples) is schema/docs.py; tests/test_schema_export.py puts every exported key, enum choice, default and example into files and asks the loader, probes a pool of words for keys the export lacks, checks that no doc line is stale and that two runs, even with another hash seed, give the same bytes. tests/test_imports.py gives schema.export its own import rule.

  • T-026 schema 1.1 (schema_version "1.1", additive): (1) a key's default is read from tre: binder/defaults.py builds each block bare on a headless window through the binder and reads every tre property a key sets with node.get, written as the key's own text (true, RELATIVE, AUTO, "#00000000", [l, t, r, b]); a few shell-owned keys with no tre property (Easing, Toggles, Selection_Mode, Slides, Menu_Item) have an authored default in schema/docs.py with its reason, and Duration is binder.motion.DEFAULT_DURATION; each is pinned by a test, and writing a default changes no tre property. (2) Ranges: schema/ranges.py is the one table that schema/values.py (coerce, from_python for slots, named_sides) judges by and the export reports as min/max: Opacity and Handle_Opacity 0 to 1, Scale, Font_Size, Line_Height, Aspect_Ratio, Speed and Diameter above 0, Flex_Grow, Flex_Shrink, Border_Width, Hide_After, Popup delays, lengths, bounds, sides and radii 0 or more (a Panel's Inset may be negative), Font_Weight 1 to 1000; an out-of-range value is a finding at its line naming the range (the loader's old hard-coded range checks and _frame_sides are gone). (3) Every key has preferred_tokens (docs.PREFERRED_TOKENS, a colour key gets color), next to the mechanical tokens. (5) modules: every shipped module with its params (type, kind, default, doc, required), the events a call may handle, the common keys it may write and its @actions (read from the module's source, not imported). (7) The tables the export reads are public (BAR_KEYS, BAR_CHOICES, PEEK_WORDS, IMAGE_SUFFIXES, token_kind, the config.settings key tuples); the private names are gone.
  • T-018 audio access spike (tests/spikes/audio/, not collected by pytest, run only under a bwrap sandbox against a private PipeWire stack): four routes measured (native PulseAudio protocol client, pulsectl-asyncio, pactl subscribe, pw-dump --monitor); recommendation and numbers in the M5 Build Log.
  • T-029 pointer events: On_Secondary_Click (the secondary button, event.button == "secondary", never runs an On_Click) and On_Scroll (one wheel step, event.delta +1 scrolling down and -1 scrolling up; a sideways wheel raises nothing) on every block that takes On_Click, in a module's layout and in a shell file, with the same swallow rule as the click (a disabled block raises neither and hides the event from blocks above it; the nearest block with the handler takes the event alone, a block without one lets a wheel bubble to the ancestor that has it). Event.delta is new in tess_shell.module; event.delta and event.button read in a handler argument slot like event.value. The schema export lists both keys with an authored doc line.
  • T-029 sound client (services/pulse_native.py): the shell's own client of the PulseAudio native protocol (what pipewire-pulse and PulseAudio speak), standard library only: AUTH with the protocol version negotiated from the reply (13 to 35; fields read per version, port types from 34), SET_CLIENT_NAME, SUBSCRIBE and its events, server, sink and source info in one round trip, set sink volume and mute, set source mute, set the default sink; scaled sets a mean volume and keeps the balance between channels; default_socket and read_cookie take the environment as an argument (a zero cookie first, the user's cookie file when it is refused). Decisions D-027 and D-028, ADR-0021.
  • T-029 sound service and ctx.audio (services/audio.py, services/api.py): one AudioService on the dbus service thread's loop owns the connection and hands each module an AudioState (default output volume, mute, name and kind, default input mute, the outputs) when it differs from the last; setters (set_volume, step, set_muted, toggle_mute, toggle_mic, set_output) return futures at once, the volume clamps to 0 to 100, steps that follow each other before the server's event add up, a failure is logged once a minute per module. No timer: with no server it watches the socket's folder with inotify (the nearest folder that exists) and retries on a create; while connected it holds no watch. Idle: 0 timeslices and 0 voluntary switches over 5 s and over 60 s.
  • T-029 Audio module (shipped/Audio, shipped/Audio_Outputs): Audio { show_percent, show_slider, show_mic, step } shows the default output (icon by kind, level and mute; muted colour), a click mutes, scroll steps the volume by step, a secondary click opens the Popup Audio_Outputs (a module with a Menu of the outputs and a dot on the default one), the slider writes at most 20 times a second while dragged and the final value on release, a crossed-microphone mark while the input is muted; hidden (no space) when there is no sound server and back when it starts or restarts.
  • T-029 tests: tests/fake_pulse.py (an in-process PulseAudio server on a unix socket under a temporary path, per-version encoders, events, restart and stale-socket simulation) with test_pulse_native.py, test_audio_service.py (kind lookup, reconnect, cookie, idle) and test_audio_module.py; the conftest removes PULSE_* and PIPEWIRE_* from the environment, and default_socket names a socket that does not exist in every test. Tests against a private PipeWire stack (tests/test_audio_sandbox.py, marker audio_sandbox, deselected by default) run only through python -m tests.spikes.audio.run_sandbox_tests, which re-executes under bwrap.
  • T-029 KWin kit tests/kwin/prepare_m5e_gallery.py (/tmp/tess-kwin-m5e): run.sh on the real sound server (the checklist marks every line that changes the real volume, mute, default output or microphone mute and asks to note and restore them), run-fake.sh on a private fake server, audio-set.sh (words in any order, unknown words refused), audio-server.sh away|back, one checklist.txt; tests/test_gallery_m5e.py runs every command line against the fake.
  • check --json and version --json now carry config_dir, the folder the answer is about (--config-dir, else the XDG one). Recorded outputs of schema --json (1.1), check --json (a clean folder and one with a finding) and version --json are in tests/fixtures/cli/ for tools that never run the shell (the configuration application); tests/test_cli_fixtures.py fails when one no longer equals what the command prints (rewrite with python -m tests.cli_fixtures). status --json has no fixture: status is not built yet.
  • Test: a module that echoes the typed text back (Text: {{ value }}) does not make typing after Home jump to the end (tess-ui found that tre's set(text=<what the input holds>) moves the caret). The binder already skipped an equal set on both paths (the property update and the keyed rebuild); tests/test_textfield.py now pins both with Home, two typed characters and an echo after each, and fails if either guard is removed. The shell does not rely on tre making an identical set a no-op.

  • T-030 Bus.own_name(name) / release_name (services/bus.py): the shell owns a well-known name (DO_NOT_QUEUE), asks again after a reconnect through Bus.on_reconnect, one warning if it was taken meanwhile. For the shell's own services only: ctx.dbus has no way to take a name (tested). A call argument of type v is written ("s", "") so a module needs no dbus_fast.

  • T-030 services/icons.py and ctx.icons (theme_icon(name, size, theme_path), pixmap_icon, png_icon): the freedesktop icon theme lookup (index.theme, Inherits, hicolor, /usr/share/pixmaps, an item's IconThemePath; SVG preferred, else the png nearest above the size; the user's theme from kdeglobals), each theme chain indexed once, a lookup after that reads no folder (cache by name, size, theme path and the file's modification time), ARGB32 pixmaps to RGBA. The result is an SVG document or pixels:<digest>, decoded pixels the binder registers (ImageCache.register) and a Bitmap's Source and an Icon: slot accept; never a path. Shared later with Tasks and the launcher.
  • T-030 services/tray.py and ctx.tray.on_host: the shell is a second StatusNotifier host: it owns org.kde.StatusNotifierHost-<pid> (-<pid>-1, -<pid>-2 when taken, then one error), registers it with the watcher and again when the watcher or the bus comes back, never starts a watcher (one warning with none), gives the name up with its last subscriber.
  • T-030 Tray module (shipped/Tray, Tray_Item, Tray_Menu): one icon per item in the order of registration, Passive hidden unless show_passive, the attention icon and the :selected look for NeedsAttention, tooltip, Activate, SecondaryActivate (middle click), Scroll (wheel, Qt units), ContextMenu when there is no menu, an ItemIsMenu click opens the menu, New* signals followed by a fresh read, an item that loses its name is removed, empty and hidden with no watcher; the item's com.canonical.dbusmenu is drawn by the shell in the Popups Tray_Menu, Tray_Menu_2 and Tray_Menu_3 (three levels, labels without mnemonics, separators, check and radio marks, disabled, shortcuts, icons; AboutToShow and GetLayout before the first draw; Event(id, "clicked") once and the menu closes; LayoutUpdated rebuilds the open menu; an item that leaves closes it). Icon files are read on a worker thread.
  • T-030 On_Middle_Click (a middle press and release on the block; event.button == "middle" and the pointer's position); ctx.call_soon(fn) and ctx.is_popup_open(name) for a module whose work ends on another thread; MenuItem has a param Id (a text a submenu reads as caller.use.params.Id).
  • T-030 fixes found with the menu: a key written on a module call inside a For (MenuItem { Enabled: {{ e.enabled }} }) now reads the entry's variables; a submenu opened from a row of a For has that row's use as caller.use (it was the for prefix of the block id).
  • T-030 tests: fake_sni.py (a fake watcher, items and dbusmenu on a private bus), icon_theme.py (a temporary theme folder), test_icon_service.py, test_dbus_own_name.py, test_tray_host.py, test_tray_module.py, test_tray_idle.py (5 s in the suite, 60 s under perf: no wake-up), test_tray_live.py (private sway and its virtual pointer), test_icon_refs.py. KWin kit tests/kwin/prepare_m5f_gallery.py (/tmp/tess-kwin-m5f): run.sh on the real session bus (the checklist marks every line that calls a real application or runs a real menu entry), run-fake.sh on a private bus with tests/kwin/fake_tray.py, tray-set.sh (words in any order, unknown words refused), one checklist.txt; tests/test_gallery_m5f.py runs every command line against the fakes.
  • Fix: the audio service no longer lets an EARLIER step's echo from the sound server clear the written volume (a fast run of steps could start the next step from a stale value and end off); the written volume stays the base until the server shows it or one second passes (an intermittent failure of test_steps_that_come_before_the_servers_event_add_up in full runs).

  • T-028 range checks: (1) a value that arrives through a theme token is judged by the range of the key it fills: model/look._ref_value passes the key to coerce, so Opacity: $space.step_1 (2) or Font_Weight: $x outside 1 to 1000 is a bad-token finding at the use site, Opacity: $space.step_1 cannot be used here: expected a number, from 0 to 1, found 2, with defined at <theme file:line> as its hint, in check and when the look resolves (the key keeps its default); the Light/High_Contrast overrides are the same tokens, so they go through it too, and the theme reader already judges a token written under a key of its own (Font_Weight). tests/test_token_ranges.py also resolves every token that the shipped stylesheets, styles and modules use, in every mode of the Default theme: none fails. (2) The Peek (Size 1 or more; delays; Handle_Opacity 0 to 1), an Edge's Thickness, a Frame border's Width and a Shadow's Blur are checked by schema/ranges.py too (keys listed as Peek.Size, Edge.Thickness, Border.Width, Shadow.Blur, ranges.scoped), with its wording (Size: expected a number, 1 or more, found 0); the in-place checks and the export-only kinds peek_size, non_negative, non_negative_ms are gone. A Panel's Inset stays negative-capable. tests/fixtures/cli/schema.json regenerated.

  • Expander On_Changed (M4 owed item): a call of the Expander may write On_Changed; it is raised when an opening or a closing has finished (event.value is true when open; event.old, event.new), also when the module's own value changed Expanded; with nothing to ease (reduced motion, Duration: 0) it is raised at once; an opening reversed half-way raises only the finish that happens. New layout key Reveals: OPEN | CLOSED | NONE (module layouts only, no tre property; binder.controls.Expand), schema export and fixture regenerated.
  • T-035 control interface (server): services/control.py exports io.github.mindderivative.TesseraeShell / /io/github/mindderivative/TesseraeShell / ...TesseraeShell1 on the dbus thread (methods Reload, Quit, Status, Show, Hide, Toggle, ClosePopup, Call, SetLogLevel; properties State, Version, ApiVersion; signals Reloaded, ErrorReported, SurfaceChanged). The name is taken with Bus.own_name (DO_NOT_QUEUE); an owned name means another shell runs and the shell exits 4; a reconnect exports and asks for the name again. A handler never touches a node: it queues the command to the loop with call_soon and waits five seconds (a stuck loop answers with the Timeout error); Quit also stops the engine from the service thread. Settings { Control: false } (new key, default true) exports nothing; the settings docs table and the schema export (1.1) list it.
  • T-035 commands (loop side, commands.py): Status is names, kinds and flags only (never a param value or a log line); Show/Hide/Toggle on a Panel, a Frame or a melded Panel by Name, idempotent, a Bar cannot be hidden, an unknown name or a Popup is an error with the nearest names; Call runs only @action methods with the signature binding of Call (ModuleHost.call_action) and names the module in every error; SetLogLevel through logging.set_level (kept until the next settings.tdl logging change); Reload (Reloader.prepare/apply_for_control) answers after the apply with the errors; SurfaceManager.on_surface and logging.finding_sinks feed the SurfaceChanged and ErrorReported signals.
  • T-035 client (client.py, jeepney added to the dependencies): tesserae-shell reload|quit|status|show|hide|toggle|call|log-level with --timeout; exit codes 0, 1, 2 (no session bus), 3 (no shell is running), 5 (timeout), 4 for a second run; with --json an error is {"ok": false, "error": ..., "exit": N} on standard output. A test lists the modules a reload imports (no tess_re, loguru, tess_dl, tess_el, dbus_fast) and measures toggle end to end.
  • T-035 fixtures for tess-ui: tests/fixtures/cli/status_running.json (recorded from a real shell on a private sway and bus) and status_not_running.json ({"ok": false, "error": ..., "exit": 3}); the staleness test covers both.
  • T-035 tests: test_control.py (introspection, loop handoff, timeout, name taken, reconnect, signals), test_client.py, test_control_live.py (a real shell on a private sway), test_control_idle.py (zero wake-ups, 5 s, 60 s under perf).
  • T-039 Event.rect: a pointer event (On_Click, On_Secondary_Click, On_Middle_Click, On_Scroll) gives the module's action the block's (x, y, width, height) on the OUTPUT (None for a block inside a Popup); ctx.popup(name, data, anchor=event.rect) opens a Popup beside that rectangle, so a module can anchor to one block of its own For entries. The Tray menu now opens beside the clicked icon and Activate, SecondaryActivate and ContextMenu get the icon's centre on the output.
  • T-039 a Popup's Max_Height takes a percentage of the output's height (above 0, at most 100; a pixel value works as before; Max_Width still refuses one); the schema export lists percent_min, percent_max and percent_min_exclusive for it.
  • T-039 shipped default Popups (schema/default_popups.py): a Monitor that shows Tray gets Tray_Menu, Tray_Menu_2 and Tray_Menu_3 (Max_Height: 60%), one that shows Audio gets Audio_Outputs, so a shell file writes none; a Popup of the same name in the file replaces the shipped one whole. The KWin kits of Audio and Tray write no Popup, and each has run-override.sh to try the override.
  • T-039 ErrorReported for module exceptions: an action, a control Call, a D-Bus callback, a service hook, a tick or a ctx.call_soon callback that raises is logged as before and also reaches the control interface as ErrorReported("module-exception", file, line, "<Module>: <where> raised <Type>: <message>") (the file and line are where it was raised), once for each distinct error a minute; Status lists it among the last errors.
  • T-039 a Popup of 100 module entries opens in about 85 ms instead of about 130 (LiveTree compiles each slot expression once for the entries of a For; the host tells a module of new entry uses without comparing every use it has).
  • T-042 the cheap measure of a menu (surfaces/popup_measure.py): a Popup whose content is a column of uniform rows (the Tray menu, the Audio outputs menu) is measured from ONE built row of each kind (a row's blocks and keys, not its texts) plus Window.measure_text for the words, instead of building every row a second time in the meter window; the numbers are EXACTLY those of the full pass (tests/test_popup_measure.py pins it for 1, 5 and 100 entries, separators, icons, shortcuts, submenu arrows, disabled rows, a long label, a taller-than-the-popup menu and the Audio outputs), and anything else (a hand-written Popup, a menu with spacing, a border, a fixed size, a label wider than the Popup) takes the full pass. The measure of 100 entries went from about 48 ms to 3 ms.
  • T-042 schema 1.2 (additive): schema --json has a popups section listing the Popups the shell provides (the Popup's name, the module that brings it, its content module, placement keys, Max_Height as written) and which Monitors get them, derived from schema/default_popups.py.
  • T-042 ErrorReported(rule, file, line, message, module): the signal carries the module's name as a fifth field (empty when the error is not from a module's code); Status lists module in each last error and status prints it; a finding from a module's code is a ModuleFinding (check --json is unchanged).
  • T-047 key strings (schema/keys.py, pure): modifiers and one key joined by + (Ctrl+Alt+Shift+Meta+Key is the written order; any case and order is read), key names Enter Escape Tab Space Backspace Delete Insert Home End PageUp PageDown Left Right Up Down F1..F24 Plus, a letter, a digit, the media and hardware keys by their X names without XF86 (AudioRaiseVolume, MonBrightnessUp, ... 64 hardware and media names, 143 key names in all), and the aliases Return Esc Del Ins PgUp PgDown and the XF86 forms (read, never written). parse_chord gives the Qt key integer (modifier bits OR-ed with the Qt::Key value); every number is pinned by a test to Qt's own qnamespace.h when it is installed. An unknown name or a malformed string is a value error with file:line:column naming the nearest known name.
  • T-047 Shortcuts { } in settings.tdl: Enter_Shortcut_Mode, Exit_Shortcut_Mode, Set_Shortcut_Mode, Next_Focus, Previous_Focus: "keys" (their behaviour is built with the focus work, a press of one says "not built" at debug), Toggle_<Name>, Show_<Name>, Hide_<Name>: "keys" for a Panel, Bar or Frame (a name that matches none is a load warning naming the nearest, and the shortcut is not registered; a Popup is refused: no key opens one), and <Any_Name> { Keys: "keys", Action: Toggle | Show | Hide | Call, ... } with the handler form of Events and Actions (the Call argument check applies). Panel { Shortcut: "keys" } is a Toggle_<Name> entry and Bar { Reveal_Key: "keys" } (now built) a Show_<Name> entry; when both are written the entry wins with one warning. Two actions with the same key (any case, order or alias) are one warning naming both with file:line:column, the shell starts and neither gets the key. Settings { Global_Shortcuts: false } (default true) makes no call to the desktop's shortcut service at all. tesserae-shell check reports all of these.
  • T-047 the shell's shortcuts with KDE's service (services/shortcuts.py, on the dbus thread): the component tesserae-shell ("Tesserae Shell") of org.kde.kglobalaccel; each action doRegister then setShortcutKeys with the active keys and flag 2, then the default keys and flag 8 (never NoAutoloading, so a key the user changed survives); an empty answer for a requested key means the desktop owns it: the action stays registered with no key and one warning names it; getComponent gives the object path, globalShortcutPressed is mapped to the same command as Toggle/Show/Hide/Call on the loop thread (ShellCommands.press; the five fixed actions go to a fixed_actions table other parts fill), a press while starting or stopping or for an unknown action is dropped, release and repeat are ignored; yourShortcutsChanged is followed; an owner change of the service registers again; at start the component's actions the shell no longer declares are unregistered; a stop makes every action inactive and keeps the component and the keys; no service is one warning and the commands still work; idle: no timer, no wake-up.
  • T-047 hot reload applies Shortcuts and the surfaces' keys with no restart: a new action is registered, a changed key replaced (unregistered and registered again), a removed action unregistered, an unchanged one untouched; an invalid new block refuses the reload with its findings and the old registrations stay; Global_Shortcuts true to false makes every action inactive and drops the subscriptions, false to true registers as at start.
  • T-047 schema 1.3 (additive): the key_chord kind (the modifiers in the written order, the key names by group and the aliases are in kinds.key_chord), Shortcut on a Panel and Reveal_Key on a Bar as built keys of that kind, Shortcuts and Global_Shortcuts in settings, and a shortcuts section with the entry forms.
  • T-047 tests: a fake org.kde.kglobalaccel on a private bus (tests/fake_kglobalaccel.py), the service, plan, live (private sway), idle and reload tests, and the hand-check kit tests/kwin/prepare_m6c_shortcuts.py (/tmp/tess-kwin-m6c: backup first, the only place the real service is touched).
  • T-053 the fake org.kde.kglobalaccel has the signatures the vault session read from the real service (read-only introspection): unregister answers b, allShortcutInfos is a(ssssssaiai), and setShortcut (older, as ai u -> ai) and globalShortcutAvailable ((ai) s -> b) exist; isGlobalShortcutAvailable takes one key and the component name. dbus-fast finds a method by name and signature, so a call with another signature finds no method (tests/test_fake_kglobalaccel_signatures.py calls every member with a right and a deliberately wrong signature). The client already sent the real signatures; nothing in it changed for them. The fake exports one allShortcutInfos (dbus-fast cannot export two signatures of one name; the real one also takes an s).
  • T-053 an empty answer of setShortcutKeys is no longer reported as taken at once: the shell asks isGlobalShortcutAvailable(<the key>, "tesserae-shell") once for each such key. A free key is the user's own clearing in System Settings (which autoloads as an empty answer): a debug line, no warning, the action stays registered with no key. A key that is not free is the existing warning. A call that fails gives the warning with "could not be checked" appended.
  • T-053 a Call shortcut loads its module (an instance with no use) when no surface uses it, started once, shared with a surface that uses it, and stopped at a reload when neither a surface nor a shortcut names it (shortcuts.shortcut_modules, planned in app.py and the reloader like the modules of a For). A missing action or a bad argument is still a load finding.
  • M6a focus (T-041): Focusable and Tab_Index (0 to 2147483647, a load error with file:line:column outside it) on blocks, and Tab_Index on Bar, Panel, Frame and strips; a block with an interactive role (BUTTON, CHECKBOX, RADIO, SWITCH, SLIDER, LINK, TAB, and LIST and MENU, one stop each: their entries are reached by the arrow keys of M6b), Toggles or Slides and a TextField's text input is focusable by default, a disabled block is not. tre walks Tab and Shift+Tab; the binder ranks the Tab_Index blocks (View.reindex, held in memory, remade at each load and reload). Every shipped widget is one Tab stop, however many nodes it is made of (tests/test_focus_shell.py, tests/test_focus_modules.py: Button, Toggle, Checkbox, Slider, TextInput, TextEditor, List, Menu, Tray_Item, the Workspaces, Media and Audio controls); Label, TextBox, Badge, Icon, ProgressBar and Marquee_Text take none.
  • The focus ring: the style state :focused is built (keyboard focus only; a click focuses with no ring). A focusable block that takes Shadows gets, under any :focused rule, a ring of one non-blurred shadow in the theme's color.primary, space.step_1 thick, so it does not shift the layout. A ScrollBox now takes Shadows and Elevation (a List is one, and shows the ring). A Text, SVG, Spacer, Bitmap, shape or Marquee takes no Shadows and so shows no ring: put Focusable on a Box, FlexBox or Rectangle around it. The shell's DEBUG log says focus: <block id> '<label>' (ring | no ring) at each focus change.
  • The content of a closed Expander is hidden (visible false) when the closing has finished, and shown again the moment it opens, so a Button or a text field in it is no Tab stop while it is closed; focus that was inside when the content hid goes to the Expander's own block (no key reaches a hidden field; the next Tab starts at the first stop). View.tab_stops() leaves out a block under a hidden block.
  • A reload keeps focus on a block that is still there (the keyed diff keeps its tre node, also when a For list reorders) and Tab then follows the new order; when the focused block is gone nothing is focused and the next Tab goes to the first stop (Shift+Tab to the last).
  • A reload that changes a Bar's or Panel's Keyboard, or adds or drops a TextField in it, now reaches the live window (it was only read when the window was made); a hidden Panel keeps none until it is shown.
  • A Popup opened from a focused block returns focus to it when it closes (Escape, outside click, selection, compositor dismissal); one opened from the keyboard also focuses its first Tab stop.
  • A Bar takes Keyboard: NONE | ON_DEMAND (it was not built); the surface manager keeps the shell's surface order by Tab_Index and moves the focus bookkeeping to the next surface when the one with focus closes. On the private sway a click gives a Bar with Keyboard: ON_DEMAND the keyboard, Tab and Shift+Tab then move the ring in Tab_Index order, and a Bar with Keyboard: NONE is given no key (tests/test_focus_live.py, a virtual pointer and wtype).
  • Fix (T-058): test_a_restart_of_the_service_registers_again_and_the_keys_work failed about one run in five. After the shortcut service restarts, the shell registers its actions again and subscribes to the press signal only at the end, so a key pressed as soon as the action showed as present was lost. The shell now logs shortcuts: registered again: N of M actions, listening for keys when that is done, and the test waits for it.
  • GitHub Actions CI (.github/workflows/ci.yml): lint (ruff check, ruff format --check on src and tests, mypy) and test (the full suite on ubuntu-24.04 with a headless sway, wtype, grim, dbus-daemon and Mesa's software Vulkan) on every push to main and every pull request. tests/test_display_widgets.py was reformatted so the format check passes.
  • Fix (T-045, the flaky Media tests): Bus.watch_prefix could lose a player. ListNames was answered without a player that came up a moment later, its NameOwnerChanged was handled before the list's own reconciliation, and the list then removed the name again, so the module never saw the player (found as 10 failures in 1200 runs of test_a_pause_keeps_the_position_... under 96 busy loops, where the player is started after the shell: the assertion that status becomes PLAYING timed out with the module's player table empty). A signal is newer than a list in flight: the names a signal set while the list is being read (_Prefix.touched) are neither added nor removed by it. Deterministic tests with a stub connection (tests/test_dbus_prefix.py) fail on the old code.
  • Fix (found by the first CI run): a SIGTERM or SIGINT that arrived while the shell was starting killed it outright (exit -15, no clean stop, no stopped line), because the signal handler was installed at step 9 and starting is logged at step 4. A small EarlyStop handler is installed first thing in run(): it holds the first signal and the normal stopper acts on it as soon as it exists; a second signal still forces an exit (130), so a start that hangs can be interrupted; it is removed on every return path. An early Ctrl+C is now a clean stop like a later one (it was an immediate exit 130). test_signal_right_after_starting_still_stops failed 18 runs of 20 on the old code under 48 busy loops and passes 20 of 20 now.
  • Test fix (found by CI): test_global_shortcuts_false_makes_no_call_and_a_reload_turns_it_on_and_off read the shell's log FILE right after the console showed running; the console and the file are written by two queued sinks (enqueue=True), so a line logged just before running could still be waiting for the file. Shell.wait_log waits for a line to reach the file; the two checks that read it while the shell ran use it, and a negative check in test_control_live.py reads the log after the shell has ended. Under 48 busy loops the test failed 2 runs of 20 before and passed 20 of 20 after.
  • CI and release, rebuilt to the gh-cicd baseline: every action pinned to a commit SHA (with Dependabot to keep them current), read-only permissions, no stored credentials, concurrency that cancels only pull-request runs, paths-ignore for the generated docs/, uv sync --locked. The suite runs in 4 parallel shards with pytest-split (a dev dependency; .test_durations holds the measured time of each test), about 3.5 minutes instead of 10.5. The real-pointer live tests, the busctl gallery tests and the German-locale Clock test no longer skip on the runner (tre's virtual-pointer helper is fetched at the pinned engine release, with pywayland); -rs prints every skip reason. A package job installs the wheel alone and runs tesserae-shell version. CI result is the one check to require. release.yml, for a vX.Y.Z tag: runs the same CI on the tagged commit, checks the tag, the wheel version and the changelog agree, and makes a GitHub Release with the wheel and the sdist. It does not publish to PyPI: the wheel is a linux_x86_64 platform wheel (it carries a compiled tess_utils) and PyPI accepts only manylinux or musllinux tags, which is the M7 packaging decision.

  • T-050 shortcut mode (M6d, Focus and Keyboard > Shortcut Mode): the maintainer's seven rules as a pure state machine (surfaces/mode.py: one surface is in the mode or none, and one has the focus; Enter_Shortcut_Mode puts the Frame, else the first surface, in it with the focus on the default surface; setting one true sets every other false; false on the one in the mode turns the whole shell off and does not go back to the Frame; Set_Shortcut_Mode toggles the focused surface; Next_Focus and Previous_Focus go round the surfaces in Tab_Index order while the Frame has the mode and do nothing elsewhere) and surfaces/mode_driver.py, which applies each change to the windows: the surface that has the focus takes the keyboard (EXCLUSIVE for the length of the mode, Debug { Mode_Keyboard: ON_DEMAND } for a compositor that hands focus over after a global key) and has its written Keyboard back when the mode moves on or ends (a reload no longer sets a held window's keyboard); a Frame in the mode shows every peek (melded Panels and strips) at once and sends back the ones it brought out (Hide_After, the hover and the trigger do not hide them meanwhile); the focus ring starts on the first Tab stop of the surface; entering, each move and leaving set a polite status (a hidden text node with live: polite); a surface that closes or hides passes the focus on, and ends the mode if it had it; a surface that is not made active by the compositor within 1500 ms is one warning.

  • T-050 Shortcut_Mode: true | false (default false) on Bar, Panel, Frame and strip (Edges { Top { Shortcut_Mode: true } }); a melded Panel and a Popup take none (errors). Two or more written true are ONE warning naming each with file:line:column, and the first in document order keeps it; the shell starts in the mode on that surface. A reload that writes a surface newly true moves the mode to it (rule 1), newly false on the one in the mode turns it off (rule 2), and a reload that changes nothing leaves what the run made.
  • T-050 the five fixed actions run (ShellCommands.fixed_actions is filled: it was empty and a press logged "not built"). Only Enter_Shortcut_Mode is registered with the desktop with its key: the other four (Exit_Shortcut_Mode, Set_Shortcut_Mode, Next_Focus, Previous_Focus) are declared with no key (a key registered globally is a key taken from every application) and the keys written for them arrive as key events on the surface that has the keyboard (Escape leaves the mode when the Frame has it); a key the user binds to one in the desktop's own settings runs it too. Shortcuts keys are read again at every reload.
  • T-050 ctx.focus for modules (loop thread): ctx.focus.default = "Dock" (the surface that has the focus when the mode is entered) and ctx.focus.set_mode("Dock", True); a name that is no surface is one logged error with the module and the nearest names.
  • T-050 Debug { Mode_Keyboard: EXCLUSIVE | ON_DEMAND } in settings.tdl (a restart applies it). Schema 1.4 (additive): Shortcut_Mode on Bar, Panel, Frame and Edge, and Debug.Mode_Keyboard; the docs of the five Shortcuts keys say which act inside the mode only.
  • T-050 tests: the state machine (tests/test_shortcut_mode.py, 40 table tests), the manager with a Frame, two peeks, two Panels and a Bar (tests/test_shortcut_mode_shell.py, tests/mode_rig.py), the loader and its warning (tests/test_shortcut_mode_schema.py), the five actions and ctx.focus (tests/test_shortcut_mode_api.py), a private sway with wtype and the fake kglobalaccel on a private bus (tests/test_shortcut_mode_live.py), and the hand-check kit tests/kwin/prepare_m6d_mode.py (/tmp/tess-kwin-m6d, checked by tests/test_kwin_m6d_kit.py). test_the_five_fixed_actions_go_to_a_hook_table... of T-047 now empties one hook before it checks "not built" (the table is filled).
  • Test fix (found when CI began to run the real-pointer live tests): on the runner's compositor (sway 1.9 on wlroots 0.17) the mouse cursor is drawn into a grim screenshot, and on sway 1.12 it is not. In test_media_live.py the cursor sat on the bar and added its pixels to the count of text-coloured pixels; in the peek-drag tests its tip covered the contour edge the test searches for at x = 100. The Media test now parks the pointer in an empty corner before it measures (the look at rest is what it compares), the peek tests read the contour at x = 150, clear of the cursor, and the Media test waits up to 30 s for the first frame (the runner took several seconds). Found by saving the runner's screenshots from a scratch workflow.
  • Test fix (found by CI): test_plugging_and_unplugging_an_output_opens_and_closes_only_its_windows waited for the log line closed (output_removed), which appears only when the compositor's event reaches the window before the shell has closed it; on a slower machine the shell closed the windows first (closed (app)) and the test timed out. Both orders are correct. The test now waits for the shell's own record of closing exactly the windows of the removed output.
  • Test fix (found by CI): test_calling_another_popup_replaces_the_open_one_on_a_real_compositor waited 5 s for the second popup's colour. On a fresh CI machine the first graphics work is slow (5 runs of the test alone in fresh processes: the first took 16 s and failed, the next four 2.8 s each), and the test failed only when the shard split happened to put it first. wait_for_shot is an upper bound of 30 s now.
  • Fix (found by CI): a Popup closed before the compositor had placed it stayed on screen for good. tre's PopupWindow.close() does nothing until the popup has a window id, which it gets when placed, so a replaced or toggled popup that was closed a few milliseconds before its configure was never destroyed (on a cold CI machine the first popup of test_calling_another_popup_replaces_the_open_one_on_a_real_compositor was closed 4 ms before it was placed, and its red body covered the second popup's green). The shell now remembers the close and makes it when configure arrives. tre's side is for the maintainer to report: close() should not be silent.
  • M6b keys of the widgets (T-048; Standard Modules > Keyboard Operation): a Button takes Enter and Space (:pressed and the accessibility state pressed show while the key is held, also for a pointer press; a focus lost with the key down ends it); a Toggle and a Checkbox flip on Space and ignore Enter (tre clicks the focused block for both: the control remembers an Enter, and a repeat of a held Space, from the key_down before the click and takes neither); a Slider takes Left/Down and Right/Up (one Step), Page Up and Page Down (ten), Home and End, each moving key raising On_Changed and then at once On_Released with old the value before the step (a key at an end raises nothing); a List (Selection: SINGLE) takes Up, Down, Page Up, Page Down, Home, End, Enter and Space and typed letters (a search ends a second after the last letter, a space inside one is a letter of it), each move being a choice with On_Changed and scroll_into_view, a disabled entry passed over. A Menu in a Popup takes Up and Down (round the ends, the lit row shows the :hovered look, Wire.active), Home, End, Enter and Space, Right (opens the submenu of the lit row and lights its first row) and Left; Escape closes the innermost level and the first menu gives the focus back to its opener; the pointer on a row takes the light from the keys. A control listens for key_down on its block (Control.takes_keys): tre then gives it every key, so the arrow keys do not scroll a ScrollBox around it. A key with Ctrl, Alt or Meta is never a widget's. A disabled block takes no key even if it is given the focus.
  • The Button module takes Expandable and Expanded: a Button that controls an Expander carries the accessibility state expanded (Expandable: true, Expanded: <| open |>); without Expandable it says nothing. The M4b gallery's Toggler module now controls its Expander with such a Button (it was a plain box, no Tab stop).
  • The click path of a block is View._run_click: a control may refuse a click (Control.accepts), and View.activate runs it with no pointer (a menu row chosen with Enter). tests/widgets_live.running takes a whole shell body and a home surface, so a gallery's real shell text is operated headless.
  • tests/test_keys.py operates the M4a, M4b and M4c galleries by key events only, one test a widget (Button, Toggle, Checkbox, Slider, List, Menu with submenus, TextInput, TextEditor, Expander) and the cases around them (type-ahead, a rebuild, a value from the module, modifiers, a disabled block). tests/test_keys_live.py Tabs to a Button and a Slider on the private sway with a virtual pointer and wtype and sees the module's actions. Not tested, on purpose: Ctrl+C, Ctrl+X and Ctrl+V, because tre's clipboard is the operating system's even on a headless window. The one criterion that fails today, Tab leaving a multi-line TextEditor, is xfail(strict): tre types a tab character and has no property that lets Tab through.

  • T-044 portal settings (M5h, H1 and H2): the Settings portal reader asks for org.freedesktop.appearance and org.gnome.desktop.interface in the one ReadAll and follows SettingChanged for icon-theme, font-name and enable-animations (a missing, odd or wrong-typed key is that key's default and the others apply; Appearance.Follow_Desktop: false still reads nothing). Appearance gains icon_theme, font_family and animations, and motion_reduced (reduced-motion key OR enable-animations false), which every consumer of reduced motion now reads: durations 0, no Marquee scroll, no Panel or Frame animation. The icon service takes the portal's theme before kdeglobals and hicolor (IconService.set_portal_theme); ctx.icons.on_theme_changed(callback) tells a module that the theme changed, and the shipped Tray makes its icons again. The theme token type.system.font_family holds the family of font-name (Hack Nerd Font 10 gives Hack Nerd Font; a generic sans-serif while the desktop names none; a theme that sets the token itself keeps its own value; the shipped theme does not use it). Tests: tests/test_portal_settings.py, the fake portal serves the new namespace (tests/fake_portal.py), one live path in tests/test_portal_live.py.

  • Global shortcuts, two answers: a Frame takes Shortcut: "<key>" (typed and checked like a Panel's: a bad key is an error at the key with file:line:column; the same action as Toggle_<Name>, so it joins the conflict warning and a Shortcuts entry for the same action wins with one warning; it is registered and changed at reload like the others). Schema 1.5 (additive: Shortcut on Frame, surface_keys.Frame). A Call shortcut that names a module no surface uses loads and starts that module (an instance with no use; built in T-053), and one that names no module is still an error at its entry; tests added for both (tests/test_shortcut_frame.py, tests/test_shortcut_plan.py).

  • PyPI release path (Trusted Publishing is set up on PyPI for release.yml, environment pypi): the wheel is tagged cp314-cp314-manylinux_2_36_x86_64 instead of linux_x86_64 (PyPI accepts only manylinux tags), and a pypi job in release.yml uploads the built files after the build and before the GitHub Release (a refused upload leaves no public release), with no stored token and the environment's reviewer approving. auditwheel show in the CI package job checks that the tag is what the vendored tess_utils needs: it is consistent with 2_36 and nothing older, because the file asks for GLIBC_ABI_DT_RELR (glibc 2.36) besides glibc symbols up to 2.14; a first reading with objdump -T missed that. Users need glibc 2.36 or newer (Debian 12, Ubuntu 24.04, Fedora, Arch; not Ubuntu 22.04). A lower tag needs tess_utils rebuilt in an older manylinux image (the tess-utils repository). Nothing is published until the maintainer pushes a v* tag.

0.1.1 - 2026-11-15

  • Release fix: the GitHub Release step of release.yml failed for v0.1.0 because the changelog section used as the release body was 144,000 characters and GitHub allows 125,000 (PyPI had already been published; the GitHub Release for v0.1.0 was made by hand). A section over 100,000 characters is now cut to its first 40 lines with a link to the whole of it at the tag.
  • CI: paths-ignore is removed from ci.yml. CI result is a required check on main now (a repository ruleset), and a pull request whose changes were all ignored would never get the check and could not merge. Pull requests that only change Markdown or docs/ run the full suite (about 5 minutes) as a result.
  • The shared converters come from PyPI now: tesserae-utils[image]>=0.2.1,<0.3 is a dependency (import name tess_utils), and the carried compiled file is gone (src/tess_shell/_vendor/, tools/vendor_utils.py, hatch_build.py and the tests of the sync tool). The wheel is pure Python (py3-none-any) instead of a manylinux_2_36 platform wheel, so it installs on any glibc and any CPython 3.14 and the auditwheel step of the CI package job is removed. tesserae-utils 0.2.1 is the pure-Python build; the compiled one raised TypeError for a wrongly typed argument where the source does not, and the shell's own checks never relied on that. The converter tests that lived in tests/test_vendor.py are in tests/test_converters_tess_utils.py.
  • tre 0.6.8 (tesserae-engine>=0.6.8,<0.7): a multi-line TextEditor now sets tab_navigates, so Tab and Shift+Tab leave it like every other widget instead of typing a tab character and trapping a keyboard user (TRE-REQ-018; the strict xfail of test_texteditor_tab_leaves_the_field is gone and the test passes). The workaround for a Popup closed before the compositor placed it (v0.1.0 line above: the shell kept the close until configure) is removed, because tre closes it itself now (TRE-REQ-019; tre's PopupWindow.close() remembers the close and makes it when the popup is placed); its two unit tests went with it, and test_calling_another_popup_replaces_the_open_one_on_a_real_compositor is the live check.
  • Shortcuts: the shell logs at debug, for each action it registers, the keys it asked for and the keys the service said it set (shortcuts: Toggle_Launcher: asked for [...], the service set [...]), and one INFO line when the service uses another key than the file writes. The hand check on KWin (line 11 of the M6c list) wrote Ctrl+Alt+Del, which KDE's Log Out owns, for a shell action and saw no warning and no effect: the service had applied the key saved by earlier runs (autoloading, as designed: the file gives only the default), and nothing said so. tess_shell.schema.keys.qt_text turns the service's key integers back into text.
  • Shortcuts, a key the desktop owns (found by the maintainer's hand check on KDE): the real kglobalacceld does not refuse a key another component owns, it hands it over. With a fresh component the shell asked for Ctrl+Alt+Delete (KDE's own Log Out), the service set it, nothing was warned, and the shell held a key the desktop uses (while isGlobalShortcutAvailable said it was not free). The shell now asks isGlobalShortcutAvailable(key, "tesserae-shell") for each chord before it registers an action (also at a reload that adds or changes a key), once for each chord in a registration: a chord that is not free is never sent to setShortcutKeys, the action is still registered with no key, and one warning names the action and the key (the key X is taken by the desktop or another application: the action is registered with no key (choose one in System Settings)). A free chord is requested as before, and a free chord that comes back empty is still the user's own clearing (debug line, no warning). A check that fails does not block the request: the key is asked for, and only an empty answer gives the warning, with ; could not be checked (...). tests/fake_kglobalaccel.py now behaves like the real service (it sets a key another component owns; only the availability call says it is not free), and the tests that relied on the old fake assert the new behaviour.
  • Test fix (found by CI): test_a_scheme_change_on_the_bus_reaches_the_bar_within_100_ms failed in 3 pushes to main and 2 debug runs (623 to 1076 ms against the 100 ms budget). Splitting the time with the shell's own log showed the look takes 0 to 1 ms in every run, passing or not, and the whole wait is before the portal reader sees the signal; 36 runs of the same shard measured 2 such waits, and a further split (the test's own portal.set call versus the shell's reader) showed 0 ms and 0 ms in 16 passing runs, so the cause of the occasional wait is not known. The test now makes five changes and the budget has to be met by the best of them (as the Tray menu test does), while every change must still arrive within 3 s; the failure message lists all five times.

0.1.2 - 2026-11-16

  • Docs site: docs/ (the design vault's generated export) is built with MkDocs and Material and deployed to GitHub Pages at https://mindderivative.github.io/tess-shell/ by .github/workflows/docs.yml when docs/, mkdocs.yml or the workflow change on main. mkdocs.yml is new; the docs dependency group (mkdocs, mkdocs-material, mkdocs-github-admonitions-plugin) is new and locked. The export writes GitHub alerts (> [!NOTE]), which Python-Markdown does not render and markdown-callouts does not read in that form, so mkdocs-github-admonitions-plugin turns them into admonitions (340 across the 111 pages); the notes' status: front matter shows as an icon with a label beside each page in the navigation. A docs job in CI builds the site with mkdocs build --strict on every pull request and CI result requires it, so a broken export fails before the merge. docs/ and tools/sync_docs.py are untouched.
  • Test fix (CI, once in about a dozen shard runs): test_tab_reaches_a_button_and_a_slider_and_enter_space_and_the_arrows_operate_them slept a fixed 2 s for the first layout before it clicked the Bar and typed; a slow machine that had not configured the Bar by then lost the click and the keys (the failure showed no focus change and nothing else). It now waits for the shell's own Bar Top on HEADLESS-1 configured line (up to 60 s) and then 1 s for the layout, and its failure message carries the tail of the shell's log. The cause of the one failure is inferred, not proven: the old assertion printed no log.

  • KWin hand-check kit for tre 0.6.8: tests/kwin/prepare_tre068.py writes /tmp/tess-kwin-tre068 (starts nothing; check.sh only runs tesserae-shell check) with run-tab.sh (a Panel with a TextEditor, a TextInput and a Button: Tab leaves the multi-line field, TRE-REQ-018), run-popup.sh (a Probe module whose two Bar Buttons open and close a red Popup in the same turn, once and 20 times: TRE-REQ-019), run-token.sh (a throwaway tre-only token_probe.py: one button that calls request_activation_token and starts the first installed konsole, kate or dolphin with XDG_ACTIVATION_TOKEN, only on click) and checklist.txt with the expectation tables of the vault's Hand Checks note. tests/test_kwin_tre068_kit.py covers the generator (files, well-formed scripts, both configs pass check).

  • tesserae-shell install-session (Packaging and Session Start, T-055): writes the desktop file io.github.mindderivative.TesseraeShell.desktop (to $XDG_DATA_HOME/applications) and the systemd user unit tesserae-shell.service (to $XDG_CONFIG_HOME/systemd/user) with the absolute path of the command that ran it; --print shows both and writes nothing, --enable also runs systemctl --user enable, --remove disables an enabled unit and removes both files, --force replaces a file with other content (without it the command names the file, changes nothing, exit 1), --json gives the object of the other commands. Both files are templates in the wheel (tess_shell/data/, package data: the wheel stays py3-none-any; a test builds it and lists them). Files are written to a temporary name and renamed; a second run changes nothing. The unit is Type=notify, Restart=on-failure with RestartPreventExitStatus=1 2 4; its StartLimitIntervalSec=60 and StartLimitBurst=5 are in [Unit], not [Service] as the note's draft had them (systemd ignores StartLimitIntervalSec in [Service], which systemd-analyze verify reports as an unknown key, so the draft would have limited restarts to 5 in 10 s). The command word is quoted for systemd (% doubled; $ doubled only in an argument, because systemd reads the program as it stands) and for the desktop file's Exec. The shell now tells systemd: with NOTIFY_SOCKET set it sends READY=1 once it runs (after the shortcuts are registered, just before the loop starts) and STOPPING=1 when the stop sequence begins, in one datagram each, path or abstract socket (tess_shell/notify.py, standard library only); nothing is sent when the variable is unset or when the bus name was taken (exit 4); the design note said the shell already sent them, it did not. tesserae-shell status warns (standard error; a "warnings" list in the --json answer, only when there is one; also when no shell is running) when the installed unit's ExecStart names a missing or non-executable path, a script whose interpreter is gone, or another install than the one running status. Safety (rule D-019): every path the command writes or removes goes through a guard that refuses the real ~/.config/systemd/user and ~/.local/share/applications while PYTEST_CURRENT_TEST is set (the real home is read from the password database, not $HOME), and the real systemctl runner refuses the same way; tests pass Targets in a temporary folder and a recording runner. tests/test_install_session.py maps the note's six acceptance criteria to tests (the unit passes systemd-analyze --user verify and the desktop file desktop-file-validate, each on a copy, skipped when the tool is missing), tests/test_notify_live.py runs a real shell against a private datagram socket, and tests/kwin/prepare_install_session.py writes the hand check for the maintainer's real session (/tmp/tess-kwin-install-session: backup, print, install, verify, stale warning, enable, after login, undo; it starts nothing).
  • Portal follow-ups (maintainer's answers of 2026-11-16 to the Portals open questions): (1) type.system.font_family holds Roboto while the desktop names no font, not the generic sans-serif; Roboto is the family tre's bundled font has and text uses when no Font_Family is set (the shell ships no font; a headless measure_text of sans-serif or an unknown family gives 0 x 0, so the old value would have drawn no text), and a theme that sets the token itself still wins. (2) One public reduced-motion flag: Appearance.reduced_motion is now the combined flag (the portal's reduced-motion key or enable-animations false); the single key is the private field _reduced_motion_key, read only by the portal reader; motion_reduced is gone and every caller (look, frame, manager, schema, tests) reads reduced_motion. (3) The schema export is version 1.6 (additive): a new system_tokens list names the tokens the shell supplies (type.system.font_family: name, ref, kind, default, doc, theme_wins), so tokens still equals the shipped theme's. (4) An open Tray menu takes the icons of a new icon theme in place: the Tray makes the entries' icons again on its worker thread and gives them to the open Popup with the new ctx.update_popup(name, data) (the Popup's caller.data is replaced, its content resolved again and diffed into the open window; it stays open, at its size, with no new read of the menu); a menu that is closed or on its way is unaffected.
  • M5g KWin integration and Tasks (G1 to G5): (1) the desktop-entry index (services/desktop_entries.py: .desktop files of XDG_DATA_HOME/XDG_DATA_DIRS read as the Desktop Entry Specification says, localised keys, Hidden/NoDisplay/OnlyShowIn/NotShowIn/TryExec, ids from sub-folders, inotify watch; shared with the later launcher) and ctx.icons.app_icon(app, size) (the entry's Icon= through the theme lookup incl. the portal theme, else the name, else mdi:application-outline; a window class is never read as a path). (2) The shell's KWin script (src/tess_shell/kwin/TesseraeShell, id tesserae-shell-kwin): mode R loads it through /Scripting after the control interface owns its name (version read from /KWin supportInformation, isScriptLoaded/unloadScript/loadScript/start, unloadScript at stop), mode P (KWin { Script: PERSISTENT }) and OFF; the interface gains FullscreenState(s) -> s and WindowsState(s) -> s (answer {"windows": true|false}); a missing KWin is an info line, a refused load or a silent script (5 s) one warning; malformed strings are ignored with one warning that never holds content. KWin { Script, Hide_On_Fullscreen } in settings.tdl; schema 1.7 (the portal follow-ups took 1.6 first). (3) SurfaceManager.set_fullscreen: Bars, Panels, the Frame (zones released) and Popups on an output with an ACTIVE fullscreen window are hidden and come back as they were; a user's own Hide is kept. (4) ctx.windows (on_changed, list, ready, available, activate, minimize, close_window) over a window service that turns the script's list on only while a module subscribes; actions are one-shot scripts from a template with a checked UUID. (5) The Tasks module and Task_Item (monitor/desktop filters, icons on a worker following the theme, click activates or minimises, middle click closes, wheel cycles). (6) tesserae-shell kwin script install|remove|status and kwin rule show|install|remove (--rules-file, --kwinrc, --scripts-dir, --yes, --no-reload; a test refuses the real files and a non-private bus). Tests: fake KWin and fake script on private buses (tests/fake_kwin.py), the script's own logic under Node, the kit tests/kwin/prepare_m5g_kwin.py.
  • M6d launcher (D2 of the M6 Brief; Applications Module): (1) services/apps.py, the application service over the desktop-entry index (AppService; no second parser): the search of the spec (a query folded without case and accents, every word must match, the five ranks, equal ranks by the start count, then by name, an empty query the most started first, limit rows), the list built on a worker thread on the first use and again after the inotify watch of the folders says an entry file changed, the start counts in launcher-counts.json of the state folder (a temporary file and a rename; a file that cannot be read starts empty; one that cannot be written is one warning and the counts stay in memory). (2) The start (build_command, parse_exec): Exec split by the specification's quoting rules, %f %F %u %U and the deprecated codes removed, %i as --icon <Icon>, %c, %k, %%; Terminal=true through xdg-terminal-exec (missing: one warning, nothing starts); Path or the home as the working folder; the shell's own variables out of the environment (NOTIFY_SOCKET, INVOCATION_ID, JOURNAL_STREAM, TESS_SHELL_*, a stale XDG_ACTIVATION_TOKEN...); the program checked on the path before the start; systemd-run --user --scope --quiet --collect --unit=app-<id>-<random>.scope in front when a user manager answers one probe, else a plain start (a systemd-run that fails is one debug line and a plain start); the real runner runs sh -c '"$@" &' in a session of its own with no standard streams, so the application is not the shell's child. The runner (which, scope_available, spawn) is injected; the real one refuses while PYTEST_CURRENT_TEST is set (it appends the command to the file TESS_SHELL_LAUNCH_RECORD names when there is one: the live tests, which run the shell as a process). (3) ctx.apps (ready, search, get, launch(id, use=, on_done=), on_changed, refresh): a start asks the surface of the module's use for an activation token first (SurfaceManager.request_token calls Window.request_activation_token, tre 0.6.8, no hasattr guard) and starts with it, or without one when the callback gets None (debug line activation token: none for <id>). (4) ctx.surface (hide(use=), focus(name, select_all=, use=), on_shown(callback)): the surface manager hides the Panel a use is on, focuses the block Name: name of a use (a TextField gives its text input the focus; select_all selects its text; a module the layout calls with Name: name is found by its path) and tells on_shown after each show of a Panel; a log line surface <Name>: keyboard gained|lost (debug) follows the window's active event. (5) On_Key_Down on a TextField and on a module call that forwards to one (the new event, schema 1.8): event.key (tre's name, arrow_down, escape...), event.ctrl, event.shift, event.alt, event.meta, event.repeat; it comes before the field acts and the field acts whatever the module does, and event.stop() keeps the key from the surface above (a Panel's Escape). (6) The shipped Applications module (a text field over a List of rows; values ready, query, results, selected, selected_id, has_results, list_height, message) and the shipped Launcher Panel (schema/default_panels.py: added to the main shell's first Monitor when a Shortcuts entry or a Show, Hide or Toggle handler names Launcher and no Panel of that name is written; Keyboard: EXCLUSIVE, overlay layer, 480 by 400, hidden). (7) Schema 1.8 (additive): the module Applications, the event On_Key_Down, the section panels; tests/fixtures/cli/schema.json is recorded again. (8) Tests: the service (tests/test_apps.py), the start (tests/test_apps_launch.py), the launcher headless by key events (tests/test_launcher.py), ctx.apps and ctx.surface (tests/test_launcher_ctx.py), the shipped Panel and the schema (tests/test_launcher_shipped.py), On_Key_Down (tests/test_key_down.py), the idle cost (tests/test_launcher_idle.py, 60 s marked perf), the whole flow on the private sway by key events only through the FAKE kglobalaccel (tests/test_launcher_live.py, a recorded starter), and the KWin kit tests/kwin/prepare_launcher.py (/tmp/tess-kwin-launcher, starts nothing; its real-start.sh runs the real starter outside the suite).
  • Panel keyboard (found by CI on the launcher's live test, then reproduced locally under CPU load: 2 of 10 runs): a kept Panel that was shown before its window had its first configure never got the keyboard, so the Launcher opened without taking keys. A protocol trace (WAYLAND_DEBUG=1) of a failing run showed no set_keyboard_interactivity(1) for the Panel's surface; in a passing run it goes out at show time. The cause is in tre: LayerWindow.set(...) forwards a change to the platform thread only once the loop thread has run the created hook (that sets the surface id and then sets up the GPU, which is slow on a busy machine), stores the change otherwise and drops it, and the hook does not apply the stored config afterwards (the same family as TRE-REQ-019, a close made before placement). The shell now sends a shown Panel's keyboard and input region again at the Panel's first configure (which comes after that hook); sending them twice changes nothing. 20 runs of tests/test_launcher_live.py under the same load: no failure (40 test runs; a small sample). Two unit tests cover the re-send and its limits (a hidden or covered Panel is left alone). For the maintainer to report to tre: a LayerWindow.set made before the surface id is known should be applied when it is (or at least be reported).

  • The accessibility pass (E1 of the M6 Brief; Accessibility). Announcements are live regions, tre's documented way (live: a screen reader announces a change of the label of a live node; in accesskit_atspi_common a live node emits object:announcement when its name changes or when it enters the tree): a 1 by 1 pixel absolute Announcer block (Role: GROUP, Live: POLITE) in the module whose label is the module's key announcement; it takes no room in the row and the key is never replayed to a use added later. Built: Network says "Network connected, Wi-Fi Home-WiFi" or "Network disconnected" once when state goes to or from CONNECTED and nothing for strength (Network Module > Accessibility); Battery says "Battery critical, 4 percent, discharging" once when the level becomes critical (the spec says "proposed"); Applications says the selected row as "Name, 2 of 8" as it moves (tre has no active-descendant, so each move is a polite announcement; a list narrowed by typing says its first row at the next second, so typing is not one announcement a key), "No results" and "Could not start ", and opening says nothing. Opt-in with the new param announce (the specs name no announcement, or say it is off by default): Media a new track, Audio mute and unmute at once and a new volume once settled (at most one a second; a one-second tick runs only while one waits), Tasks a window of the row that opens, closes or wants attention. Names and descriptions: TextInput and TextEditor take Label (else the Placeholder, so the launcher's field is named by its placeholder), the Slider takes Value_Text (the new block key Value_Text is tre's value_text; Audio says "45 percent", Media "1:23 of 3:45" through the new key position_text), the tooltip of Network, Battery, Audio, Media and Clock is also the accessible description (the Clock face is named by its time), the launcher's rows are named by the application's name and comment and its list "Results", every Bar and Panel window is named after the surface (Top Bar, Launcher) and a Panel with Keyboard: EXCLUSIVE is a dialog. Tasks: the button is named by the desktop entry's Name (new ctx.icons.app_name, beside app_icon, read on the worker; the desktop file name until it is read) and the row stays a GROUP (a LIST role makes a Tab stop and its children are buttons, not list items). Not built: Tasks announcements for a change of the active window (spam, and the desktop says it) and for the last window closing or the script stopping (the module is hidden then, so it is out of the accessibility tree); the focus ring of a selectable Text (the maintainer decides). Schema 1.8 to 1.9 (additive), tests/fixtures/cli/schema.json regenerated. tests/test_accessibility.py asserts each through node.get.

  • The user guide (guide/, for a person who wants a bar on a KDE Plasma desktop): ten pages (install and start, the configuration folder, a first Bar, surfaces, modules, styling and themes, settings.tdl, keyboard and shortcuts, the command line, troubleshooting) and guide/examples/, where every example is a configuration folder. The tables (module parameters, surface keys, tokens, settings, key names, commands, exit codes) and the example listings are written into the pages between BEGIN generated and END generated comments by tests/guide_tables.py (python -m tests.guide_tables), from schema_dict(), the argparse parser, pyproject.toml and the example folders. tests/test_guide_tables.py generates them again and compares (so a schema or command-line change fails it until the pages are written again), and checks that every module, settings section and example set is on a page, that the links between pages land and that the commands and options the prose names exist; tests/test_guide_examples.py runs check on each of the example folders (no error and no warning), parses the module Python and looks up each Call target in the schema. The guide is not part of docs/ and is not published by the docs workflow.
  • Kit fix (the maintainer's KWin check of M5g, line 4): the active window was not marked because the kit's settings.tdl did not name the Default stylesheet, which carries the .task_item:selected look and applies only when named (Style Schema D36); not a shell bug. The M5g kit now writes Appearance { Stylesheets: [Default] } and its checklist says what the mark looks like (a raised background and a 2 px primary border). The M5g generator also removed its whole folder first, which would have deleted the maintainer's backup/ of kwinrc and kwinrulesrc (the way to undo the check); it now keeps backup/ and removes the rest, with a test.
  • Hand-check kits run by themselves (the maintainer's instruction of 2026-11-16: no copying terminal output). tests/kitlib.py (standard library only, copied into each kit as kit_runner.py) describes a kit as steps (auto, manual, real-session; command, sandbox, expectation) and runs them: run-all.sh runs every unattended step in a PRIVATE sandbox, writes results/<id>.txt (command, output, exit code, verdict, the expectation) and results.txt (one PASS, FAIL or SKIP line per step, a final cleanup line), prints the same lines and exits non-zero on a failure; checklist.txt keeps only the manual and real-session steps, each with why no session can do it and, for the real session, the exact action to ask permission for. The sandboxes nest: private_bus (a dbus-run-session with a private XDG_RUNTIME_DIR, XDG folders and HOME, the bus at $XDG_RUNTIME_DIR/bus where a systemd user manager puts it), private_systemd (a systemd --user manager with an empty target of its own, so none of the desktop's socket units start), private_kwin (a real kwin_wayland --virtual) and private_sway; each refuses when the bus or the runtime directory is the real one, scrubs DBUS_SESSION_BUS_ADDRESS, WAYLAND_DISPLAY, DISPLAY, SWAYSOCK and the sound server, and is killed and removed at the end, also on failure (a process that still carries the private runtime directory is killed and reported as a leak). Two facts the kits rest on: KWin 6.8.2 hosts org.kde.kglobalaccel itself (there is no kglobalacceld program here), so a private KWin IS a real shortcut service; and its org_kde_kwin_fake_input takes pointer and key events from any client on its socket (tests/fake_input_server.py, run in tre's Python for pywayland; tests/kitdrive.py has the drivers' helpers), so the keys, clicks and chords of a hand check go through KWin's own input pipeline. Converted: the install-session kit (print, install twice, verify, the stale-unit warning and --force, enable, START the unit in the private manager and check Type=notify readiness, kill restarts it, stop, quit does not restart, disable, remove; the login and the real portal's acceptance stay), the tre 0.6.8 kit (Tab in a TextEditor by the shell's focus log, popups closed in the same turn by the Wayland protocol trace with a control, the activation token through a fake program), the M5g kit (the names of /Scripting, the shell's script, a window list that follows open, retitle, activate, minimise, close and fullscreen of client windows, the kwin script and kwin rule commands, and the layer-rule question: in the private KWin a rule that matches both a client window and the shell's layer surface moves the window and leaves the surface on the dock layer), the M6c kit (registration, a key chord opens the panel, a user's change and clearing, a taken key, the off switch) and the launcher kit (open, search, move, Escape, Enter on a script, on a missing program and on a window, detached start, the real starter in a private systemd manager, the global key). The window_probe.py client and the kits' throwaway modules are not the shell. The old scripts that touched the real home (1-backup.sh to 9-undo.sh of install-session) are gone; what still runs on a real session (run.sh, run-key.sh, run-taken.sh, backup.sh) starts only when the maintainer runs it. Tests: tests/test_kitlib.py and one test file per kit, with a skip when kwin_wayland, the systemd user manager, dbus-run-session, sway or tre's virtual environment is missing. A private systemd manager is asked for once (kitlib.systemd_works()): where systemd is installed but cannot run a private user manager (a CI runner: the manager exits at once) the tests and the install-session kit test skip with that reason.
  • Correction: the M5g kit's layer-rule step (tests/kwin/drive_m5g.py, 6-layer-rule) said the window rule's layer does not apply to a layer-shell surface in KWin 6.8.2. That was a measurement in a private kwin_wayland --virtual (the shell's surface was listed with an empty class and the rule changed no layer), and the maintainer has since seen the rule work on his real KWin (2026-11-16). The kit now reports what the sandbox observed and says it does not reproduce the real session; kwin rule stays as it is. What differs between the two is not known. He also reports that every OVERLAY-layer surface (the Popups and Panels with Layer: OVERLAY) sat above the Plasma panels in all his earlier testing, so Layer: OVERLAY is the layer-shell way to be above them and the rule is a separate matter for surfaces on the default TOP layer.
  • Guide tooling fix (found by CI on the 0.1.2 bump): the generated page of an example folder listed stray .pyc files, so its text depended on whether the examples test had run first in the same process (it makes __pycache__), and the page committed from a clean checkout differed from the one CI regenerated. tests/guide_tables.py now ignores __pycache__; the page no longer depends on test order.

0.2.0 - 2026-11-20

  • Moved to tesserae-el 0.2.0 (floor >=0.2.0,<0.3; language TEL 0.1 unchanged). TEL 0.2.0 removed its template form (Template, compile_template, fill_template, the {{ }} delimiter): the shell needed no code change, because it has split slot text itself since the TDL 0.2 move and compiles each slot with compile_expression. The whole suite passes against 0.2.0 (5670 passed, 1 skipped). tesserae-el 0.1.x is no longer accepted.
  • tre 0.6.9 (tesserae-engine>=0.6.9,<0.7; TRE-REQ-020 and TRE-REQ-021). (1) ctx.announce(text, *, politeness="polite", use=None), new in the module contract: a screen reader reads text once (Window.announce of the window of the use; politeness is "polite" or "assertive"; safe from any thread, it runs on the loop). With no use it is said for the module's first use on an open window, so a module on two Bars is not read twice; the same text twice running is said twice; it is said although the module's block is hidden. A text that is empty or another politeness raises ValueError. (2) Battery, Network, Media, Audio, Tasks and the Launcher's Applications module use it, and the live Announcer Box (1x1, Live: POLITE), the announcement value and the zero-width-space toggle of the Launcher are gone: what the modules say and when is unchanged. The Tasks module now also says the last window closing, which no live block could (the row is out of the accessibility tree while it is empty). The announce params are unchanged. A user module that used its own Live Box keeps working (the block key Live is unchanged). (3) The first-configure workaround of PR #35 is removed: tre now sends a LayerWindow.set made before the surface exists once it does. A live test reads set_keyboard_interactivity(1) of the Launcher in WAYLAND_DEBUG; the Launcher's key test was run 20 times under 48 busy loops (see the build log for the count). (4) The announcements are tested through the accessibility bus too: tests/test_announce_atspi.py starts a private AT-SPI bus (tests/atspi_env.py, adapted from tre's) and reads the Announcement signals of a real shell on a private sway (polite and assertive, a repeated text, a hidden module); it is skipped when at-spi2-registryd, dbus-daemon or busctl is missing. Not Orca: that is the maintainer's check.
  • M7e third-party notices: a NOTICE file at the repository root, carried in the wheel (dist-info/licenses/NOTICE, through license-files in pyproject.toml) and in the sdist. It lists the assets inside the package (the Material Design Icons set shipped/Icons/mdi.json, Apache-2.0, with its licence text; the three handle icons and shipped/Images/error.png, made for Tesserae Shell, MIT), what tesserae-engine bundles (the Roboto, Noto Sans Arabic and Hack Nerd Font Mono fonts embedded in tess_re/_core*.so with their licences, the statically linked Rust crates by licence expression, the five shared libraries copied in by auditwheel), and every runtime dependency, direct and transitive, with its version range, the licence its release declares and its project URL; Pillow's bundled native libraries are named. tests/test_notice.py fails when a non-source file is added to the package, a dependency is added or its range or licence changes, or a dependency's wheel bundles a native library, without the matching line in NOTICE, and builds the wheel and sdist (uv build, from uv's cache when offline) to check that both carry it. The README states the licence of the shipped assets. No change to the shell's own MIT licence or to a dependency range.
  • M7g, the real-hardware kit (tests/kwin/prepare_m7g_hardware.py writes /tmp/tess-kwin-m7g; starts nothing): three lines for what only a person can do, each as exact steps and each script writing its result to results/ and one line to results.txt (no terminal output to copy). (1) Orca: the shell on the real session with fake NetworkManager and UPower on one private system bus (tests/kwin/fake_hardware.py) and three made-up applications, one command per event, the literal texts Orca must speak (Network disconnected / connected, Battery critical, the Launcher's selected row, No results), and a checker that reads Orca's own debug file. The Orca screen reader is not installed on the maintainer's machine, and orca on his PATH is another program (the AppImage orca-ide): the kit calls /usr/bin/orca and says so. The texts are proved in the sandbox: tests/test_kwin_m7g_kit.py starts the kit's own orca-1-start-shell.sh on a private sway and a private AT-SPI bus and compares the real Announcement signals with the checklist (it found that the M5b battery script set the warning level before the percentage, so the module would have said 82 percent: the kit's copy sets the percentage first). (2) Real Wi-Fi with the wired connection kept: snapshots of the wired device, address and default route before and after joining and leaving a Wi-Fi network, never taking wired down (so the Wi-Fi bars and a captive portal cannot be shown on his machine; the M5c fake shows the states). (3) Real audio: speakers and a Bluetooth headset, the icon and tooltip the Audio module must show printed from the real default output with the shell's own functions. No kit asks for a cable or power pull any more (R-33): the M5c gallery lines that asked for an Ethernet cable pull now point at the fake, and the M3c hot-plug check says a monitor is switched off and on, never unplugged.
  • M7f known gaps: (1) a Bar's Reveal_Key is removed (a Bar is always shown, Auto_Hide is not built, so the key it registered, Show_<Name>, had nothing to reveal): a Bar that writes it is a removed-key error at the key with the hint to delete it, BarDef.reveal_key and the Bar entry of the export's shortcuts.surface_keys are gone, and schema_version is 1.10 (a key left the schema; the rule of 1.1 to 1.9 was additive, this one is not). (2) Clock hour_cycle: desktop is 12 hours when the time format of the Clock's locale counts to 12 (T_FMT names %p, %P, %r, %I or %l; en_US does, de_DE and en_GB do not) and 24 otherwise; the locale is the locale param, else the first of LC_ALL, LC_TIME and LANG that is set (the shell never calls setlocale for itself), and one that is unset, C, POSIX or not installed is 24 hours. The shell reads no clock-format value from the desktop. (3) The README's "Not built yet" paragraph is rewritten against the schema's not-built tables and the code. (4) The headers of Tray_Module.tdl and Tray_Menu_Module.tdl and the Tray module docstring now say what the code does: the menu opens beside the clicked icon, and the shell provides the three Popups with Max_Height: 60%. Importing another _Shell.tdl is not part of this.
  • Security model for user Python (M7a of the M7 Brief; Security Model, posture A: a module is trusted code in the shell's process, and the guide and README now say so in the maintainer's words). (1) A module's Python was already imported by its file path (compile and exec into tess_shell_user_modules.<Name>) and nothing puts a folder on sys.path; a test proves a json.py beside a module does not shadow the standard library. (2) insecure-permissions (warning, once for each path): the configuration folder, the folders that hold modules, each of your module folders and each module's Python file, when group or others can write it or another user owns it; found by scan, so at start, at every reload and in check, and the shell starts anyway. tesserae-shell check --strict (new) turns any warning into exit code 1. (3) path-outside-config (error, file:line:column): every path a shell file writes (Import:, a module's Style:, a Bitmap or SVG Source, a path param and now its Default too, which is made absolute like a call's value, an icon param's file) is resolved by one helper, config/confine.py, and must end inside the configuration folder, a Directories folder or the package's shipped folder after .. and symbolic links are resolved (absolute paths in settings.tdl are the user's own and are not checked). This is a behaviour change: a shell file that named an image or SVG elsewhere (an absolute path, ~/Pictures/...) now needs the file inside the folder; the M4b gallery kit copies its fixture images in. (4) The module context was read: only ctx.log (a loguru logger, which has add and remove) and ctx.dbus.layer are handles to shell objects, and none gives a window, a surface, the registry, the loader or TEL; nothing changed. (5) ModuleHost.callbacks is the running-callback record (modules/running.py, CallbackRecord.running() gives RunningCallback(module, entry, started) or None to any thread; two stores and two clock reads for each callback): every module callback on the loop is in it (events, Call, ticks, ctx.call_soon, service hooks, the lifecycle, the window list, on_shown, apps on_changed, import and __init__). A callback over 4 ms is logged at debug with the module's name; a module with more than 100 of them in a minute gets one slow-module warning a minute naming the entry point most often over. (6) A lifecycle method that raises marks only that module failed (the log line carries its UID) and ModuleHost restarts it from a fresh import after 1, 2, 4, 8 and 16 seconds (at most 60, five tries) on the shared time source's second tick, which it subscribes to only while a restart waits; then it stays failed until a reload, which gives it five new tries; a restart that ran a minute before failing again starts a new run of tries. The host's clock is a constructor argument. many-threads (warning, once for each module until it is reloaded): more than 16 live threads whose stack runs code from the module's Python file (or its own folder), checked at the end of the first callback after each minute, with no timer. (7) The shell's own log lines were read: none carries a notification, a clipboard value or file content; ctx.announce no longer repeats the spoken text in its two debug lines (it can be a window title or a track name); one debug line (focus: <block> '<label>' (ring)) prints the focused block's accessible label, which for a Tasks entry is a window title, and stays because the live tests and a hand-check kit read it (listed in the M7a report as a decision to confirm). (8) Applications logs ids only (a test with secret arguments proves it). Tests: tests/test_security_*.py. report() now logs a warning finding at warning level (it logged every finding as an error).
  • M7h volume OSD, a shipped module: Volume_OSD { duration: 1500, show_name: true } in a Panel that starts hidden (Visible: false), is click-through (Input_Region: []), takes no keyboard (Keyboard: NONE) and sits on Layer: OVERLAY. It follows the sound server through ctx.audio by itself (no Audio use needed) and, when the default output's volume or mute changes, shows an icon, the output's name, a ProgressBar and the percent (or Muted: the word, the volume-off icon and a dimmed bar) and hides the Panel duration ms after the last change; a change in that time starts the time again, and duration (above 0, at most 60000) replaces the Panel's own Hide_After. Nothing is shown at start, for the first reading of the server (or the first after it came back), for a switch of the default output (the new output's volume is the baseline) or for a microphone or output-list change. It never announces (the Audio module's announce does, so a change is said once); the card is a GROUP named Volume, <output>, <45 %|muted> holding a PROGRESSBAR named Volume with the icon and texts hidden from assistive technology, and no live region. New in the module contract: ctx.surface.show(use=None, *, hide_after=None) shows the Panel the use is on (a shown Panel's hide time starts over; hide_after is milliseconds for that show; False and one error logged for a use on no Panel), on SurfacePort.show_use and SurfaceManager.show_use. A Volume_OSD in a Bar logs once and does nothing. Guide: the Volume_OSD section of the modules page and guide/examples/05-modules/volume-osd. No brightness part: the shell has no brightness service.
  • Crash recovery and the watchdog (M7b of the M7 Brief; Crash Recovery and Watchdog). (1) tess_shell/watchdog.py: a thread asks the loop once a second (call_soon, one callback queued at a time) to store a heartbeat; started on the loop's first turn, after the start sequence. A stall of 2 s logs one warning loop stalled for N s naming the module, entry point and run time from host.callbacks.running(), with the traceback of every thread (faulthandler.dump_traceback), the warning again every 5 s; at 10 s it sends WATCHDOG=trigger when NOTIFY_SOCKET and WATCHDOG_USEC are set, else logs loop stalled for 10 s, no supervisor can restart it and dumps the tracebacks every 30 s (nothing at all is sent to NOTIFY_SOCKET without WATCHDOG_USEC). WATCHDOG=1 goes out every half WATCHDOG_USEC, only while the heartbeat is under 5 s old. TESS_SHELL_TEST_WATCHDOG_SCALE (tests only) scales every time. (2) The unit that install-session writes has WatchdogSec=15 (in [Service]; the start-limit keys stay in [Unit]). (3) tess_shell/recovery.py: crash.log (faulthandler, all threads, plus the traceback of an unhandled exception; the previous file kept as crash.log.1 and .2; a clean run leaves none), the marker running and recovery.json in the state folder; a start that finds the marker logs previous run ended uncleanly and counts it; status and status --json (recovery) show the count, the last crash and safe start, also with no shell running. (4) Safe start: the third unclean start within 10 minutes loads shipped modules only, skipping the Python of user modules with one warning that names them; reload or a clean stop ends it. (5) registry.json is written within 0.2 s of any change, off the loop thread, temporary file and rename; an unreadable or malformed one is moved aside as registry.json.corrupt-<time> and rebuilt from the files' UIDs (before: exit 1). (6) A lost Wayland connection (tre ends the loop, or a first frame fails because the compositor died) now stops the modules and saves the registry, then exits with code 69 (LOST_COMPOSITOR) so that Restart=on-failure restarts the shell; it was exit 2 without a stop sequence, which the unit never restarted. (7) tests/kwin/prepare_m7b_watchdog.py: the kit that runs it all in a private systemd user manager.
  • M7f, import of another _Shell.tdl (the second half of the M7f gaps; Shell File > Structure and Config Discovery > Discovery, D22): a Monitor's Children write Import: Parts/Dock_Shell.tdl (a file or a list) and the surfaces of the imported file come in at that place, on that Monitor. The imported file is a Shell { } root that holds surface blocks and further Import: lines, no Monitor; imports nest, a path is relative to the file that writes it and goes through the M7a confinement (path-outside-config). New rules: import-cycle (for shell files too: the chain is printed), import-not-found (the path looked at), import-failed (at the Import: of a file with syntax, header or schema errors, which are reported at that file's own file:line:column), import-twice (a surface Name is unique across the shell, so a file is imported once; the vault example that imports one file under two Monitors needs a naming rule it does not give), import-monitor, import-misplaced (a shell file in a surface's Children, a module file in a Monitor's, Import: in Shell) and main-shell-surfaces (a Main_Shell with surfaces and no Monitor would show nothing); a name used in two files is the existing name-duplicate naming both positions. The not-built error for this Import is gone. A file of surfaces read alone (nothing imports it, or a Shells/ scan) is checked block by block and follows no import. Hot reload: Watcher.watch_files also watches the directory of each imported file that no folder watch covers, on the names it imports; the reloader refreshes that after every scan, a refused one included, so a file just named and still wrong reloads when fixed. Scan.imported and Scan.shell_files carry the imported files; an imported file outside Shells/ gets its UID: too. The export is schema_version 1.11 (an addition, as 1.1 to 1.9: a root Imported_Shell, head Shell, that allows Bar, Panel, Popup and Frame); the guide's page 4 has the section and an example (guide/examples/04-surfaces/split), the troubleshooting table the rules.
  • Version policy and tesserae-shell migrate (M7d; the policy first governs 0.2.0): the guide (The command line) and the README state what 0.x and 1.x promise for the command line, the schema export, TDL files and the module contract. New command tesserae-shell migrate [--config-dir DIR] [--check] [--json] [--force]: reads every .tdl file of the configuration folders and applies ordered, idempotent text steps; step 0001 (TDL 0.1 to 0.2, tess_shell/migrate/slots.py: rewrite_slots, the shell's own scanner of the 0.1 slot rules until the library ships one) rewrites {{ expression }} to <| expression |> and TDL: 0.1 to TDL: 0.2 and changes no other byte (checked against the TDL 0.1.1 reader on 300 generated files); a slot holding |> outside a quote is reported and its file left whole. --check changes nothing and exits 1 if a file would change; the originals are copied to <config>/.migrate-backup/<timestamp>/ before anything is written and each file is replaced through a temporary file and a rename; exit 2 when a file could not be migrated, exit 4 while a shell holds the instance lock (--force overrides); the verdict of check on the result is printed (result in --json). Changed: a Shell: pin newer than the shell is now shell-too-old (it was version-pin) with the hint "install tesserae-shell X.Y or later" and compares major.minor; a TDL: 0.1 file that holds a {{ }} slot is refused with tdl-old-version and the hint to run tesserae-shell migrate (it showed a syntax error before). Deprecation machinery (tess_shell/schema/deprecations.py, empty table in 0.2.0): a deprecated key or block warns with deprecated-key, a command with deprecated-command on standard error, each naming the replacement and the release that removes it; the schema export marks it deprecated: {since, removed_in, use} (no schema version change while the table is empty); step 0002 renames it.
  • M7a2, the module process test (60 Quality/Module Process Test.md; test infrastructure only, no product file changes): tests/perf/module_process_test.py measures the shell in posture A (every module in the shell's process, the product as it is), B (a process per module file) and C (only the user's modules in processes) on a private headless sway, private buses and the fakes (NetworkManager, UPower, MPRIS, StatusNotifier, KWin virtual desktops, PulseAudio), and writes tests/perf/module-process-results.md with the machine and versions, start time to READY=1, idle CPU, wake-ups and memory of the whole process tree, value to screen, throughput, hang, crash and reload containment, a computed verdict table of the decision rule (thresholds are named constants; the maintainer decides) and the cost in code of the move. It refuses to start when the 1-minute load average is above 0.5 (--allow-load overrides it and the report says so); --smoke cuts every duration to prove it works; tests/test_module_process.py (about 18 s: B1 and B2 start the default shell's modules in processes, a value reaches the surfaces, a hung and a killed module are contained and restarted, the refusal under load, the verdict table on canned numbers) is collected and tests/test_module_process_smoke.py (the whole smoke run, about 2 minutes) is marked perf. The harness runs the shell on private data only (made-up desktop entries, private HOME and XDG_*, no icon theme). The prototype of B and C lives in tests/perf/proto/ (not in the wheel): it patches ModuleHost._import at run time with a stub class made from the module file's syntax tree, runs the module in a child (JSON lines over a socketpair, a shared-memory record of the running callback read by a watchdog), and keeps the module host's own code unchanged; services are B1 (each process opens its own D-Bus, PulseAudio and tray connections) or B2 (the shell keeps them and proxies calls and signals). Selected by TESS_PROTO_POSTURE and TESS_PROTO_SERVICES, read only by tests/perf/proto/run_shell.py; the shipped tesserae-shell run is unchanged. pyproject.toml allows long lines in those files (the report's markdown).
  • The performance budgets read (M7c of the M7 Brief; Performance Budgets, D-045). tests/perf/read_budgets.py (python -m tests.perf.read_budgets; --quick for the smoke, --allow-load to start above a 1-minute load average of 0.5, which it refuses otherwise, --only, --estimate) reads every budget of the vault's ledger on a private headless sway with private buses and fakes and writes tests/perf/budget-results.md (machine, load, every number with its spread, PASS or FAIL against the vault's number and by how much a budget is missed; no budget value is changed); tests/perf/budgets.md says how each of the 26 budgets is measured and which test guards it. New headless regression tests, in the style of the idle tests: tests/test_budget_idle.py (wake-ups per thread group of a running shell; the 60 s variant is perf), test_budget_start.py (the steps of the start), test_budget_reload.py (10 surfaces; leaks, perf), test_budget_watchdog.py (the heartbeat's rate), test_budget_dbus.py, test_budget_popup.py, test_budget_bind.py, test_budget_modules.py and test_budget_logging.py. The numbers of the first runs were taken on a loaded machine (a smoke of the harness); the reading is the maintainer's full run on an idle one.
  • M7c results and three budget values (the maintainer's decisions of 2026-11-19 on the four misses of the first real reading, tests/perf/budget-results.md, FULL mode, idle machine): B02 idle wake-ups is now at most 6 per second (read 5.16 with one Bar, a Clock and a Text), B12 the Launcher toggle's loop callback at most 2 ms p99 (read 1.75), B14 two setShortcutKeys per action as the client library sends them (read 2); B18, the bind of a typed tree of 3,101 nodes, stays 15 ms as a target (read 34.4 ms) and is open work. The harness constants, tests/perf/budgets.md and the report text carry the new limits.
  • A reload that closes and opens surfaces no longer keeps the closed ones (SHELL-REQ-001). tre's App keeps every window it was given for good, and the listeners the shell had set on a closed Panel's window held its Surface, its View and so its whole tree: a reload that took nine Panels away and brought them back kept about 5 MiB of Python heap (13,000 objects, 9 Surfaces, 142 nodes) and about 6 MiB of resident memory per cycle, found by a real tess_re.App in process and on a private sway. The manager now frees a surface's window listeners and nodes when tre has closed the window and the manager has let go of it (free_window, SurfaceManager._ended, either order); what stays is tre's own stub of each closed window (about 7 KiB of Python heap and 0.3 MiB resident per cycle of nine), a candidate tre request. A reload that changes only a style never leaked. New tests/test_reload_leak.py (12 s: 30 reloads of a Bar and nine Panels, live Surface, View and LiveTree and the Python heap between reload 6 and reload 30; fails without the fix; one strict xfail marks tre's window objects) over tests/reload_rig.py (the real reloader over a real, never run tess_re.App), and the reload case beside the Popup case of B16 in tests/perf/budget_inproc_ui.py.
  • The lean B of the module process test (60 Quality/Module Process Test.md, open question 3; test infrastructure only, no product file changes): tests/perf/module_process_test.py takes the cells L1 and L2 (--postures=A,L1,L2), the posture L of tests/perf/proto/parent.py in which only the module files with Python of their own run in a process and the others are imported in the shell by the product's own code. "Python of its own" is read from the file's syntax tree (has_own_code): rule strict (default; a class that is only pass, a docstring or ...) or --lean-rule=validate (also the widgets whose Python is only a validate_use check and literal constants). On the default shell strict keeps 3 of the 22 module files in the shell (Menu, Task_Item, Tray_Item) and validate 11, not the 13 the vault expected. The verdict table has L rows against A with the same thresholds, the decision rule names L when B fails and L passes, and a run without B says so; --latency-reps and --contain-reps, --out (a lean run writes a report of its own), the run time and the expected duration of the lean run (about 16 minutes) are in the report. New fast tests: tests/test_module_process_lean.py; the smoke test covers L1 and L2.
  • M7a2 results (the maintainer's decision of 2026-11-19: posture C): tests/perf/module-process-results.md is the first full measurement (A, B1, B2, C1, C2; 43 min, idle machine): B fails only the memory row (+372 MB PSS against +150 MB: 22 children of about 17 to 19 MB each), C passes every row (about +17 MB per user module); value to screen p95 under 1.2 ms in every cell; a hung module process is contained (the picture keeps painting) and restarted 8 s after the hang began, a killed one in about 1.1 to 1.3 s. module-process-results-lean-strict.md and module-process-results-lean-validate.md are the lean B delta (A, L1, L2): the best variant (validate, L2) is +185 MB and still fails memory; 19 of the 22 module files have code of their own under the strict rule, 11 under the validate rule (not the 13 the note guessed). Next: build posture C.
  • A closed Popup no longer keeps what the shell built for it (the Popup half of SHELL-REQ-001). tre's App keeps every window it was given for good, and the listeners the shell had set on a Popup's window (and the nodes' listeners under it) held its OpenPopup, its LiveTree and its content tree: with a real App, 100 open/close cycles kept 100 more OpenPopup, LiveTree and PopupWindow objects and 5.7 KiB of Python heap each, through every path (call and close, replaced by another popup, opened while closing, dismissed by the compositor, tooltips, submenus). Popups._closed now frees the window with free_window (the manager's, from the reload fix) when tre reports it closed. After 100 cycles the shell's own object counts are flat and the heap grows by about 1 KiB per popup, which is tre's PopupWindow (TRE-REQ-028: App should drop a closed window). Tests: tests/test_popup_leak.py (2 s, real tess_re.App, six paths; the tre part is a strict xfail); popup_residue of tests/perf/budget_inproc_ui.py (B16, tests/test_budget_popup.py) now runs on a real App and reads the heap per cycle too; tests/test_popup.py's rig takes an app. Frame painter windows and Panels in Debug.Panel_Hide: CLOSE keep the same retention until tre drops closed windows.
  • A large typed tree binds more than twice as fast: 3,101 nodes bind in about 16 ms (build, attach, dispose; 34 ms before, B18's target is 15) on a machine shared with other work. The binder keeps no Wire for a block that listens for nothing (no handler, state style, transition, name, control key, Enabled: false, Focusable, Checked, Selected or button role): such a block has Entry.wire None until a reload gives it one of those things; View.update and the tooltips only ever reach named blocks, which always have a wire. The position index that translates a tre error is made only when tre refuses the tree (planning again), a plan no longer copies the child props, a block with no state style or Transition skips both checks, the index passes (wires, controls, Marquees, Tab order) share one list of entries, Entry.children of a leaf is one shared empty tuple, and convert.py tests isinstance against tuples (A | B builds a union at every call). No change to what is built: tests/test_binder_golden.py compares the entries and tre's own properties of the standard modules and of typed trees with a record made before (tests/fixtures/binder_golden.json, python -m tests.binder_golden writes it); tests/test_budget_bind.py bounds the bind of the big tree at three times the target and asserts it gets no wires; tests/test_binder_wires.py covers what is wired and a reload that wires a plain block. tests/perf/measure_bind.py reports the steps; tests/perf/bind-results.md has the before and after.
  • Posture C: a user module's Python runs in a child process (60 Quality/Module Process Test.md, decided 2026-11-19; 60 Quality/Security Model.md). A user module is a <Name>_Module.py that does not ship with the package (config.discovery.is_shipped); it runs in ONE process per module file, started with python -I -m tess_shell.modproc.child over a socketpair (JSON lines; tuples, bytes and dicts with other than string keys are tagged; the shell never unpickles a child's data) and a shared-memory record of the running callback. Shipped modules and the default shell are untouched: no process, no thread, the same start (tests/test_budget_start.py). New package tess_shell/modproc/: static.py (the file's syntax tree read, never run: the stub class the host loads in place of the module, and check's findings), wire.py, child.py and childctx.py (the process: the real ModuleContext with proxy ports, so every service stays in the shell, B2), broker.py (each call lands on the shell's real helper of the module's context; a use key that is not the module's is refused), stub.py, supervisor.py (spawn, messages, failures, watch, the start gate), probe.py (check --import-modules). The module host gets one port (host.processes, modules/process_port.py); ActionSpec, action_spec and actions_of moved to modules/actions.py; ctx.on_tick takes any TickSource. Behaviour: a callback that runs 2 s is named, 5 s gets the process killed (its threads' tracebacks go to its stderr first) and the M7a back-off restarts it; a process that ends is the error module-process; slow-module and many-threads are measured in the process and forwarded under the same codes; the watch is read from the shell watchdog's thread (Watchdog.on_poll: no thread of its own); PR_SET_PDEATHSIG and the pipe's end take a process down with the shell; SIGTERM, SIGINT and SIGHUP are ignored by a process (systemd's stop signals the control group, and stop() must run first); NOTIFY_SOCKET and the other service variables are not inherited; python -I keeps the module's folder off sys.path. READY=1 and the running state are sent from a loop callback when every process started at the start has answered (started, failed or ended) or after 10 s (a warning names the modules still starting); with no module process the gate opens at once, in place. The surfaces never wait for a module, so a user module's first value can come after the first paint. ctx members that answer at once on the shell's loop (is_popup_open, update_popup, focus, surface.hide, apps.search, icons.*) are a request with a 2 s timeout (ShellCallTimeout, naming the module and the call); dbus.available is mirrored; ctx.on_tick is driven by the shell's one time source; Event.stop() has no effect (one warning per module); an @action's result reaches Call and the command line through a future (ControlService.on_loop awaits it; a timeout says "the module's process did not answer"). A reload of a user module's Python spawns the new process beside the old one and stops the old one only when the new one has imported (a file that does not parse, or has no class or two, is refused at once with the old module running; a failed import is reported when it arrives and the old module runs on). check reads the Python of your own modules without running it (module-import, module-classes, module-no-python); check --import-modules imports each in a throwaway process (5 s each). status lists module_processes (only when there are some) and the client prints a line for them. Debug { User_Modules_In_Process: true } keeps user modules in the shell (a restart applies it; schema_version 1.12, additive). The user-facing security statement changed (guide page 2, README, tests/test_security_docs.py); guide pages 2, 5, 7, 9 and 10 describe the process. tests/test_watchdog_live.py now keeps its hanging module in the shell with that setting (the M7b watchdog watches the loop), and waits for a user module's Python to run after a reload. Tests: tests/test_modproc_{static,wire,host,services,failures,reload,start,control,check,live,child}.py, tests/modproc_rig.py.
  • ShellCallTimeout is exported from tess_shell (the maintainer's decision of 2026-11-19): a module that runs in its own process (posture C) catches the timeout of a synchronous ctx call (update_popup, is_popup_open, focus, surface.hide, apps.search, icons.*, 2 s) by name: from tess_shell import ShellCallTimeout. It is still a RuntimeError subclass, so an except RuntimeError written earlier keeps working; the class lives in services/api.py beside the other errors a module can catch, and the module process raises that class.
  • M7a2, the product cell P (cell P of the module process harness: posture C as built, no prototype patch): --postures=A,P runs A and P in the default and the plus-three-user-modules shells and the probe cells, with verdict rows for P, a 'Which C' comparison and a 'product only' command; the real run (tests/perf/module-process-results-product.md, 21 min on an idle machine) passes every row: default shell equal to A, with three user modules start +128 ms, wake-ups +0.32 per second, memory +51 MB, value to screen p95 0.66 ms, hang and kill contained.
  • Two budgets moved by the maintainer (2026-11-20), after the idle re-read of 2026-11-19 (tests/perf/budget-results.md, B18 read 19.2 ms and the seconds-Clock row of B01 0.54 %): B18, the bind of a typed tree of 3,101 nodes, is now at most 20 ms (it was 15 ms; the bind was 34.4 ms before the work of #88), and B01, idle CPU, is now at most 0.6 % of one core (it was 0.5 %). The harness constants, tests/perf/budgets.md, the report text and the collected bind bound (three times the budget, 60 ms) carry the new values.

Unreleased

  • TSH-085: a Marquee text pauses while the pointer is over it (the text stops where it is; a pending wait is held) and goes on when the pointer leaves. Under reduced motion, when disabled or with Animated: false nothing scrolls, as before.
  • TSH-063: the shape scale has the two steps the Shape spec has and the shell lacked: $shape.medium_large (12) and $shape.extra_large (28). The shell's small (4) and medium (8) keep their names and values; they are the spec's extra_small and small. The schema export is 1.16.
  • TSH-062: the shadow used when a theme has no Elevation.Max is #00000066 like the Default theme's (it was #00000040).
  • TSH-060: Easing: EMPHASIZED is the curve (0.2, 0, 0, 1) the Motion spec gives it until engines take path easing (it was 0.05, 0.7, 0.1, 1.0), and the Default theme's Reduced_Motion block now carries the zero durations the shell forced in code.
  • TSH-044: the hover fill of a Launcher (or any list_item) entry is the outline colour, not surface_raised, which is the card's own fill (hover was invisible); the text on it keeps 4.5 to 1 in the dark and the light scheme.
  • TSH-038: a Label ends a text that is wider than it with an ellipsis by default (was CLIP; Overflow: CLIP still cuts), and the Network connection name is bounded to 160 px and ends with an ellipsis.
  • TSH-036: the Badge dot is 6 by 6 and the pill 16 high (minimum width 16, 4 px side padding), its digits in the caption size at weight 500 (were 8, 18, 11 px at 600), as the Badge spec fixes.
  • TSH-024: a disabled control is drawn at opacity 0.38 (was 0.5), as the Motion/State spec fixes; the default stylesheet and the TextField default agree. Hovered and pressed (0.85, 0.7) are unchanged.
  • A shell with no Appearance.Stylesheets key now gets the shipped Default stylesheet (ADR-0022; before, no stylesheet, so a TextField or List, and so the shipped Launcher, showed the engine's black text, unreadable on a dark desktop). Stylesheets: [] still means none, and tesserae-shell check prints the note appearance-no-stylesheet when it is empty and a TextField or List is in use. Stylesheets: [Default] can be dropped from a configuration; one that names it keeps working. The schema export is 1.13: the Stylesheets setting shows [Default] as its default.
  • M7k, click-away closing for the Launcher. A Panel on Layer: OVERLAY with Keyboard: EXCLUSIVE that holds the Applications module (the shipped Launcher, or your own) hides when you click on the desktop or on another application's window, and when another surface of the shell takes its keyboard (a keyboard that is only lost closes nothing: the seat's last keyboard device going away does that). While the Panel is shown the shell keeps a transparent surface the size of the output on layer TOP, under the Panel; a press on it hides the Panel and is taken by it (click again to use what is under it). The first build used tre's 1 by 1 popup grab and was reverted: on KWin the grab took the keyboard from the Launcher, so nothing could be typed (maintainer's hand check, 2026-11-20; kit step 3b-clickaway now types and clicks in a private KWin). A Panel on another layer, or without the Applications module, is unchanged.
  • M7i, content-sized Panels (tre 0.6.10, TRE-REQ-022). A Panel's Width or Height can be AUTO: the surface is the size of its content, padding included, and follows it while the Panel is open (one request to the compositor per change); Max_Width and Max_Height (pixels) clamp it, content beyond the clamp is clipped (put it in a scroll view). A bottom- or top-anchored Panel keeps its edge, an unanchored one stays centred. Refused with an error: AUTO with Attach_To, Movable or Meld, or on an axis stretched between two opposite anchors; Max_* on an axis that is not AUTO; EXPAND is still not built. The shipped Launcher is now Width: 480, Height: AUTO, Max_Height: 400: a short result list leaves no empty space. A Panel cannot be the Attach_To target of another when it is content-sized (the attached Panel is not created and the log says why). Schema export 1.13: the Panel keys Max_Width, Max_Height, and AUTO among the units of a Panel's size.
  • M7j. (1) ctx.announce goes through ONE window (the highest surface: a Frame's, else the first Bar, else any open surface), so the order of announcements is the order of the calls (tre 0.6.10 keeps the order within a window); use no longer picks the window. (2) The active descendant (ADR-0023, tre 0.6.10): TextInput { Active_Descendant: results } in a module's layout names a List called in the same layout; a screen reader then reads that List's chosen entry as the current item of the field while the keyboard stays in it, and the relation is cleared when no entry is chosen and set again when the entries change. A name that is missing or is not a List is an error with the nearest names; two fields may name one List. The shipped Launcher uses it; its polite announcement of the selected row stays as the fallback. Schema export 1.15 (the TextInput param and the block key).
  • UX adoption, TSH-007 (Workspaces tooltip). Each desktop button of Workspaces is now a Workspace_Item module called in the For (like Task_Item in Tasks), so the tooltip with the desktop's full name sits on the button itself (a Tooltip written inside For is not built). The visual is unchanged; the node ids of the buttons are Workspace_Item@... roots, not Desktop. Schema export 1.18 (the new module).
  • UX adoption, tooltips on the controls (TSH-001, 002, 003, 071, 007 in part). A tooltip belongs to a control, never to a group or a row (Tooltip rule, AC-TIP-1). Battery and Network: the tooltip and the accessible label/description moved from the group root to one inner Content block with role IMG (the root is a plain box that keeps the size). Audio: one tooltip on the mute button and one on the volume slider, none on the root. Media: the root tooltip is gone (the title Marquee keeps its tooltip with the whole text when it is cut). Task Item: the tooltip (the full title) is on the item and its title Marquee opens none of its own: new Marquee_Text param tooltip (default true) and Marquee block key Tooltip_Auto (default true; false turns off the Marquee's automatic tooltip inside a control). Not done: the Workspaces desktop button (a Tooltip inside For is not built). Schema export 1.16.
  • UX adoption, tooltip behaviour (ADR-0011, TSH-005, 006). The default Exit_Delay of a tooltip is 150 ms (was 200): the grace in which the pointer can cross from the block onto the tooltip. A press, Escape or a scroll on the surface dismisses the tooltip that is open (or waiting for its delay) and it does not come back until the pointer has left its block and entered again; keyboard focus (with a ring) on a block that has a tooltip shows it at once, and losing the focus ends it. Not done: window focus loss (a layer surface has no focus of its own to lose) and a scroll of a scroll container (only the surface's wheel is heard).
  • UX adoption, keyboard reach (TSH-011, 012, 013, 016, 017). A Box or FlexBox that has the keyboard raises On_Key_Down (event.key, modifiers, event.rect), as a TextField did. Tray: Menu or Shift+F10 on a focused item opens its menu (the secondary click's twin). Tasks: Delete on a focused task closes its window. Audio: on the focused mute button Up and Down change the volume by one step and Menu or Shift+F10 opens the list of outputs. A focused Movable Panel moves with Alt and an arrow (8 px, Shift 32 px), stays on the output and saves its place as a drag does (the Panel needs Keyboard: ON_DEMAND or EXCLUSIVE to hear keys). The Text Editor's module comment no longer says Tab cannot leave the field (it has since tre 0.6.8). Schema export: the Box and FlexBox On_Key_Down handler (1.19, after 1.17 and 1.18 of the other open PRs).

  • UX adoption, a Bar that can be hidden (TSH-051, part a of TSH-010). Bar { Visible: false } starts the Bar hidden, and Show, Hide, Toggle and the Show_, Hide_ and Toggle_ shortcuts now take a Bar's name as they take a Panel's. A hidden Bar reserves no space (exclusive_zone 0, root not drawn, no input); showing it gives the space back, also after a fullscreen window covered it. Reveal_Key stays removed; Auto_Hide and the Shortcut Mode reveal are the next two parts. Schema 1.20.

  • UX adoption, density levels (TSH-034, 035, 037 in part; ADR-0002). Three levels, DEFAULT (40 px controls), COMPACT (32, the shell's default) and DENSE (28), chosen by Appearance { Density } in settings.tdl (applies on reload) and, per surface, by Density on a Bar or Panel. The sizes are a new theme token group Density (density.control_height, row_height, menu_item_height, icon_size, row_padding_x, icon_label_gap, field_padding_x, tree_indent, chevron_box): the base values are the DEFAULT level and Modes { Compact, Dense } replace them. A module reads them in a slot as <| density.control_height |> (the surface's own level). Button, Toggle, Checkbox, MenuItem and the Applications rows take their heights from them: the Toggle and the Checkbox are now 32 high at COMPACT (their painted track and box are unchanged and centred), a MenuItem 32 (was 28) and a Launcher row 32 (was 40). The Applications module sends row_count in place of list_height. Not yet: the TextField, tray and task items, tree rows (no shipped tree). Schema 1.22.
  • UX adoption, focus order (TSH-014, AC-KBN-2). A Tab_Index above 0 is an error (tab-index-positive) and the order of the Tab stops of a surface is the order of the file; Tab_Index: 0 is still accepted and changes nothing, and a negative or non-integer value stays a bad-value. The order of the surfaces among themselves (Next_Focus, Previous_Focus, the first surface of shortcut mode with no Frame) is the new Focus_Order: [Names] key of the Shell block: the names it lists come first in that order, the others follow in the order of the file; a name no surface has is the warning focus-order-unknown with the nearest names. Removed: the binder's tab ranking (Entry.rank, tab_order, TAB_INDEX_MAX) and the tab_index field of the Bar, Panel, Frame and edge models. New tesserae-shell migrate step 0003: a positive Tab_Index on a block is removed, one on a surface becomes its place in Focus_Order (a file of surfaces made to be imported keeps it and the loader says so). Schema 1.23.
  • Fixed: Line_Height is a height in pixels (as its documentation and the type.*.line_height tokens say), but the binder passed the number to tre, whose line_height is a multiple of the font size: Line_Height: 20 made a 280 px line. The binder now divides by the block's font size (tre's own 16 when none is written), on build, on a slot update (a new Font_Size keeps the pixels) and in a state style. No shipped style set it, so nothing changes in the shipped look.
  • UX adoption, TextField density (TSH-034, follow-up of the density levels). A TextField is 40, 32 or 28 high at the DEFAULT, COMPACT and DENSE level. Its default padding is no longer built into the expander: the Default stylesheet's rule TextField { Padding: $density.field_padding } gives it (a stylesheet list without the Default one gives a field no padding, as it gives it no look), and the theme token density.field_padding_x is replaced by density.field_padding, the four sides: [12, 12, 12, 12], [8, 8, 8, 8], [8, 6, 8, 6]. Visible at COMPACT (the spec's values): the side padding is 8 (was 10) and the field 32 high (was 28). The spec's vertical padding assumes a 20 px line; tre lays 14 px body text out 16 px high, so the vertical values are 12, 8 and 6 (the field height is what is exact). Schema 1.24.
  • UX adoption, density for the items of a Bar and for a Popup (TSH-030, 033, TSH-034 follow-up). New tokens density.item_size (tray item, task button and workspace button: DEFAULT 32, COMPACT 24, DENSE 24; 24 is the least a pointer target may be) and density.item_icon_size (20, 18, 18). The owner keeps today's 24 at COMPACT, which is a deviation from the spec's icon button (40, 32, 28); the Orchestrator records it. Tray, Tasks, Tray_Item and Task_Item take icon_size / size 0 as "the level's" (the new default; 18 before, the same at COMPACT and DENSE, 20 at DEFAULT; the icon itself is still drawn from a 18 px pixmap). Popup takes Density like a Bar and a Panel. Schema 1.25.
  • UX adoption, elevation levels (Elevation, ADR-0006; the owner adopted the MD3 baseline). The theme's Elevation group takes Level_1 to Level_5 blocks beside Max: the MD3 two-shadow lists (key at 30 percent, ambient at 15 percent) for 1, 3, 6, 8 and 12 dp, in the shipped Default theme; they are tokens $elevation.level_1 ... $elevation.level_5. Elevation of a block takes LEVEL_0 to LEVEL_5 as well as a percentage (which keeps scaling Max); LEVEL_0 is no shadow. A theme that lacks a level falls back to the Default theme's. Shadows only: the tonal container roles (surface_container_*) are not in the shell's colours. Schema 1.26.
  • UX adoption, the Frame's shadow (TSH-054, AC-FRM2-11). A Frame's Style takes Elevation (a percentage of the theme's largest shadow, or a level once the theme has Level_n tokens) and Shadows: the ring shader paints the shadow the ring casts from its inner edge into the opening, up to four shadows, the first on top, with the blur (a Gaussian of sigma blur / 2) and spread of each and the colour's alpha; X and Y are not used (a ring has no direction). The shadow lies in the opening, which the ring's contour leaves click-through, so it takes no click. A melded body is part of the ring, so its shadow follows it. Shadow_Bleed is accepted and has no effect (the painter covers the output). Drawn by the ring shader only: a Frame that is drawn with paths (Debug { Frame_Blend: PATH }, an Opacity below 1, a translucent colour, another Frame_Join) has no shadow and the log says so once, because tre's shadow of a path with a hole is the shadow of its outer contour (the ring would be filled in). Schema 1.27.
  • Pinned tesserae-engine>=0.6.11,<0.7 (tre 0.6.11). The tre defaults the schema export reads changed with it: a text's default colour is #1d1b20 (the scheme's on_surface, was black) and a block's hit_testable reads None by default (the kind's own); the AT-SPI test accepts the namespace-named window node of a layer surface (the click catcher). No shipped look changes: the Default stylesheet sets the colour of text.
  • UX adoption, state layers (State Layers, ADR-0009; owner item 22; tre 0.6.11). New style keys Hover_Layer, Pressed_Layer and Focus_Layer (a colour role) on Box, FlexBox, Rectangle, ScrollBox and TextField: tre draws the layer over the block's fill and border, below its children, one at a time (pressed over focus over hover), faded in the engine. Their opacity is the new theme token group State ($state.hover 0.08, $state.focus 0.10, $state.pressed 0.10, $state.dragged 0.16 for later): the binder gives the colour that alpha, and a colour that already has an alpha ("#FFFFFF14") is drawn as written. The Default stylesheet gives Button, Toggle, Checkbox, list rows, MenuItem, tray, task and workspace items the on_surface layers; the hover opacity literals (Toggle 0.85, Checkbox 0.85, pressed 0.7) and the hand-made hover fills and Button border colours are gone. A pressed MenuItem is still filled primary. Fade time is tre's state_layer_ms (100; the spec's hover fade is 15 ms: recorded as a deviation, one value for every state). Deviations: focus layer only with keyboard focus (as the spec). Schema 1.28.
  • UX adoption, the focus ring is tre's outline (TSH-021, AC-FOC; tre 0.6.11). The ring that keyboard focus shows was a 2 px Shadows entry in the :focused state, with no gap and only on blocks that take shadows; it is now an outline: Outline_Width 3, Outline_Offset 2 (a gap the page shows through) and Outline_Color color.primary, from the new theme tokens space.focus_ring_width and space.focus_ring_offset. It shifts no layout, leaves a block's own Shadows alone (they no longer share the state), and a :focused rule or a stylesheet can change it with the new style keys Outline_Width, Outline_Offset and Outline_Color (Box, FlexBox, Rectangle, ScrollBox, TextField). An ancestor that clips its children (a ScrollBox's viewport) clips the ring at its edge. The shell still decides when the ring shows (keyboard focus only, a click shows none, a disabled block none), as before. Schema 1.29.
  • UX adoption, the engine's baseline colours follow the look (tre 0.6.11 scheme). Every window the shell makes (Bars, Panels, Popups, the Frame's painter and strips, the click catcher) now gets scheme (light for a light desktop, else dark) and the baseline roles its theme names (color.surface, on_surface, on_surface_muted as tre's on_surface_variant, primary, on_primary, error, outline), live when the desktop changes light or dark. What tre draws with no colour given (an unstyled text, a text input's caret and selection, a scroll thumb) follows the theme instead of tre's own palette, with or without the Default stylesheet. A token the theme lacks leaves tre's role as it is. No schema change.
  • UX adoption, the scrollbar of the spec (Scrollbar and Scroll Container; tre 0.6.11 scrollbar properties). A ScrollBox (the List's viewport, a TextBox) now has a thumb 8 px thick in a 12 px hit area, 2 px from the edge, at least 32 px long, with the corner radius 4, at 0.70, 0.80 and 1.00 opacity at rest, under the pointer and dragged, in the theme's muted ink, and a wheel notch and an arrow key of 40 px and a Page step of 0.9 of the viewport; before, a one-axis view kept tre's legacy look (a 4 px thumb). The sizes are the new theme token group Scrollbar ($scrollbar.width, hit_width, margin, min_length, gutter, radius, opacity, opacity_hover, opacity_drag, wheel_notch, key_line, page_fraction); the thumb colour is color.on_surface_muted. New ScrollBox style keys Scrollbar_Width, Scrollbar_Hit_Width, Scrollbar_Margin, Scrollbar_Min_Length, Scrollbar_Gutter, Scrollbar_Radius, Scrollbar_Opacity, Scrollbar_Opacity_Hover, Scrollbar_Opacity_Drag, Scrollbar_Fill, Scrollbar_Fill_Hover, Scrollbar_Fill_Drag, Scrollbar_Track_Fill, Scrollbar_Show (OVERFLOW, ALWAYS, AUTO_HIDE, NEVER) and Scroll_Wheel_Notch, Scroll_Key_Line, Scroll_Page_Fraction change one thing, in the block's Style or a stylesheet rule. A Popup whose content is taller than its Max_Height (the Tray menu) scrolls in a view with the same scrollbar. Not done: the tonal track and Scrollbar_Show per axis. Schema 1.30.
  • Appearance { Scheme: DEFAULT | LIGHT | DARK } in settings.tdl (TSH-061). DEFAULT (the default) follows the desktop through the Settings portal, as before; LIGHT or DARK uses that scheme always and ignores the desktop's, also when it changes while the shell runs. Applies on reload (taking the key out follows the desktop again from the next portal change). Appearance.scheme_override carries it. Schema 1.31.
  • One tooltip card (TSH-004, AC-TIP-13, AC-TIP-21). The plain tooltip of the spec: a fill of the new theme token color.inverse_surface, the corner radius shape.small and no shadow, text in color.inverse_on_surface (new tokens, Dark, Light and High_Contrast; 14 to 15 to 1 in Dark and Light). An inline Tooltip { } starts from that card (a key written in its Style replaces the card's own) and so does the Tooltip: "text" form, whose padding is now 8 by 4 (was 12 by 8). The eight literal cards of Audio (two), Battery, Clock, Network, Task Item, Tray Item and Workspace Item (a surface_raised fill, radius 8, a 20 percent shadow, padding 12 by 8) are gone: they take the card and write only their content, in the inverse ink, with the padding 8 by 4. Visible: tooltips are now light on a dark desktop (dark on a light one), square-cornered at 4, and flat. Schema 1.33.
  • Contrast over every role pair of the theme in Dark, Light, High_Contrast and High_Contrast on a Light scheme (TSH-042, AC-COL-3, AC-COL-4): tests/test_contrast.py checks text pairs at 4.5 to 1 and pictogram, border and fill pairs at 3 to 1, and keeps the failures it knows in a list that fails when one changes: the Dark outline on surface_raised is 2.69 to 1 (a Button's border, a card's edge); the High_Contrast mode on a Light scheme keeps the Light error (3.21), warning (3.54) and success (3.27) on black. The accent token as text is 4.38 (Dark) and 3.82 (Light) on surface, 3.90 and 4.11 on surface_raised; nothing shipped uses it as text (a test says so), so it is a token finding for the vault (TSH-043). No code change.
  • Colour values after the UX decision ADR-0025: the Dark outline is #5F7188 (3.61 to 1 on surface, 3.21 on surface_raised), and the High_Contrast block names its own Error #F2958C, Warning #E6BB6A and Success #8CCB9A (it inherited the Light values on black: 3.21 to 3.54 to 1, now 9.45 to 11.68). The contrast test's list of known violations is empty; accent is never text (it passes 3 to 1 as a pictogram or border everywhere). The Menu Item hover is a state layer, not an outline fill.
  • F6 and Shift+F6 cycle between the shell's surfaces (TSH-015, AC-KBN-3). From a surface that has the keyboard, F6 enters shortcut mode and steps to the next surface in Focus_Order / file order (Shift+F6 the previous one); in the mode it is Next_Focus and Previous_Focus; Ctrl, Alt or Meta with F6 are left alone. It reaches the shell only while one of its surfaces has the keyboard (a Bar clicked with Keyboard: ON_DEMAND, a Panel); from another window, Enter_Shortcut_Mode stays the way in (a global F6 would take the key from every application). No schema change.
  • State cues that are not colour or dimming alone (TSH-023, TSH-073; AC-MOD-TIT-7, AC-MOD-TRI-7). A minimised Task Item keeps its dimming and gains a 2 dp bar under the item; a Tray Item that needs attention keeps its warning border and gains a 6 dp dot in the corner (the Task Item already had its dot). No schema change.
  • Ctrl+C copies the selection of a selectable Text (TSH-081, AC-SEL-1, AC-SEL-4, AC-SEL-10): from a Bar, a Panel or a focused Popup the selected pieces go to the clipboard, joined with a newline; a focused text input keeps its own copy. A keyboard-only user still cannot start a selection (engine limit, noted in the Text Selection spec). No schema change.
  • Tokens instead of literals (TSH-037, TSH-039, TSH-056; AC-ICO-1, AC-DEN-1, AC-PEK-14). The Icon module with no Size takes the density's icon size (24, 20, 20; was 16), and a menu item's icon and submenu arrow take density.icon_size and density.chevron_box (were 16). A module's slots now read the spacing scale as space.step_1 to space.step_8 (as they read density.*), and the shipped modules write their Padding and Spacing with it where the value is on the scale (a tooltip's Gap is not a slot and stays a number). The ink of a Peek handle where the Frame has no border to give it is the theme role on_surface or surface, whichever reads better on the Frame's fill (it was one of two literal greys), and the Frame's paint carries it. Visible: icons without a Size and menu icons are larger than before. Schema 1.34 (documentation of the tokens).
  • Padding on a Bar and on a Panel (TSH-055, AC-PNL-4, AC-BAR-17): the space between the surface's content and its sides, a number or four sides, applied to the surface's body (inside its Width and Height, added to a content-sized Panel). A Panel with Meld: true refuses it (its content is drawn in the Frame's painter). Still not built: Class on a Bar and a Panel, Margin on a Panel, Text_Rotation, Exclusive_Zone on a Panel. Schema 1.35.
  • List takes Empty and Count (TSH-082, AC-EMP-1): with Empty: "No results" and Count: 0 (the caller passes the number of entries it loops over, a module cannot count its Content) the List shows one muted text node inside itself and keeps its role and name; with any other count, or none, nothing changes. Multi-select (Selection: MULTIPLE) waits for the engine's selection model. Schema 1.36.
  • A Peek's handle is a button for assistive technology (AC-PEK-16): the handle's holder has the role button, the name "Expand {name}" at rest or "Collapse {name}" while out, the expanded state, and a press without a pointer position opens or closes the peek. The holder still takes no pointer, so the Frame's input region does not change. Only the handle of a Panel or strip with a Peek whose Handle is not NONE is exposed; a peek with no handle has no control for a screen reader yet. No schema change.
  • UX adoption, Auto_Hide of a Bar (TSH-010 part b). Auto_Hide (default false: a Bar opts in with true; the owner's decision of 2026-11-21, the spec's "on by default" is changed by the vault) and Auto_Hide_Delay (ms, default 1000) are built. The pointer leaving a Bar starts the delay; then it slides out (200 ms, the edge margin to 1 - thickness), then exclusive_zone goes to 0, so windows reflow once. A 1 px hover strip is the input region while it is out; the pointer on it brings the Bar back (the zone first, then the slide in). A Bar that has the keyboard or a Popup of its own open stays (looked at again each delay); reduced motion does it at once; a hot reload brings a slid-out Bar back; a fullscreen window keeps the strip without input. New surfaces/autohide.py. Part c, in the same change: entering shortcut mode brings a slid-out Bar back and holds every Bar out while the mode lasts; leaving the mode or Escape starts the delay of each Bar it brought back (ADR-0021). Not built: content fade and Animation of a Bar. Schema 1.37.
  • Animation { Type: SLIDE | FADE | NONE, Duration } on a Bar (TSH-053, AC-BAR-17, AC-MOT-2): how an Auto_Hide Bar goes out and comes back. SLIDE (the default, 200 ms, as before) moves it past its edge; FADE fades its opacity and then leaves the strip, and fades back in; NONE changes at once. The desktop's reduced-motion setting makes every Bar change at once whatever the block says. A Bar's Show and Hide stay immediate, and a Popup's Animation is still not built (it needs a compositor test of a window that outlives its close). Schema 1.38. Not yet seen on a real KWin.
  • Receives { On_Changed: Field } in a module file: the events written on a use go to the named block of the layout instead of the root, so a module whose root is a container can hold a TextField (or any block that raises the event) and still forward On_Changed, On_Submit and the rest. The target must exist and raise the event (checked once, when the module is read); an event not named goes to the root as before; a module with no Receives is unchanged. This is what the planned TextInput error and helper lines (TSH-084) need. Schema 1.39.
  • The Launcher's results list is no longer a Tab stop (the Launcher spec: the keyboard stays in the text field). The owner's check on KWin: Tab took the keyboard to the list, where Enter started nothing. Now Tab leaves it in the field, the arrows move the selection from the field and Enter starts the lit row. The list holds at most max_results rows (8) by design, so it has no scrollbar; a scrolling list is a List of your own. No schema change.
  • TextInput takes Helper and Error (TSH-084, AC-VAL-3, AC-VAL-5, AC-VAL-7), and a TextField block takes Invalid, with a new :invalid style state. Helper is a line of help under the field; Error replaces it with a message (an alert icon and the words in the error colour, polite live region) and marks the field invalid: its outline takes the error colour and keeps it while hovered or focused, assistive technology reads invalid, and the message (else the helper) is the field's accessible description. The call decides when to show the message. A TextField block now sends Description to its text input, not its box. The TextInput module's root is a container with the field and the lines, and its Receives sends the call's events and a stylesheet rule on TextInput to the field; rules reach the block the first Receives names (apply_module_rules). Schema 1.40.
  • Shortcut mode could be left on by a click: with the mode on and the keyboard taken by another window (the owner's check on KWin: Escape and F6 then went to Chrome), the mode stayed on with no way out but a restart. It now ends by itself when no surface of the shell has the keyboard 2 s after one lost it (a move to the next surface, or a compositor that takes the keyboard back for a moment, is not that), and the new command tesserae-shell leave-shortcut-mode (D-Bus ExitShortcutMode, answering whether the shell was in the mode) is a way out whichever window has the keyboard. Escape from a Bar that entered the mode with F6 is tested. No schema change.
  • A Marquee's scrolling text no longer takes the pointer outside its box, and a Task item is as wide as its title (up to max_width). The owner's check on KWin: a click on a workspace hit a task item. The text a Marquee scrolls is wider than its box and the part scrolled past the box is clipped but was still a click target, covering the neighbouring blocks (a long title scrolled over the Workspaces); the text node is no longer a hit target, the box is. A Task item also kept a fixed max_width even for a short title, leaving blank click space and pushing the next item right; it now fits its title (the Width: AUTO, Max_Width of its title). No schema change.
  • Per-state state-layer fade times (tre 0.6.12): style keys Hover_Layer_Ms, Pressed_Layer_Ms and Focus_Layer_Ms (the fade of that layer, in milliseconds) and theme tokens state.hover_ms (100: ADR-0009 asks 15, but a 15 ms hover fade leaves one layer pixel behind after a real click on the private sway, tests/test_media_live.py; the engine's default is kept until tre is asked), state.pressed_ms (105) and state.focus_ms (150), which a block with a layer takes unless it writes the key: a hover wash comes at once, a press a little slower, the focus layer slowest (ADR-0009). Headless-tested only (the owner does not run main). Schema 1.41.
  • Every window of the shell sets tre 0.6.12's drag_start_px to 4: while a button is held, the pointer has to move 4 pixels before a drag starts, so a click with a little jitter stays a click (a peek, a scrollbar thumb, a movable Panel, a slider). Headless-tested only (the owner does not run main). No schema change.
  • The highlight of a selection has 2 px corners on a selectable Text and in a TextInput or TextEditor (tre 0.6.12 selection_radius; a design choice, the Text Selection spec records no value); the fill is the engine's own, the scheme's primary at 30 percent, now also on a static Text. No new keys. Headless-tested only (the owner does not run main). No schema change.
  • Escape during a Peek drag (tre 0.6.12 pointer_cancel): the body goes back to where the drag started (the tab, or fully out) instead of staying wherever the pointer left it or opening because it passed half; a press that never moved is dropped. Headless-tested only (the owner does not run main). No schema change.
  • No empty surface flashes when a Bar or a Panel opens (tre 0.6.12 first_present): a layer surface is mapped by its first buffer, so the shell now holds the first frame until the tree is built (a deadline of 3 s shows it anyway). Headless-tested and run on the private sway (media, shortcut mode, focus and popup live tests); the owner does not run main. No schema change.
  • A popup with a shadow keeps its body 8 px off the screen edge when the compositor flips or slides it (tre 0.6.12 edge_margin; 8 is a design choice, taken from the shadow room around the body, so a popup with no shadow gets none). Headless-tested only (the owner does not run main). No schema change.
  • A Frame drawn with paths (every Frame_Join and Frame_Blend: SRGB) now casts its Elevation or Shadows shadow just inside its inner edge, as the ring shader does (tre 0.6.12: a path's shadow follows its holes); the warning that such a Frame has no shadow is gone. Headless-tested only (the owner does not run main). No schema change.
  • Animation { Type: FADE | NONE, Duration } on a Popup and an inline Tooltip (TSH-053, AC-POP): with FADE (200 ms unless Duration says otherwise) a popup comes in from nothing and fades out before its window closes; NONE, the default, is as before. Type: SLIDE is refused (not built), and the desktop's reduced-motion setting opens and closes it at once. A popup the compositor dismissed is gone at once. Schema 1.42. Headless-tested only; the private-KWin kit step for the fade-out of a grabbing popup is still to run (the owner does not run main).
  • Conformance to the Tesserae behavior standard, first slice (tests only; one observation seam): TooltipManager.tooltip_log records what a tooltip did and why (read by no code of the shell), and tests/behavior/ runs the tooltip corpus of tess-behavior against the shell's real tooltip (skipped without the package, which is private until its first release: tests/behavior/requirements.txt). Result: 3 of 17 cases pass strictly (the shell has no cancelable before_change); with events ignored 9 of 17 pass and the real gaps are listed in the test file (the open tip is not hidden from assistive technology, blur, Enter, Space and window focus loss do not close it). No schema change.
  • Conformance to the behavior standard, second slice (tests only): the search_field corpus run on the Launcher's query field (tests/behavior/search_field_host.py). Strict: nothing passes (the Launcher has no clear button, no controlled value, no disabled option, and reports no change events with reason and detail); with events and parts ignored (a diagnostic) the three cases the field can run pass: typing sets the value, Escape clears it, the same text is no change. No schema change.
  • An open tooltip is hidden from assistive technology when its trigger carries the text as its description (Tooltip > Accessibility, AC-TIP-19): a screen reader reads the trigger's description and never needs the tip layer. A trigger with no description (an inline Tooltip { } with its own content) keeps its tip exposed, as the only place the text is. No schema change.
  • A tooltip shown by keyboard focus is removed at once when focus leaves its block (Tooltip > Behavior): no grace period, the tip was the focus's. Before, it waited out the exit delay as if the pointer had left. No schema change.
  • Enter or Space on the focused trigger removes its open tooltip (Tooltip > AC-TIP-7); the key still activates the block. The tip does not come back until the pointer has left and entered again. No schema change.
  • A surface losing keyboard focus removes the open tooltip on one of its blocks (Tooltip > AC-TIP-8); it comes back only after the pointer has left and entered again. No schema change.
  • An inline Tooltip { } block gives its text to the trigger as its accessible description, like the Tooltip: "text" form (Accessibility, rule 11): an open tip is hidden from assistive technology, so without this its text would be nowhere in the tree. The one Text in the tip gives it (a slot stays a slot; several plain texts are joined by a space); a tip with no text gives none and stays exposed. No schema change.
  • Docs: the Description key's text now says that the text of a Tooltip, in the text form or as the one Text of an inline Tooltip { }, is also the block's description (the open tip is hidden from assistive technology). Schema export 1.43 (docs text only).
  • The engine pin is tesserae-engine>=0.6.13,<0.7 (uv.lock 0.6.13); CI fetches tre's virtual-pointer helper from the v0.6.13 tag. No behaviour change by itself: the 15 ms hover fade and multi-select follow.
  • The hover layer fades in 15 ms again ($state.hover_ms, ADR-0009; it was 100 on tre 0.6.12, whose 15 ms fade left one layer pixel on a real compositor; tre 0.6.13 fixes that). Schema export 1.44 (the documented default).
  • List { Selection: MULTIPLE } (TSH-082): the List chooses a set with the engine's own container selection (tre 0.6.13, no range logic of the shell): click, Shift+click a range, Ctrl+click a toggle, Shift+Up and Down extend, Ctrl+Up and Down move focus, Ctrl+Space toggles, Ctrl+A chooses every enabled entry, Escape keeps the set, a disabled entry is skipped (AC-SLT-1 to 5). The container is multiselectable and each entry says selected to assistive technology, and the engine announces "N selected" once, polite, after 300 ms (AC-SLT-8, 9; read from the real AT-SPI tree on a private sway). Selected and On_Changed's old, new and value are the keys of the chosen entries joined by a comma, in the entries' order. The type-ahead search stays SINGLE's. Selection_Mode takes MULTIPLE (schema export 1.45).
  • A test with REAL key events on a private sway (tests/test_real_keys_list.py, keys from wtype, the choice read from the AT-SPI tree): Down, End, Home, Page Down and Page Up move a List's choice. It measures that the engine's real names for these keys match the snake_case names the shell matches (home, end, page_down, page_up). Tests only.
  • Conformance to the behavior standard, third slice (tests only): the list (Selection) corpus run on the multi-select List (tests/behavior/list_host.py), and the corpus pin moves to tess-behavior d426d41 (all three corpora re-run on it). Strict: no case passes (rows take no keyboard focus, the shell reports no selection_change, the role is list/listitem, the shell's SINGLE keeps no anchor); with events, focus and tree ignored (a diagnostic) the engine's own rules pass: click, Shift and Ctrl ranges, Ctrl+A, Escape, a click on empty space, Shift+Arrow. 7 cases are not run (no select_all_key, select_on_focus or unselectable option). A real-key test on a private sway adds Ctrl+A and Escape (AC-SLT-4).
  • A List you can choose from (Selection: SINGLE or MULTIPLE) is a listbox of option entries for assistive technology, as the UX standard requires (AC-LST-01; multiselectable for MULTIPLE); a List with Selection: NONE keeps list. The roles LISTBOX and OPTION are in Role (schema export 1.46). The Launcher's results list is a List, so it is a listbox now. Read from the real AT-SPI tree on a private sway (the container is a list box, the entries list items as AccessKit maps option).
  • The list adapter moves to tess-behavior 8a10ac4 (36 list cases): the two accessibility tree cases now pass strict (the roles above); the active_descendant variants run on the List (the list takes the focus and the engine moves its own cursor row, which is not readable, so active is never seen). Tests only.