Files
Muse 696579530b Stage 2 monitor app: Task Manager clone (Processes + Performance tabs)
Rust port of the Task Manager clone: TPageControl body panel with
two GtkButton tabs (ContainerWidget draws no tab strip, so the tabs
are registry buttons routed by the app). Processes tab is a live
XProcessList from /proc (sortable PID/NAME/CPU%/MEM, top 12 by CPU,
refreshes every 2 s). Performance tab is XHistoryGraph (60 s CPU +
memory), XCoreGrid (per-core), XUsageBar (Memory), XStackBar
(memory breakdown) and XNetGraph (live /proc/net/dev rates). Data
sampled every 500 ms; repaint every 2 s (text helpers measure with
query_text_extents, one server round trip per call, so a 500 ms
repaint would never catch up).

Also fixes two XProcessList rendering bugs the app exposed: the PID
column (52px) was too narrow for 7-digit PIDs (PID text touched the
NAME text) -> 64px in both draw and hit-test; the sort indicator
used U+25BC/U+25B2, which have no glyph in the fixed core font and
rendered as garbage bytes -> ASCII v/^ like the C++ widget.
2026-12-05 20:35:28 +00:00
..