https://bugzilla.wikimedia.org/show_bug.cgi?id=33225

       Web browser: ---
             Bug #: 33225
           Summary: Undo of indentation is not properly displayed
           Product: MediaWiki extensions
           Version: any
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: VisualEditor
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: david.hellfe...@gmail.com
                CC: ne...@wikimedia.org, tpars...@wikimedia.org
    Classification: Unclassified


Hi,

in the Visual Editor Sandbox, when you indent and then undo, the WYSIWG display
doesn't show the indentation undone.

More precisely:
1) I write some free text in a text only paragraph
2) then indent items of an existing list outside the text paragraph using the
indentation button
3) then I hit undo

What I expect: The indentation is undone.
What happens instead:
a) The text is removed (i.e. the second but last action is undone)
b) but the indentation remains.
c) More undo clicks will just go on undoing actions before the indentation.

After going a few times back and forth using the undo and redo buttons, the
editor seems completely messed up:
d) I cannot add further new lines at the end of the page
e) The blinking cursor lags by one character (i.e. when I type "david", the
cursor will be between i and d)
f) Eventually, the characters I type are no longer displayed, though the
blinking cursor moves when I type (even advances from line to line without me
pressing enter)

Speculation: When I show the preview view after step 3), the indentation has
correctly been undone there (in addition to other actions having been undone).
So maybe this is a bug only in the display part, since the code is apparently
correctly changed.

Best,
David

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to