Resume Prompt and Edit Buffer

This page covers two related Plus behaviors: the resume prompt that surfaces at startup when an active set list survives a restart, and the edit-mode buffer that lets you reshape an active set list mid-performance.


Resuming after a restart

The active set list state (which set list is active, where the cursor is, and any unsaved edits) survives a restart of Fusor Studio. The state is persisted to a JSON file on disk after every change, separately from the library database, so a crash mid-performance won't lose your place.

When Fusor Studio starts and detects an in-progress active set list, an inline panel appears in the player. The panel's text and buttons depend on whether the prior state was a live performance (set list + venue) or just an activation (set list, no venue):

If a performance was active (set list + venue):

  • Title: "Resume performance?"
  • A summary block shows the set list, venue, played-of-total count, and "Unsaved edits" if applicable.
  • Continue (blue Play icon). Restores everything, including the unsaved edit buffer if present. The status line resumes showing the venue and the in-progress coverage hint.
  • Discard (red trash icon). Labelled Discard edits when there's an edit buffer, otherwise just Discard. In either case, Discard routes through the same save prompt as Stop Performance: if there are unsaved edits, you'll be asked whether to save them first.

If only a set list was active (no venue, no performance recording):

  • Title: "Fusor Studio closed with an active set list."
  • Keep active (blue Play icon). Restores the set list as the picker source, plus the edit buffer if any. Equivalent to "Continue" above without the performance context.
  • Deactivate (red trash icon). Clears the activation. The set list itself is untouched; only the active-state pointer is cleared.

The prompt only shows up once at startup. Whichever button you press clears the "freshly resumed" indication; subsequent changes to the picker behave like a normal in-progress session.


Editing an active set list

You can edit the active set list in place during a performance (reorder, add, or remove tracks) without losing your cursor position.

The quickest way in: right-click any set list from the Set Lists sub-tab and choose Edit. Fusor Studio activates that set list (deactivating any other active one, with the usual confirm if it had unsaved edits), opens its contents view, and drops you straight into edit mode. If the set list was already the active one, the same gesture just opens the contents view and enters edit mode without re-activating.

The contents view header has a visibility cycle button (three-bar icon) that toggles between Tracks + Transitions (default), Tracks only, and Transitions only. The button cycles through the three states in that order, with the icon's bars reflecting the current mode. In Transitions only mode, the "no transition" gap markers between unconnected tracks are suppressed — that affordance exists to invite a fix-up in the mixed view and adds nothing to a transitions-focused list.

In the active set list contents view, a row of buttons sits above the list. Out of edit mode the row shows a single Edit button (pencil icon plus label). Once in edit mode it changes to:

  • Cancel (X icon, no label). Exits edit mode and throws away the pending changes.
  • Save (check icon plus label). Commits the pending changes to the active set list and exits edit mode.
  • Save As (copy icon plus label). Leaves the original set list untouched, saves the edited version as a new set list, and activates the new one.

If a performance is active while you're in edit mode, a fourth End button (red, square icon) appears alongside the others to end the performance.


The edit buffer

Edits made in edit mode live in an in-memory buffer; they don't hit the database until you press Save or Save As. While you're in edit mode:

  • The transition picker reflects the buffer, not the saved set list. This lets you preview the effect of an edit before committing it.
  • The cursor and "Next" anchor row are computed against the buffer too, so the Builder's Insert & Load action (see The Set List Builder) can load a newly-adjacent transition without saving first.
  • The buffer survives a restart along with the rest of the active set list state. Unsaved edits are restored by the Resume prompt.

If you try to deactivate the set list while the edit buffer has uncommitted changes, Fusor Studio prompts to confirm. Discarding the buffer is permanent.