Closed Bug 1907839 Opened 2 years ago Closed 2 years ago

Copy and paste from right-click menu not working

Categories

(Firefox :: Menus, defect)

Firefox 128
defect

Tracking

()

RESOLVED DUPLICATE of bug 1863246

People

(Reporter: f.settelmeyer, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0

Steps to reproduce:

  1. Select text on a webpage. Might just be a single word.
  2. Open the context menu via right click.

Actual results:

  1. The 'copy' command is disabled, even though there is something that could be copied.

I found a workaround, which makes it work until I restart Firefox again:

  1. Go to about:config
  2. Search for 'dom.event.clipboardevents.enabled'. The value is true by default and has not been modified.
  3. Toggle the value to 'false' and then back to 'true'
  4. Now the selected text in the other tab can be copied

Expected results:

The selected text should be able to be copied in the first place.

The Bugbug bot thinks this bug should belong to the 'Firefox::Menus' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Menus

It seems to me, that also CTRL-C is not working in the first place. I tried to copy something via the shortcut, but when I pasted, the previous value from the clipboard was returned.

I was just about to write that I see the exact same issue. But just saw there was an update to 128.0.3, and problem is gone at least immediately after update.
But still adding this comment, since I don't see it mentioned in 128.0.3 release notes. Maybe it's periodic and will be back? If I see it again, I will return and update this issue again:-)

This video demonstrates the copy bug.

When one opens a website, right clicks on text to open the context menu, 'copy' is disabled.
Switch to another tab and back again, try again, 'copy' is enabled.

Feedback:

  1. This problem is still there in 128.0.3.
  2. CTRL+C still works OK.
  3. Not happening consistently, sometimes happens, sometimes doesn't.
  4. Appears to work after Firefox tab loses focus.

Video attached demonstrating behavior.

firefox-2024-08-01_09.40.50.mp4

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1863246
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: