https://bugzilla.wikimedia.org/show_bug.cgi?id=54314
Web browser: ---
Bug ID: 54314
Summary: VisualEditor: A pawn appears when undoing "select
transclusion and replace with text"
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Steps to reproduce bug:
1. Edit a page
2. Insert a transclusion, apply changes
# The transclusion is now selected (VE does this automatically for newly
inserted nodes)
3. Type a characters
# Selected content is removed, text is inserted
4. Undo
The expected result is the text being replaced with the transclusion. Instead a
pawn is inserted.
Upon further inspection I noticed that the transclusion isn't lost, however. In
fact it is right there when you Undo again (after getting the pawn).
So it looks like the pawn was inserted as a transaction in the middle of
removing the transclusion (its own transaction but not supposed to be?) and
inserting the text.
We auto-select the template after insertion and it is relatively easy to
accidentally press a key afterwards. And Undo then shows the user something
scary (their template appears lost). A fairly high priority bug regarding user
experience.
Not sure if this is a regression or not.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l