Skip to content

always have a small area showing the black when edit the recording #1747

Closed as not planned

Description

@cantonadong

Description

always have a small area showing the black. always.

Reproduction

Image

every time i recording a video , it always have a small black area .

Additional Context

  • Cap version: from 0.4.81 - 0.4.84
  • Operating system, version: win 11 22631.3155
  • Device (optional):

cap-desktop.log.zip

Activity

  1. linear commented on Apr 22, 2026

    @linear
  2. tembo commented on Apr 22, 2026

    @tembo

    This issue appears to be related to a rendering change in PR #1674 (merged 2026-03-21), which coincides with the version range you mentioned (0.4.81+). That PR changed the WebGPU render pass loadOp from "clear" to "load" in apps/desktop/src/utils/webgpu-renderer.ts (lines 302 and 415). The PR review comments specifically flagged this could cause stale/garbage pixels on the first frame or after certain events since loadOp: "load" skips clearing the framebuffer.

    Looking at the screenshot, the black area appears at a consistent location which suggests the composite shader may not be covering the full canvas in certain scenarios during editing/playback.

    Related issues:

    Relevant code:

    • apps/desktop/src/utils/webgpu-renderer.ts:302,415 - the loadOp settings for both render paths
    • crates/rendering/src/ - Rust-side rendering pipeline if the black area persists in exported videos

    If the black area only appears in the editor preview (not in exported videos), the fix is likely reverting to loadOp: "clear" with a clearValue as originally suggested in the PR review. If it appears in exports as well, the issue may be deeper in the rendering pipeline.

  3. cantonadong commented on Apr 22, 2026

    @cantonadong
    Author

    it appears in exports as well

  4. richiemcilroy commented on Aug 3, 2026

    @richiemcilroy
    Member

    This is tracked by #1737 (Windows recording self-exclusion not yet implemented), so we're closing this as a duplicate. Thanks for the report, further discussion can continue over there.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions