Closed Bug 1531473 Opened 5 years ago Closed 3 years ago

carriage returns not included in copy/paste output

Categories

(Firefox :: PDF Viewer, defect, P3)

65 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1702299
Tracking Status
firefox65 --- affected

People

(Reporter: tucker_fowler, Unassigned)

Details

(Whiteboard: [pdfjs-c-text-selection])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce:

preview PDF in firefox
select all
copy
paste into any other notepad or processing app

Actual results:

formatting is retained with the exception of the presence of carriage returns in the pasted output. This may be a product of the pdf.js update.

Expected results:

as in pre 65 releases carriage returns should be copied with formatting.

bug may only be present in a PDF that includes whitespace as selectable to copy

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.3; rv:65.0) (20190211233335)

I've tested this report on Mac OS X 10.13 using the latest Nightly and Fx release build. I did not manage to reproduce the mentioned behavior. When following the provided steps I don't see any unexpected characters in the paste output.

Are you able to reproduce this behavior in safe mode?
Can you provide a link to the pdf file you experience the problem with?

Component: Untriaged → PDF Viewer
Flags: needinfo?(tucker_fowler)

I cannot provide a link to the pdf's that I experience the issue with. They are government documents. I can tell you that the behavior is not present in the current ESR release and as mentioned the bug may only pertain to pdfs that render with selectable whitespace throughout the document. Formatting other than the carriage return issue is unaltered and the document can be recreated correctly by returning where the carriage returns should be. Are you pasting to notepad or an equivalent?

Flags: needinfo?(tucker_fowler)

Without a PDF this will be hard to fix. If you run into another PDF that has the same issue that you can share please attach it to this bug.

Priority: -- → P3
Whiteboard: [pdfjs-c-text-selection]
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.