Skip to content

Extension camera toggle clears remembered camera while recording is locked #3136

Closed

Description

@AksharP5

Description

The extension's standalone recorder keeps its camera status button enabled while recording locks the rest of the device settings. Pressing On clears both the selected camera and remembered camera preference. The picker and resulting Off control are locked, so the window cannot restore that camera until recording ends.

Reproduction

  1. Open Cap's standalone recorder window from a non-injectable page such as chrome://newtab, with no injectable fallback tab.
  2. Select a camera and start recording, leaving the standalone recorder window open.
  3. Press the camera's On button while its device picker is disabled.

Expected: the camera status control observes the same recording/busy lock as the picker.

Actual: it changes to Off and clears the camera preference. The next recording also loses the remembered camera choice.

Additional Context

  • Baseline: 8b4e43817ac1f49afcd2b3d7e4149534a97a81fe, extension 1.0.4.
  • Reproduced in DOM tests using the actual popup, selection, preference, storage and runtime-message code. Recording starts through the real UI with Chrome service-worker responses mocked.
  • Locked recording, paused and uploading states reproduce with mouse and keyboard input; idle behavior remains available.
  • Native Chrome, camera hardware, real recording, permission prompts and CSS rendering were not tested. These manual Chrome steps are traced from production code.
  • A related disabled-prop issue was previously fixed for the separate web microphone selector in PR #1363. This report concerns the extension camera control and lost preference.

Activity

  1. linear commented on Oct 24, 2026

    @linear
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions