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


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


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.

Add Comment