Page MenuHomePhabricator

Ctrl+C copying of text with template removes text in FF
Closed, DuplicatePublic0 Estimated Story Points

Description

This behaviour occurs in FireFox 34.0 but not when I tested it in Chrome.

When copying text which also includes a template the selected text is deleted rather than copied upon using ctrl+c. By contrast right-clicking and selecting copy works as expected.

To reproduce:

  1. Using Firefox go to https://en.wikipedia.org/wiki/User:Andr%C3%A9_Costa_%28WMSE%29/test3?veaction=edit
  2. Select the e-mail address and press ctrl+c

Event Timeline

Lokal_Profil raised the priority of this task from to Needs Triage.
Lokal_Profil updated the task description. (Show Details)
Lokal_Profil subscribed.

Also tested with the {{!!}} template to ensure that it had nothing to do with the {{@}} inserting an image.

I can reproduce this in Firefox 34.0.5 and 35.0 on my Mac 10.8.5 but not Safari 6.2.2. Also, it doesn't actually appear to copy or cut the selected text, because when I paste, it's not there. It seems to be working more like a delete key.

The same problem appear to happen when you use ctrl+x (or ctrl+c) in a bullet point list. (Also in Firefox).

Confirmed: cmd+c for highlighting the text with templates(any template) - the text disappears when trying to Copy it with a keyboard shortcuts and cannot be pasted with cmd+v. Undo works though.

Right-click Copy/Paste works as expected.

About bullet point lists problem - cannot reproduce. Some specific steps/details?

Etonkovidova set Security to None.