mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
47.23k stars 9.83k forks source link

Cascading PDF selection? #18172

Closed zyd-n closed 1 month ago

zyd-n commented 1 month ago

I'm not sure how to describe this bug, hence the rather poor title, please see screen recording attached.

PDF: document.pdf

Configuration:

Steps to reproduce the problem:

  1. Open attached PDF
  2. Select some text

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

See screen recording: pdf-gone-wrong.webm

For reference, poppler backed pdf readers (e.g pdf-tools in emacs, or Evince) handle the selection of this pdf just fine.

Snuffleupagus commented 1 month ago

This is effectively a combination of issue #17561 and #6011.