Closed Bug 1571532 Opened 5 years ago Closed 5 years ago

Spaces around words in italics are removed when pasting text copied from PDF documents

Categories

(Firefox :: PDF Viewer, defect)

68 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1569932

People

(Reporter: jeyoung, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

These steps describe how to reproduce the bug in Firefox 68.0.1 under Windows 10 version 1903.

  1. Open a PDF document in Firefox.
  2. Highlight a phrase that contains at least one word in the middle of the text.
  3. Press Ctrl-C (or right-click and select Copy) to copy the selection to the clipboard.
  4. Open Notepad.
  5. Press Ctrl-V (or right-click and select Paste) to paste the content of the clipboard.

Actual results:

The spaces around the word(s) in italics are not present in the pasted text.

Expected results:

The spaces around the word(s) in italics should have been preserved.

Cheeky assignment to @mconley because I'd like to see this fixed on The Joy of Coding ;-)

(In reply to Eddy Young from comment #0)

Created attachment 9083110 [details]
Screenshot showing the manifestation of the bug

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

These steps describe how to reproduce the bug in Firefox 68.0.1 under Windows 10 version 1903.

  1. Open a PDF document in Firefox.
  2. Highlight a phrase that contains at least one word in italics in the middle of the text.
  3. Press Ctrl-C (or right-click and select Copy) to copy the selection to the clipboard.
  4. Open Notepad.
  5. Press Ctrl-V (or right-click and select Paste) to paste the content of the clipboard.

Actual results:

The spaces around the word(s) in italics are not present in the pasted text.

Expected results:

The spaces around the word(s) in italics should have been preserved.

Component: Untriaged → PDF Viewer
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: