Skip to content

[Bug]: viewing list of annotations should not dirty the document #20647

@sagudev

Description

@sagudev

Attach (recommended) or Link to PDF file

compressed.tracemonkey-pldi-09.pdf

Web browser and its version

148.0b10

Operating system and its version

Ubuntu 25.10

PDF.js version

firefox builtin

Is the bug present in the latest PDF.js version?

No able to test (annotations not available).

Is a browser extension

No

Steps to reproduce the problem

  1. open annotations list
  2. close annotations list

What is the expected behavior?

document should not be marked as dirty (modified)

What went wrong?

document is marked a dirty (modified) even if no content changes happened (just viewing list of annotations should not dirty the document)

Link to a viewer

No response

Additional context

I cannot make annotations in online viewer so I cannot tested this there. Sometimes after closing annotation list document is unmarked (so not dirty anymore).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions