Page MenuHomePhabricator

VisualEditor: [Regression?] Save button stays disabled after inserting a character in some cases
Closed, ResolvedPublic

Description

  1. Open https://www.mediawiki.org/wiki/QA/Selenium_Workshop in latest stable Chrome.
  2. Click "Edit"
  3. Put cursor in the first paragraph, insert a single character.

Expected:

Save button enables, allowing the user to save the page.

Actual:

Save button stays disable, user is unable to save the edit.

No exceptions or warnings on the dev console.


Version: unspecified
Severity: major

Details

Reference
bz71732

Event Timeline

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

It seems the model is consistently one character behind. When I worked-round the bug in comment #0 by backspacing over my new character and typing it again, and then changing another word on the page, clicking Save page and reviewing my change showed only the first word change in the wikitext diff.

This works fine if the first cursor position is in the Header, or before the first character of the paragraph. Very complex behaviour…

Works for me in latest Chrome

This appears to now be fixed in wmf3.