Skip to content

Desktop: No screen recording permission monitoring — silent degradation #5792

Closed

Description

@beastoin

Problem

If the user revokes Screen Recording permission via System Settings after initially granting it, the app continues attempting to capture screenshots. There's no periodic permission re-check, resulting in:

  • Silent loss of Rewind/screen capture data
  • Log spam from failed capture attempts
  • No user notification that the feature stopped working

Impact

  • Users lose Rewind data without knowing
  • ProactiveAssistants (Focus, Task, Memory, Advice) stop receiving screen context silently

Suggested Fix

  • Add periodic permission check (e.g., every 60s when capture is active)
  • Show a notification/banner when permission is lost
  • Stop capture attempts gracefully instead of error-flooding logs

Context

Found during desktop friction exploration (PR #5790).

Files: desktop/Desktop/Sources/ProactiveAssistants/ProactiveAssistantsPlugin.swift, desktop/Desktop/Sources/ScreenCaptureService.swift

Activity

  1. added
    bug
    p2
    on Mar 18, 2026
  2. added a commit that references this issue on Mar 19, 2026
    a04d4ef
  3. added a commit that references this issue on Mar 20, 2026
    2b798bf
  4. added a commit that references this issue on Apr 28, 2026
    bbe07f4
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

    bugdesktopp2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions