# Bug Reports

**URL:** https://pdfjs.community/c/bug-reports/10.md

[Latest](https://pdfjs.community/latest.md) · [Categories](https://pdfjs.community/categories.md) · [Tags](https://pdfjs.community/tags.md)

---

## [About the Bug Reports category](https://pdfjs.community/t/about-the-bug-reports-category/29)

<div class="topic-metadata">

**Author:** [@Logan](https://pdfjs.community/u/Logan)\
**Replies:** 0

</div>

This topic is used to capture bug reports for PDF.js and PDF.js Express.

---

## [Highlight annotation text doesn't cover the selection for some files](https://pdfjs.community/t/highlight-annotation-text-doesnt-cover-the-selection-for-some-files/1984)

<div class="topic-metadata">

**Author:** [@dorota.k](https://pdfjs.community/u/dorota.k)\
**Replies:** 11\
**Last updated:** [September 21, 2026, 6:42am UTC](https://pdfjs.community/t/highlight-annotation-text-doesnt-cover-the-selection-for-some-files/1984 "2026-09-21T06:42:25Z")

</div>

Which product are you using? PDF.js Express Plus 8.4.0 Detailed description of issue Hi there! For some PDF files higlight annotations are not working correctly. Selected text (as you can see in comments below on the…

---

## [Undo and Redo buttons don't switch from Cloudy to Solid style for Rectangle annotation](https://pdfjs.community/t/undo-and-redo-buttons-dont-switch-from-cloudy-to-solid-style-for-rectangle-annotation/3808)

<div class="topic-metadata">

**Author:** [@dmit.ostapchuk](https://pdfjs.community/u/dmit.ostapchuk)\
**Replies:** 2\
**Last updated:** [November 14, 2025, 6:02pm UTC](https://pdfjs.community/t/undo-and-redo-buttons-dont-switch-from-cloudy-to-solid-style-for-rectangle-annotation/3808 "2025-11-14T18:02:35Z")

</div>

Steps to reproduce the bug: Add rectangle with the Solid style to the document Change its style to Cloudy Press Undo button (or Ctrl+Z) Expected result: The rectangle style will change to Solid. Actual result: The …

---

## [Watermark Now Appearing in Viewer](https://pdfjs.community/t/watermark-now-appearing-in-viewer/3783)

<div class="topic-metadata">

**Author:** [@crmdevelopment](https://pdfjs.community/u/crmdevelopment)\
**Replies:** 5\
**Last updated:** [August 21, 2025, 3:24pm UTC](https://pdfjs.community/t/watermark-now-appearing-in-viewer/3783 "2025-08-21T15:24:10Z")

</div>

Hi, For the last few days, it’s been reported that users are seeing the pdfjs.express watermark in the VIEWER (we have a paid subscription). The resulting PDF generated through the API does not show the watermark, only…

---

## [Pdf text not displaying correctly](https://pdfjs.community/t/pdf-text-not-displaying-correctly/3717)

<div class="topic-metadata">

**Author:** [@fuse](https://pdfjs.community/u/fuse)\
**Replies:** 2\
**Last updated:** [June 30, 2025, 8:36pm UTC](https://pdfjs.community/t/pdf-text-not-displaying-correctly/3717 "2025-06-30T20:36:35Z")

</div>

We have a PDF which text elements are not being displayed. The Pdf when opened by a desktop PDF viewer appears fine: However, when the same PDF goes even into the PDFJS demo, all of the text is removed. Is there …

---

## [Huge memory leak - React](https://pdfjs.community/t/huge-memory-leak-react/2577)

<div class="topic-metadata">

**Author:** [@CarlosVergikosk](https://pdfjs.community/u/CarlosVergikosk)\
**Replies:** 26\
**Last updated:** [June 28, 2025, 5:06am UTC](https://pdfjs.community/t/huge-memory-leak-react/2577 "2025-06-28T05:06:55Z")

</div>

Hello, we have been using @pdftron/pdfjs-express-viewer since last week and we noticed a memory leak. We encountered this problem while trying to use the Viewer in a Modal that unmounts everytime you close it. Reproduc…

---

## [Watermark is shown when using Typescript type imports from @pdftron/webviewer](https://pdfjs.community/t/watermark-is-shown-when-using-typescript-type-imports-from-pdftron-webviewer/3719)

<div class="topic-metadata">

**Author:** [@tech.admin](https://pdfjs.community/u/tech.admin)\
**Replies:** 1\
**Last updated:** [June 10, 2025, 3:43pm UTC](https://pdfjs.community/t/watermark-is-shown-when-using-typescript-type-imports-from-pdftron-webviewer/3719 "2025-06-10T15:43:03Z")

</div>

Hello, I am using the @pdftron/pdfjs-express library with a license key and on the deployed app the pdfjs-express watermark is not visible, which is good and expected. When I npm install @pdftron/webviewer and use type…

---

## [POST https://pi.pdfjs.express/events net::ERR\_CERT\_DATE\_INVALID](https://pdfjs.community/t/post-https-pi-pdfjs-express-events-net-err-cert-date-invalid/2795)

<div class="topic-metadata">

**Author:** [@duongxuanhieu1999](https://pdfjs.community/u/duongxuanhieu1999)\
**Replies:** 2\
**Last updated:** [August 23, 2023, 1:54pm UTC](https://pdfjs.community/t/post-https-pi-pdfjs-express-events-net-err-cert-date-invalid/2795 "2023-08-23T13:54:54Z")

</div>

Hi can you fix this issue

---

## [Text selection highlight misalignment during zoom operations](https://pdfjs.community/t/text-selection-highlight-misalignment-during-zoom-operations/3648)

<div class="topic-metadata">

**Author:** [@harald](https://pdfjs.community/u/harald)\
**Replies:** 3\
**Last updated:** [March 24, 2025, 7:21pm UTC](https://pdfjs.community/t/text-selection-highlight-misalignment-during-zoom-operations/3648 "2025-03-24T19:21:34Z")

</div>

Which product are you using? PDF.js Express Viewer v8.7.5 Detailed description of issue When zooming in and out after selecting text in the document viewer, the highlight layer becomes misaligned with the underlying t…

---

## [net::ERR\_CERT\_DATE\_INVALID on auth pdfjs.express](https://pdfjs.community/t/net-err-cert-date-invalid-on-auth-pdfjs-express/233)

<div class="topic-metadata">

**Author:** [@ipquants](https://pdfjs.community/u/ipquants)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 5:40am UTC](https://pdfjs.community/t/net-err-cert-date-invalid-on-auth-pdfjs-express/233 "2025-03-11T05:40:26Z")

</div>

Detailed description of issue The auth call gets a net::ERR\_CERT\_DATE\_INVALID error and as a result the watermark is added on the viewer. When the call is made from the browser, https://auth.pdfjs.express/?key=… one c…

---

## [Error: HTML5 compatible browser](https://pdfjs.community/t/error-html5-compatible-browser/3607)

<div class="topic-metadata">

**Author:** [@schoolio](https://pdfjs.community/u/schoolio)\
**Replies:** 0\
**Last updated:** [February 24, 2025, 4:21pm UTC](https://pdfjs.community/t/error-html5-compatible-browser/3607 "2025-02-24T16:21:32Z")

</div>

Issue: Displays “Please use on HTML5 compatible browser.” The user mentioned: “Happens Sporadically. Sometimes I can refresh once and it fixes it. Other times I can refresh ten times. No luck.” User’s Device: 2023 MacB…

---

## [XFDF Merge Endpoint Giving 502 Bad Gateway](https://pdfjs.community/t/xfdf-merge-endpoint-giving-502-bad-gateway/3596)

<div class="topic-metadata">

**Author:** [@devops1](https://pdfjs.community/u/devops1)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 10:32pm UTC](https://pdfjs.community/t/xfdf-merge-endpoint-giving-502-bad-gateway/3596 "2025-02-18T22:32:07Z")

</div>

The XFDF Merge API is returning a 502 Bad Gateway error when attempting to merge certain PDFs. The PDF loads correctly in the PDF viewer without any issues, but the merge API fails when processing it. Endpoint: https://…

---

## [Error displaying part of pdf: Codestream code 0xFF53 (COC) is not implemented](https://pdfjs.community/t/error-displaying-part-of-pdf-codestream-code-0xff53-coc-is-not-implemented/3585)

<div class="topic-metadata">

**Author:** [@benjamin.rombaux](https://pdfjs.community/u/benjamin.rombaux)\
**Replies:** 1\
**Last updated:** [January 28, 2025, 4:33pm UTC](https://pdfjs.community/t/error-displaying-part-of-pdf-codestream-code-0xff53-coc-is-not-implemented/3585 "2025-01-28T16:33:15Z")

</div>

Hello, we have received a pdf, part of which is unreadable via pdfjsexpress. It seems similar to Color elements not displayed, breaking whole PDF file (TypeError: codingStyleParameters is undefined etc.) · Issue #12752 …

---

## [\[URGENT\] XFDF Merge REST API missing some form fields value](https://pdfjs.community/t/urgent-xfdf-merge-rest-api-missing-some-form-fields-value/3547)

<div class="topic-metadata">

**Author:** [@steven.y](https://pdfjs.community/u/steven.y)\
**Replies:** 6\
**Last updated:** [December 17, 2024, 7:34am UTC](https://pdfjs.community/t/urgent-xfdf-merge-rest-api-missing-some-form-fields-value/3547 "2024-12-17T07:34:30Z")

</div>

Which product are you using? PDF.js Express Plus PDF.js Express Version UI Version: 8.7.0 Core Version: 8.7.5 webviewer.min.js: 8.7.5 Detailed description of issue There are many form fields in my PDF document. Wh…

---

## [API Issues with XFDF Merge Endpoint: 500 Internal Server Error and 502 Bad Gateway](https://pdfjs.community/t/api-issues-with-xfdf-merge-endpoint-500-internal-server-error-and-502-bad-gateway/3532)

<div class="topic-metadata">

**Author:** [@devops1](https://pdfjs.community/u/devops1)\
**Replies:** 5\
**Last updated:** [December 9, 2024, 4:31pm UTC](https://pdfjs.community/t/api-issues-with-xfdf-merge-endpoint-500-internal-server-error-and-502-bad-gateway/3532 "2024-12-09T16:31:45Z")

</div>

We are encountering persistent issues with the XFDF merge API endpoint: Endpoint: https://api.pdfjs.express/xfdf/merge HTTP Method: POST Details: Error on macOS: Response: 500 Internal Server Error Error message: “…

---

## [Viewer is freezing with specail file](https://pdfjs.community/t/viewer-is-freezing-with-specail-file/3518)

<div class="topic-metadata">

**Author:** [@kashanyk](https://pdfjs.community/u/kashanyk)\
**Replies:** 7\
**Last updated:** [November 26, 2024, 5:55pm UTC](https://pdfjs.community/t/viewer-is-freezing-with-specail-file/3518 "2024-11-26T17:55:01Z")

</div>

The viewer setup on the React/vite app. Working fine with most of the files. I tried to open this file (Google Drive) in my app and saw that when scrolling it freezes in sometimes for couple a seconds. It’s blocks the UI…

---

## [\[Mozilla Firefox\] PDF text is displayed on the same page after comments on The 'Print' preview pop-up,](https://pdfjs.community/t/mozilla-firefox-pdf-text-is-displayed-on-the-same-page-after-comments-on-the-print-preview-pop-up/3521)

<div class="topic-metadata">

**Author:** [@abarrachina](https://pdfjs.community/u/abarrachina)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 7:28pm UTC](https://pdfjs.community/t/mozilla-firefox-pdf-text-is-displayed-on-the-same-page-after-comments-on-the-print-preview-pop-up/3521 "2024-11-18T19:28:47Z")

</div>

In Mozilla Firefox, for any PDF. Click on the ‘Annotates/Shapes’ options, create annotations/shapes, and create comments for these annotations. Click on the ‘Print’ button on the right upper side of the PDF Viewer. Che…

---

## [Number of replies not updated](https://pdfjs.community/t/number-of-replies-not-updated/3461)

<div class="topic-metadata">

**Author:** [@abarrachina](https://pdfjs.community/u/abarrachina)\
**Replies:** 1\
**Last updated:** [October 2, 2024, 3:31pm UTC](https://pdfjs.community/t/number-of-replies-not-updated/3461 "2024-10-02T15:31:15Z")

</div>

Hi, We are facing the following scenario: Any .pdf document is opened in the RF Reader application. Click on the ‘Annotate’ mode, select any Annotation/Shape option, and set the annotation. Open the ‘Comment’ panel and…

---

## [Highlighting goes over the text line for specific file when use Annotate options](https://pdfjs.community/t/highlighting-goes-over-the-text-line-for-specific-file-when-use-annotate-options/3179)

<div class="topic-metadata">

**Author:** [@abarrachina](https://pdfjs.community/u/abarrachina)\
**Replies:** 3\
**Last updated:** [October 2, 2024, 2:05pm UTC](https://pdfjs.community/t/highlighting-goes-over-the-text-line-for-specific-file-when-use-annotate-options/3179 "2024-10-02T14:05:16Z")

</div>

The Steps to reproduce are: Any .pdf document is open using the demo for PDF.js express Click on the ‘Annotate’ mode and click on the ‘Highlight’ button. Select a long fragment of text. After that, what happens is tha…

---

## [Why pdfviewer still shows watermark](https://pdfjs.community/t/why-pdfviewer-still-shows-watermark/3460)

<div class="topic-metadata">

**Author:** [@m.jafari](https://pdfjs.community/u/m.jafari)\
**Replies:** 1\
**Last updated:** [October 1, 2024, 3:19pm UTC](https://pdfjs.community/t/why-pdfviewer-still-shows-watermark/3460 "2024-10-01T15:19:56Z")

</div>

I’m using free version for pdfjs express with generated license for specific domain, but the pdfviewer still shows watermark. how can I disable watermark?

---

## [Some documents are being automatically rotated clockwise, which is not aligned with their original orientation](https://pdfjs.community/t/some-documents-are-being-automatically-rotated-clockwise-which-is-not-aligned-with-their-original-orientation/3380)

<div class="topic-metadata">

**Author:** [@cloudadm](https://pdfjs.community/u/cloudadm)\
**Replies:** 3\
**Last updated:** [August 26, 2024, 3:20pm UTC](https://pdfjs.community/t/some-documents-are-being-automatically-rotated-clockwise-which-is-not-aligned-with-their-original-orientation/3380 "2024-08-26T15:20:18Z")

</div>

Rotation: Some documents are being automatically rotated clockwise, which is not aligned with their original orientation. The rotation is also causing: Stretching: The PDF viewer stretches some documents, distorting…

---

## [Incorrect opacity for StampAnnotation on Chrome](https://pdfjs.community/t/incorrect-opacity-for-stampannotation-on-chrome/3036)

<div class="topic-metadata">

**Author:** [@dorota.k](https://pdfjs.community/u/dorota.k)\
**Replies:** 3\
**Last updated:** [August 16, 2024, 1:54pm UTC](https://pdfjs.community/t/incorrect-opacity-for-stampannotation-on-chrome/3036 "2024-08-16T13:54:31Z")

</div>

Which product are you using? PDF.js Express Plus 8.7.4 Detailed description of issue Hi there! Let’s try this repo as our base, with upgrading library version to 8.7.4. Let’s make some changes in code: ‘/files/PDF…

---

## [PDF Express Viewer is crashing on bookmark-more-button-0 click](https://pdfjs.community/t/pdf-express-viewer-is-crashing-on-bookmark-more-button-0-click/3400)

<div class="topic-metadata">

**Author:** [@pdfjsexpress](https://pdfjs.community/u/pdfjsexpress)\
**Replies:** 1\
**Last updated:** [August 13, 2024, 3:30pm UTC](https://pdfjs.community/t/pdf-express-viewer-is-crashing-on-bookmark-more-button-0-click/3400 "2024-08-13T15:30:21Z")

</div>

Hello community! I added the bookmarks to the left panel and added a bookmark. When I click on the button with the three dots (data-element=“bookmark-more-button-0”) the viewer crashes with the error 00:30:08.141 Ty…

---

## [500 Internal Server Error on POST https://api.pdfjs.express/xfdf/merge (Aug 9, 2024 | macOS)](https://pdfjs.community/t/500-internal-server-error-on-post-https-api-pdfjs-express-xfdf-merge-aug-9-2024-macos/3394)

<div class="topic-metadata">

**Author:** [@devops1](https://pdfjs.community/u/devops1)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 3:08pm UTC](https://pdfjs.community/t/500-internal-server-error-on-post-https-api-pdfjs-express-xfdf-merge-aug-9-2024-macos/3394 "2024-08-12T15:08:41Z")

</div>

Description: We are experiencing a 500 Internal Server Error when making a POST request to the following endpoint as of Friday, August 9th. This is similar to the error we encountered previously. Endpoint: https://api.…

---

## [500 Internal Server Error on POST https://api.pdfjs.express/xfdf/merge](https://pdfjs.community/t/500-internal-server-error-on-post-https-api-pdfjs-express-xfdf-merge/3352)

<div class="topic-metadata">

**Author:** [@devops1](https://pdfjs.community/u/devops1)\
**Replies:** 1\
**Last updated:** [August 9, 2024, 9:06pm UTC](https://pdfjs.community/t/500-internal-server-error-on-post-https-api-pdfjs-express-xfdf-merge/3352 "2024-08-09T21:06:59Z")

</div>

Description: We are encountering a 500 Internal Server Error when making a POST request to the following endpoint: Endpoint: https://api.pdfjs.express/xfdf/merge HTTP Method: POST Additional details: The error star…

---

## [Signature doesn't pop up on specific PDFs](https://pdfjs.community/t/signature-doesnt-pop-up-on-specific-pdfs/3359)

<div class="topic-metadata">

**Author:** [@variosmart](https://pdfjs.community/u/variosmart)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 6:03pm UTC](https://pdfjs.community/t/signature-doesnt-pop-up-on-specific-pdfs/3359 "2024-07-24T18:03:52Z")

</div>

I have a pdf on which the signature isnt displayed in pdfjs express. can you look into this? Dokument Word (pusty) (2).pdf (22.1 KB)

---

## [Render Radiobutton when checkbox is filled](https://pdfjs.community/t/render-radiobutton-when-checkbox-is-filled/2289)

<div class="topic-metadata">

**Author:** [@henri.piot](https://pdfjs.community/u/henri.piot)\
**Replies:** 53\
**Last updated:** [July 15, 2024, 11:55am UTC](https://pdfjs.community/t/render-radiobutton-when-checkbox-is-filled/2289 "2024-07-15T11:55:12Z")

</div>

Hello, I’m facing an issue when rendering a form containing only checkbox, when a check box is filled with a value, it render it as a radio button with red background and black circle inside, instead of tick with green b…

---

## [Problems with search](https://pdfjs.community/t/problems-with-search/2672)

<div class="topic-metadata">

**Author:** [@squad4](https://pdfjs.community/u/squad4)\
**Replies:** 18\
**Last updated:** [June 11, 2024, 11:22am UTC](https://pdfjs.community/t/problems-with-search/2672 "2024-06-11T11:22:24Z")

</div>

Hi ! My team and I are currently migrating our pdf viewer to this one. Right now we are testing with the free license, testing the different features. Everything is going well, except for one detail. When we try to do a…

---

## [PDF preview - layered image behaviour](https://pdfjs.community/t/pdf-preview-layered-image-behaviour/3243)

<div class="topic-metadata">

**Author:** [@fuse](https://pdfjs.community/u/fuse)\
**Replies:** 2\
**Last updated:** [May 24, 2024, 6:12am UTC](https://pdfjs.community/t/pdf-preview-layered-image-behaviour/3243 "2024-05-24T06:12:16Z")

</div>

Hi, We have PDFs being uploaded to the viewer which look to have a single solid image when viewed in a local viewer (Adobe, Chrome etc). The image is made up of various image objects layered over each other. When rende…

---

## [Annotation filtering doesn't reset on closing/opening section](https://pdfjs.community/t/annotation-filtering-doesnt-reset-on-closing-opening-section/3267)

<div class="topic-metadata">

**Author:** [@afarbotka](https://pdfjs.community/u/afarbotka)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 10:29am UTC](https://pdfjs.community/t/annotation-filtering-doesnt-reset-on-closing-opening-section/3267 "2024-05-14T10:29:33Z")

</div>

Steps to reproduce: Annotate 2+ different texts (2 comments created) Type 1 text in “Search comments” (1 comment left) Click “Comments” icon at the top right at the toolbar. (Comments section is closed) Click “Comment…

[Next page](https://pdfjs.community/c/bug-reports/10.md?page=1)
