Can't stay on one recording while others stream in
Describe the annoyance
When several recordings stream into the Viewer, it jumps to each new one as soon as its first message arrives. While recordings keep arriving you can't stay on the one you're looking at, so the Viewer becomes hard to use until the streaming stops.
As far as I can tell there is no way to avoid this from the SDK or the Viewer. LogSource::open_behavior() returns OpenAndSelect for Sdk and MessageProxy, and on_new_store then calls make_store_active_and_highlight for every new recording.
To Reproduce
- Start a Viewer:
rerun - Stream a few recordings into it, a bit apart:
import time import rerun as rr for i in range(3): rec = rr.RecordingStream("my_app", recording_id=f"run-{i}") rec.connect_grpc() for f in range(20): rec.set_time("frame", sequence=f) rec.log("x", rr.Scalars(float(f * (i + 1)))) rec.flush() time.sleep(5) - Click on
run-0while the others are still arriving: the Viewer switches away torun-1, then torun-2.
Expected behavior
Once I'm looking at a recording, a newly streamed one shows up in the recordings panel but doesn't take over the view.
Your goals
We run an evaluation that replays many videos in parallel processes. Each video logs into its own recording in one shared Viewer, and we want to inspect one recording while the rest are still running.
Possible directions
I'd like to hear which of these (if any) you'd want:
- A Viewer setting like "Switch to newly streamed recordings" (default on, so nothing changes for anyone else).
- A different default: only switch to a streamed recording when no other recording is being shown.
- An SDK-side choice, similar to
make_activeonsend_blueprint, so the logging code decides whether a recording should take focus.
I have a small working prototype of the first option (~50 lines, in on_new_store plus the settings screen) that I could open as a draft PR if that's the direction you'd take.
I couldn't find an existing issue for this. The closest are #8883 (SDK commands to the Viewer, including opening and closing recordings) and #10067, which made command-clicking a partition link open a recording without switching to it — the same Open vs OpenAndSelect distinction, but for catalog links rather than streamed recordings.
Desktop:
- OS: NixOS (Linux), Viewer 0.34.1 and 0.37.2; the code path is unchanged on
main
Agent
This issue was drafted with a coding agent (Claude Code, claude-opus-5) and reviewed by me before posting.
Source: rerun-io/rerun