Skip to content
This repository was archived by the owner on Oct 17, 2026. It is now read-only.
This repository was archived by the owner on Oct 17, 2026. It is now read-only.

[Bug]: Restart Recording button stops recording and opens editor instead of restarting #292

Closed

Description

@abres33

Search existing issues

  • I have searched the existing issues

Describe the bug

When clicking the Restart button in the recording HUD (the floating toolbar shown during an active recording), the current recording stops and the video editor opens — as if the Stop button had been pressed. No new recording is started.

Expected behavior

The current recording should be silently discarded and a fresh recording should begin immediately, with the HUD remaining visible and in recording state.

To Reproduce

  1. Launch OpenScreen
  2. Select a source and start a screen recording
  3. While the recording is active, click the Restart button (circular arrow icon) in the floating HUD
    toolbar
  4. Observe: the recording stops and the editor window opens with the discarded footage loaded

OS & Version

Windows 11

Additional context

Reproducible 100% of the time. Browser field is not applicable — this is an Electron desktop app (v1.3.0). The intended behavior is that restartRecording() sets a discard flag on the current recording before stopping it, which should prevent finalizeRecording() from saving the footage or opening the editor. The discard guard appears to not be taking effect on Windows.

Activity

  1. added
    bug
    on Apr 3, 2026
  2. siddharthvaddem commented on Apr 3, 2026

    @siddharthvaddem
    Owner

    @prayaslashkari can you take a look at this since you originally worked on this?

  3. abres33 commented on Apr 3, 2026

    @abres33
    ContributorAuthor

    @siddharthvaddem I already found the fix - submitting PR in a moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions