Closed Bug 1779582 Opened 2 years ago Closed 2 years ago

Selecting all elements and cutting then pasting them only pastes one element

Categories

(Firefox :: PDF Viewer, defect)

Firefox 104
defect

Tracking

()

VERIFIED FIXED
104 Branch
Tracking Status
firefox-esr102 --- fixed
firefox104 --- verified

People

(Reporter: zstimi, Assigned: calixte)

References

Details

Attachments

(1 file)

Found in

  • Firefox 104.0a1

Affected versions

  • Firefox 104.0a1

Affected platforms

  • Ubuntu 20.04 x64
  • Windows 8.1 x64
  • macOS 11

Steps to reproduce

  1. Launch Firefox and set pdfjs.annotationEditorMode = 0
  2. Access any pdf form, ex: link
  3. Toggle on Add Ink Annotation button or Add Free Text Annotation button and draw a few things or write a few separate texts on pdf.
  4. Select the all elements with Select all from context menu.
  5. Cut with Ctrl+X or "Cut" from context menu.
  6. Paste with Ctrl+V or "Paste" from context menu.

Expected result

  • At step 5 all selected elements is cut. At step 6 all selected elements are pasted.

Actual result

  • At step 5 is cut only one element. At step 6 is pasted only one element.

Regression range

  • I will come back with regression range ASAP.

Additional notes

  • The same issue is for drawing and text too.
Blocks: 1778066
See Also: → 1779397

The issue is also reproduced with combined selection (text and drawing area) the paste action never activated, so the cut or copy action does not complete.

Has STR: --- → yes
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

I can confirm this issue is fixed, I verified using Firefox 105.0a1 and Firefox 104.0b2 on Win 10x64, Ubuntu 22 x64 and macOS 12. I verified using the following steps: CTRL+A, CTRL+C then CTRL+V.

Status: RESOLVED → VERIFIED
Assignee: nobody → cdenizet
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: