Skip to content

Recording: keep the display awake while a recording runs #935

Description

@EtienneLescot

Part of #920 (rank 28). Effort S, risk none.

Problem

  • Nothing keeps the display or the system awake while a recording runs (no powerSaveBlocker anywhere in electron/ or src/).
  • A long passive take (a webinar, a demo left running) can reach the display sleep timeout: the capture goes black, or the machine sleeps mid-take. Hypothesis, not observed yet.

Proposal

  • powerSaveBlocker.start("prevent-display-sleep") when a recording starts, stop when it stops, pauses included, on every platform and backend.

Verify

  • A unit test with Electron mocked: started once on record, stopped on stop and on every error path, never leaked.
  • On a real machine: a 20 min passive take with a 5 min display timeout.

Activity

  1. added
    status: fixed in mainWork is merged into main but may not be in a downloadable release yet.
    status: pending releaseMerged change is waiting for a packaged desktop release.
    on Sep 30, 2026
  2. added this to the Next Release milestone on Sep 30, 2026
  3. github-actions commented on Sep 30, 2026

    @github-actions
    Contributor

    Fixed by #939 and merged into main.

    This change is assigned to the Next Release release milestone and is not necessarily available in the latest downloadable desktop release yet. It is currently marked as status: pending release until a packaged release containing it is published.

  4. EtienneLescot commented on Sep 30, 2026

    @EtienneLescot
    CollaboratorAuthor

    Moved into v2.0.0 as part of the pre-release cut.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststatus: fixed in mainWork is merged into main but may not be in a downloadable release yet.status: pending releaseMerged change is waiting for a packaged desktop release.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions