Page MenuHomePhabricator

VisualEditor: Replacing a selected template with a keyboard press creates a pawn (♙)
Closed, ResolvedPublic

Description

Author: jonathan_haas

Description:
To reproduce:

Goto http://de.wikipedia.org/wiki/The_Binding_of_Isaac?veaction=edit

  1. Click on infobox
  2. Hit the "a" key
  3. Hit ctrl+z

Repeat steps 1-3 as long as necessary (about 1-6 times)

Current result:

Instead of being restored on ctrl+z, sometimes the infobox is replaced by a pawn.
The article begins with "♙The Binding of Isaac" then.

Also, ctrl+z should probably also restore the selection, so I think it's another bugh that you have to repeat step 1 every time.


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52113

Details

Reference
bz52185

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:57 AM
bzimport set Reference to bz52185.

Reproduced; I havent looked to see if this scenario has been reported already.

Can't reproduce in Chrome or FF

jonathan_haas wrote:

I still can (FF23). Just managed on first try.

jonathan_haas wrote:

Screenshot

Also managed to reproduce in Chrome 28.

No error in javascript console in both browsers.

Attached:

error.png (958×1 px, 255 KB)

I can't reproduce after about 20 tries in Firefox 23/Linux/Monobook

p.selitskas wrote:

I could reproduce this with cyrillic letters in be-x-old.wikipedia.org, at least a few weeks ago.

I can occasionally reproduce this in Chrome and Firefox, but not reliably (roughly 1 in 10 replacements). Race condition on the change stack or something?

jonathan.haas wrote:

Using the current Firefox 27 alpha (Aurora build), the problem seems to be much worse, as the pawn appears reliably in step 2 just after pressing "a". Maybe it's a different issue, but maybe it helps debugging this one.

TBH, this pawn stuff seems to be very weird and unstable to me. Why can they appear in the first place?

Bumping; this is happening 100% of the time now.

Pressing anything other than delete no longer does anything for me, which seems sensible.