Page MenuHomePhabricator

VisualEditor: [Regression] Can't cut or (sometimes) paste in multiple browsers
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Open a page in Firefox (my version is 32).
  1. Select some text.
  1. Press Ctrl-X or Command-X.
  1. Notice that nothing happened.

Paste (Ctrl-V) might be working intermittently, but you have to copy rather than cut the text to do that.


Version: unspecified
Severity: major

Details

Reference
bz72164

Related Objects

Event Timeline

This is a serious issue. I actually managed to get the program to start deleting whole sections of text with this bug.

Steps to reproduce:

  1. Select some text
  2. Ctrl-x
  3. Ctrl-v at a different location. The cursor should (shouldn't, but it does) go to the top of the page, above everything else.
  4. Right-click at a different location and click "paste". Should (n't) have pasted the text at the top of the page.
  5. Select this stray text, right click, and press delete (use the mouse, not keyboard).
  6. Watch the article get randomly deleted in completely unpredictable ways.

I tried this on multiple articles and got wacky behaviour both times. Browser: Firefox 33.0.

Fixed after various copy/paste related patches https://gerrit.wikimedia.org/r/#/q/status:merged+project:VisualEditor/VisualEditor+branch:master+topic:copy-fix,n,z

Works on beta labs, but apparently hasn't been deployed yet. Wasn't this supposed to be backported?

(In reply to Ed Sanders from comment #2)

Fixed after various copy/paste related patches
https://gerrit.wikimedia.org/r/#/q/status:merged+project:VisualEditor/
VisualEditor+branch:master+topic:copy-fix,n,z

Works on beta labs, but apparently hasn't been deployed yet. Wasn't this
supposed to be backported?

Backports due on Monday morning.

Confirmed the fix(es) on Betalabs.

Confirmed - the issue is fixed in test2 (wmf5).

Safari does not handle Paste smoothly - when some text is pasted, the page swiftly(but noticeably) scrolls to the top and back to the place when the text is pasted.

In case this needs to be re-opened in the futre:

I can't cut text in Safari today. I'm going to assume that this is fixed in the next release, because it happens at en.wp but not at Beta Labs or MediaWiki.org Consequently, this Firefox-specific bug might not actually be Firefox-specific.

Safari(1.25wmf6 (rMW295d9638cccd) - when text is pasted, the page scrolls up momentarily. Otherwise, cut/paste seems to be working correctly in Safari(wmf6).

FF and Chrome do not display this "scroll-up" behavior

(In reply to etonkovidova from comment #8)

Safari(1.25wmf6 (rMW295d9638cccd) - when text is pasted, the page scrolls up
momentarily. Otherwise, cut/paste seems to be working correctly in
Safari(wmf6).

FF and Chrome do not display this "scroll-up" behavior

This is bug 71728.

Re-verified in Chrome, FF, IE11, and Safari - cut/copy/paste look fine.