Closed Bug 1817233 Opened 2 years ago Closed 4 months ago

Paste + Select All + Cut copy the content incorrectly

Categories

(Firefox :: Address Bar, defect, P3)

Firefox 110
Desktop
All
defect

Tracking

()

VERIFIED FIXED
138 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox110 --- wontfix
firefox111 --- wontfix
firefox112 --- wontfix
firefox138 --- verified

People

(Reporter: qyxtim, Assigned: mbeier)

References

Details

(Keywords: papercut, Whiteboard: [sng-scrubbed])

Attachments

(2 files)

Attached image bug.gif

Steps to reproduce:

  1. Open any webpage
  2. Copy some content in the webpage
  3. Click the address bar (all the content is now selected)
  4. Paste the content by using keyboard
  5. Select all by using keyboard
  6. Cut by using keyboard

Actual results:

The content in the clipboard is the URL, not the content copied from the website.

Expected results:

The content in the clipboard should be the content copied from the website.

Component: Untriaged → Address Bar
OS: Unspecified → macOS
Hardware: Unspecified → ARM64

I was able to reproduce this issue as well, after pasting somthing in the URL bar, Selecting all and then Hitting Ctrl X in order to cut, when pasting it will just paste the initial URL instead of the selected text.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: macOS → All
Hardware: ARM64 → Desktop

This is still reproducible in Nightly and needs further investigation.

Keywords: papercut
Priority: -- → P3
Whiteboard: [sng-scrubbed]

Possible duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1770723

I do not see this behavior on webpages currently (Mac FF 122).

Actually, I do see this behavior consistently but only when content that has multiple lines is copied.
It does not happen if I only copy one word or line.

Assignee: nobody → mbeier
Status: NEW → ASSIGNED
Pushed by mbeier@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f31845c154ac Pasting urls with linebreaks into urlbar does not set valueIsTyped. r=urlbar-reviewers,mak
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

Issue is reproducible on a 2023-02-16 Firefox Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 138.0a1 on Windows 10, Ubuntu 22, macOS 14.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: