Skip to content

Saving a resized screenshot emits "complete" before the file is written #86

Closed

Description

@Shinrai

When a screenshot is resized and saved to a file, the "complete" event fires before the write finishes, so a caller that reads the file on "complete" can get a partial or missing file.

Emit "complete" (and resolve) only after the write has finished, and emit an error if the write fails.

Activity

  1. added
    type: bug
    priority: medium
    area: core
    status: not started
    on Nov 1, 2026
  2. added a commit that references this issue on Nov 1, 2026
    a3822f6
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

    area: corepriority: mediumstatus: not startedtype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions