Page MenuHomePhabricator

VisualEditor: Special character inserter behaves oddly if you don't click somewhere in the page first
Closed, DeclinedPublic

Description

Intention:
Add a special character.

Steps to Reproduce:

  1. Open a page in VisualEditor. Don't click anywhere in it.
  1. Go to Insert > Special characters to open the Special charater inserter tool.
  1. Click on a character (or several).

Actual Results:
Nothing is added, but the "Save" button lights up. You can't use it, though.

If you click elsewhere, the tool disappears, but nothing else happens. "Save" is still green, but you still can't use it.

If you go back into the special character tool and add a new special character, then all the original ones appear at the start of the page, but the tool's dialog box is still open.

If you then cancel (to get rid of the box), Bad Things happen, including snowmen and partial duplication of the page. You still can't save.

Reproducible: Always


Version: unspecified
Severity: normal

Details

Reference
bz60507

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz60507.

This has now been "fixed" by the simple effort of making this route impossible; tools are now disabled if there isn't an active surface insertion point.