Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Firefox] Highlights disappear in PDF.js on zoom #8078

Open
45mg opened this issue Jul 28, 2023 · 2 comments
Open

[Firefox] Highlights disappear in PDF.js on zoom #8078

45mg opened this issue Jul 28, 2023 · 2 comments

Comments

@45mg
Copy link

45mg commented Jul 28, 2023

This occurs when viewing a PDF in Firefox using the built-in PDF.js viewer.

Clicking the bookmarklet allows one to see the highlights as usual. However, zooming in/out on the PDF makes them vanish. The sidebar is still visible, but the highlights are no longer seen on the original document. The only way to fix this (that I know of) is to refresh the page and enable the bookmarklet again.

Demonstration:

Before zoom:
image

After zoom:
image

Also note that the highlight regions are not properly centered on the text they cover, but that seems less critical than a total loss of functionality.

@robertknight
Copy link
Member

Can you indicate the version of Firefox you are using and the version of PDF.js (this is displayed in the Console tab in the developer tools).

@45mg
Copy link
Author

45mg commented Jul 31, 2023

Firefox 115.0.2 (64-bit)

This is what I see in the console:

PDF 63146ad8f55e17883ab34d20a0d6b0a6 [1.4 3-Heights™ PDF Optimization Shell 6.3.1.5 (http://www.pdf-tools.com/) / -] (PDF.js: 3.7.96 [23958ffc5])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants