Detailed description of issue
We noticed a strange behavior when printing a document, sometimes the annotation text appears with its highlighted text displayed and sometimes it does not. Example: If you highlight text on a document, and then goto print and include annotations / comments, the highlight annotation includes the text which you highlighted. But it doesn’t always work, sometimes the highlighted text annotation doesn’t show anything.
Expected behaviour
Is it supposed to include the highlighted text in the print? If so we would like it to always show up, as sometimes it does not.
Does your issue happen with every document, or just one?
It happens randomly on any document.
In the example above you can see the first Highlight by Kara Smith showing the highlighted text. Then look at the last Highlight by Andy Herman and you’ll see nothing is displayed.
Could you send me the file with annotations that trigger this behavior? This might be related to the actual text that is being selected, so it would be great to have that file.
@dfelix Its just a simple highlight and print, the only difference I can see is the older annotations were done back in Feb 2022, which would mean an earlier version of the plugin.
When you annotate any document and goto print can you see the highlighted text indicated in the document?
What might be not so clear is that the text below the annotation metadata is actually a comment made on those annotations, not the text that was annotated. You can comment on annotations by opening the notes panel.
Let me know if this clarifies the behavior or if I missed something.
@dfelix Yes I see it doing the same on the demo. Is this supposed to be the way it performs? Or did it used to include highlighted text in older versions of the app?
Yep, that’s expected. The highlighted text is not supposed to go into the comment area when printing. I can’t remember it being included at any point.
Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here