From d89abf5b78b704713a9e19b46b348ec74f4c93cf Mon Sep 17 00:00:00 2001 From: Twest2 Date: Tue, 16 Jun 2026 13:13:32 -0500 Subject: [PATCH] Arm capture when creating a guide from the library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit createGuide() opened the new guide with plain openGuide(), so no capture session was armed — the "Start recording" bar never bound to the new guide, and clicking it did nothing (or resumed a stale prior session). Every other open path (guide cards, search results, New Capture) arms a paused session; this aligns createGuide() with them via openGuideAndArmCapture(). --- app/renderer/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/renderer/app.js b/app/renderer/app.js index 1692691..bbd99c4 100644 --- a/app/renderer/app.js +++ b/app/renderer/app.js @@ -757,7 +757,11 @@ class StepForgeApp { if (title == null) return; const guide = await api.library.create({ title: title.trim() || 'Untitled guide' }); await this.refreshLibrary(); - await this.openGuide(guide.guideId); + // Arm a (paused) capture session like every other open path, so the + // "Start recording" bar appears and actually controls this new guide. + // Without this, a guide created from the library opened with no session, + // so Start recording had nothing to resume (or resumed a stale one). + await this.openGuideAndArmCapture(guide.guideId); } async createFolder() {