Skip to content

v2.1.0-RC.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Aug 14:53
· 35 commits to main since this release

v2.1.0-RC.3

Third release candidate on the 2.1 line. This one is almost entirely about
what the app looks like while it is working: a sweep of the flashes, blanks and
grey blinks that appeared whenever you clicked from one type to another, plus a
loading placeholder built to not become the flicker it exists to hide.

Alongside that, three correctness fixes — the Dock icon reopening a window,
attached daemons showing their real icon, and code injection choosing its path
from the whole rule rather than half of it.

This is a beta build — only clients that opted in via
Settings → Updates → Include pre-release versions receive it.


What's New

Content-shaped loading placeholders

Panes that fetch their content asynchronously now stand in a placeholder shaped
like the content it replaces, instead of leaving the previous type's data on
screen until the new one arrives.

The placeholder is deliberately hard to catch sight of. Engine calls that hit a
warm cache return in single-digit milliseconds, so anything drawn the moment
work starts would appear and vanish inside one frame — a flash in its own right.
Work that finishes quickly now shows no placeholder at all, and a placeholder
that does appear stays long enough to read, measured from when it appeared, so
genuinely slow work is never delayed further.

Quit After Closing Last Window

Settings → General → Windows gains a Quit After Closing Last Window
toggle. It is off by default, which is the existing behaviour: the app stays
resident with no window open and a Dock icon click brings a window back. Turn it
on to have RuntimeViewer behave like a single-purpose utility that exits with
its last window.


Bug Fixes

The Inspector no longer blanks when you switch types

Clicking from one runtime object to another emptied the Inspector's list and
refilled it once the query returned. Relationships unions its results across
every indexed image, so that gap was long enough to read as a flash rather than
a redraw.

The Inspector had been reusing its view controllers, but it still built a fresh
ViewModel per object and rebound it, which tore down the table's data binding
and installed a fresh one starting from an empty list. The tab ViewModels are
now bound once and handed the new object instead. Re-entering the same object —
closing a tab, moving the history cursor — short-circuits entirely, so it
neither refetches nor flashes a placeholder over content that is already
correct.

This also fixed a real defect hiding behind the visual one: the old load had no
cancellation, so on rapid selection an earlier query could return late and
overwrite a newer object's rows.

Sidebar selection no longer blinks grey

Two separate causes, both of which repainted the sidebar's selected row in the
inactive grey for a frame or two:

  • Clicking a related type stole keyboard focus. A row highlight is drawn
    unemphasized whenever its table is not the first responder, so the Inspector
    taking focus greyed out the sidebar row the user was actually looking at — for
    focus the app handed straight back some 50ms later. The Relationships and
    Specializations lists exist only to be clicked through, so they now refuse
    first responder and paint no highlight of their own. Clicking, selecting and
    navigating are unaffected; only arrow-key traversal inside those two lists is
    gone, and every arrow press there navigated away anyway.
  • Jumping to a type selected the row before scrolling to it. An outline view
    materializes a row only as it scrolls into view and applies the emphasized
    selection style after that, so the target row was drawn once in grey and
    flipped to the accent colour on the next frame. Scrolling first — and forcing
    the layout the scroll would otherwise defer — puts both in the same frame.

The tab strip no longer flashes when the tab set changes

Changing the inspected kind rebuilds which Inspector tabs exist — selecting a
protocol after a class drops the Hierarchy tab. The strip used to remove every
tab and add the new set back, which swapped the visible view several times
inside one runloop pass. Tabs that survive the change now keep their view
throughout, and only tabs that genuinely appear or disappear cost anything.

Attached daemons show their real icon

Attaching to a daemon such as launchservicesd left the source menu showing an
App Store placeholder symbol. The icon cache is populated only from Launch
Services registered GUI applications, so a daemon never landed in it and every
lookup fell through to the placeholder. Daemons now fall back to the generic
executable icon — the same one the attach picker already shows for them.

Clicking the Dock icon reopens a window

AppKit's built-in reopen handling only creates a window when it sees no visible
window at all, and it counts every window the app owns. With Settings or a
Sparkle update alert still on screen, clicking the Dock icon after closing every
document window therefore appeared to do nothing. RuntimeViewer now decides on
document windows alone, restoring a minimized or ordered-out one before falling
back to a new untitled document.

Code injection picks its path from the whole rule

Attaching to Music failed silently — nothing loaded on the target side, and no
error was reported. Two causes stacked. Routing between the two injection paths
consulted only the target's sandbox, which catches strict-seatbelt daemons but
says nothing about AMFI library validation; and Music, like every Apple
application, enforces library validation, which refuses a developer-signed
payload regardless of what the sandbox allows. The dlopen it was routed onto
could never have loaded anything, while the injector's shellcode reported
success anyway.

The decision now lives in the helper daemon, which consults both the seatbelt
predicate and the code-signing flag, so Apple applications are routed onto the
mach_vm_remap path instead of one that cannot work. The investigation — the
csops status words separating the two target classes, the controlled
experiment isolating library validation from the payload's signature — is
written up in Documentations/ResolvedIssues/.

A second instance no longer reports a phantom MCP server

Binding the MCP bridge port fails whenever another RuntimeViewer instance
already holds it. That failure used to stop at a log line: the losing instance
still wrote the port file, still reported itself as running, and kept its fully
allocated network transport — 28 event loops, 56 threads, roughly 21 MiB —
resident for the lifetime of the process. It now tears the transport down,
truthfully reports itself stopped, and leaves the winning instance's port file
alone. A regression test covers the contention scenario end to end.


Build & Tooling

  • Both package manifests agree on the same swift-helper-service floor, so the
    two halves of the app can no longer resolve different helper protocols.
  • The Core package pins every remote dependency it parses Mach-O with, so a
    fresh checkout reproduces a known-good set instead of resolving freely.
  • The release process, the documentation index, and the branching model are
    written down under Documentations/.

Carried Over From RC.1 and RC.2

Everything in v2.1.0-RC.1 and v2.1.0-RC.2
ships unchanged — multi-tab content navigation, generic type specialization,
background indexing, the Relationships inspector, batch export, theme settings,
jump to definition, line numbers, strict-seatbelt daemon injection, the iOS
Simulator runtime installer, and the Objective-C protocol listing fix for images
caught in a dyld dependency cycle.