Skip to content

[Bug]: Annotation artifacts remain visible in viewer after deleting all annotations. #18915

Open
@atrinker

Description

@atrinker

Attach (recommended) or Link to PDF file

test.pdf

Web browser and its version

Mozilla Firefox

Operating system and its version

Windows 10

PDF.js version

4.7.76

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

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Open the attached PDF in the default viewer.
  2. Activate the annotation editor by clicking highlight on the toolbar.
  3. Scroll down to the following pages to load the annotations.
  4. Press Ctrl+A to select all annotations in the PDF.
  5. Press delete to remove all annotations at once.

What is the expected behavior?

All annotations should be removed from the PDF.

What went wrong?

Although the annotations are no longer selectable, some of them still appear visible in the viewer. They only disappear once the annotation editor is closed.

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions