Page MenuHomePhabricator

VisualEditor: [Regression] Pawn appears when inserting a link (no preselected text) and implicitly exiting from the inspector
Closed, ResolvedPublic

Description

(from bug 67086)

  1. Press "Link" tool.
  2. Enter a link target (url or page name).
  3. Select the url or page name from the suggestions.
  4. Notice that the surface still shows your blinking cursor with no link or text
  5. Click back into the surface and type text.

Expected behaviour:

The link becomes a pre-annotation and the entered text the label.
Or, alternatively, the link autosaves and inserts itself and my text appears after the link.

Actual behaviour:

  • First character is eaten.
  • Link is inserted.
  • First character of link is unlinked.
  • Pawn appears.
  • Second and further characters inserted will remove the link and insert plain text

See http://cl.ly/3s460Q442L3S


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

Details

Reference
bz67088

Event Timeline

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

Reduced test case video of only the steps for this bug (without existing links before the list item):

http://cl.ly/2P2h473b2A20

(In reply to Krinkle from comment #1)

Reduced test case video of only the steps for this bug (without existing
links before the list item):

http://cl.ly/2P2h473b2A20

Dead link.

Also, on step 3, my cursor is in the target box... Not the surface. Is this still valid with the window rewrite and everything?

No longer an issue (Trevor-rewrite probably), but bug 68590 is a related problem.