Skip to content

[Bug]: [PDF Viewer Extension] PDFs get closed automatically after Chrome relaunch, if they have been inside a tab group #21410

Description

@bzmind

Attach (recommended) or Link to PDF file

1. Newton - the Path of Light - 1953_reith1.pdf

Web browser and its version

Google Chrome Version 149.0.7827.54 (Official Build) (64-bit)

Operating system and its version

Windows 11 23H2

PDF.js version

4.6.129

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

Yes

Is a browser extension

Yes

Steps to reproduce the problem

  1. Open a PDF using the extension in Chrome version 149.
  2. Add it to a tab group
  3. Reload Chrome
  4. That tab is turned into a default "New Tab"

What is the expected behavior?

Even after reloading Chrome, the PDF tab should still be there, inside the tab group.

What went wrong?

The tab with the PDF file closes after Chrome is relaunched, if it was inside a tab group.

Link to a viewer

No response

Additional context

On the newest version of Chrome as of now (Version 149.0.7827.54 (Official Build) (64-bit)), when you open a PDF using this extension, AND add that PDF to a tab group, reload Chrome, you'll see that the PDF tab is gone and it is turned into a default "New Tab" page, but if you press backwards button, it'll reload your PDF, but nonetheless, it is really annoying. I tried this on Chrome version 148, and this issue didn't happen. I really hope you fix it. Thanks.

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