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

bzimport added a project: VisualEditor.Via ConduitNov 22 2014, 3:07 AM
bzimport set Reference to bz60507.
Whatamidoing-WMF created this task.Via LegacyJan 27 2014, 11:46 PM
Jdforrester-WMF added a comment.Via ConduitMay 20 2014, 12:38 AM

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

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.