Page MenuHomePhabricator

Using keyboard shortcuts (in multiple browsers) or the "Open menu" (in Firefox only) to copy a paragraph and a reference together causes selected content to be deleted (not cut) instead
Closed, ResolvedPublic8 Estimated Story Points

Description

See https://en.wikipedia.org/w/index.php?title=User:99of9/sandbox3&oldid=645853719 for reproducible sample, including instructions for reproducing several related problems.

Steps to reproduce this one:

  1. Open page containing text and a <ref>. This is reproducible in *Firefox 35* and *Safari 6.2.2* on Mac OS 10.8.5 as well as in the latest Firefox on Windows.
  1. Select the sentence.
  1. Press Command-C to copy it.

Result: The selected text disappears.

Attempted workaround:

  1. Maybe it Cut the text, rather than just deleting it? Try to paste it back in: Command-V.

Result: Nothing happens. The text was not cut.

Quirky detail:

  1. Open page containing text and a <ref>.
  1. Select the sentence.
  1. Right-click to open a menu, and choose Copy from the menu.

Result: It copies (and pastes) the text correctly.

Event Timeline

Whatamidoing-WMF raised the priority of this task from to High.
Whatamidoing-WMF updated the task description. (Show Details)
Jdforrester-WMF renamed this task from Copy-paste bug: Using the keyboard command to copy ref-containing text acts like Delete key instead to In Firefox, using keyboard shortcuts or the "Open menu" to copy a paragraph and a reference together causes selected content to be deleted (not cut) instead.Feb 9 2015, 9:46 PM
Jdforrester-WMF set Security to None.
Whatamidoing-WMF renamed this task from In Firefox, using keyboard shortcuts or the "Open menu" to copy a paragraph and a reference together causes selected content to be deleted (not cut) instead to Using keyboard shortcuts (in multiple browsers) or the "Open menu" (in Firefox only) to copy a paragraph and a reference together causes selected content to be deleted (not cut) instead.Feb 10 2015, 8:12 PM
Whatamidoing-WMF updated the task description. (Show Details)

Could not reproduce in Firefox 32, 34, 36 or Safari 8 on MacOS 10.10.2

This works for me now. I've asked the original reporter to double-check, but I'm tentatively marking this as resolved.