Page MenuHomePhabricator

VisualEditor: Pawns appear when undoing and redoing the highlighted character from text created in a blank link
Closed, ResolvedPublic

Description

  • Move your cursor anywhere in the document, don't select anything.
  • Open the link inspector
  • Set target anywhere
  • Click back to document in the same position
  • Press any key
  • New character is shown, but is highlighted. If you undo and then redo, a pawn character appears.

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

Details

Reference
bz66548

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:23 AM
bzimport set Reference to bz66548.

Additionally, if you put your cursor in a block slug, open the link inspector in creation mode, and click back into the surface in the same place, the link inspector doesn't close. Then when you start typing, the same behavior as in comment 0 appears.

Sometimes I've managed to get this to create a pawn character at the same time as making the highlighted text. Appears to be to do with the target text.

Doesn't seem to happen anymore. Although we do now have bug 68590, which is pretty much these same steps but with another undo instead of redo at the end. Not sure about Roan's comment.

Yeah, I'm going to declare this one also fixed in the re-write. The block slug issue is… interesting, and may deserve its own bug, but I'll comment on bug 68590.