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

       Web browser: ---
            Bug ID: 52113
           Summary: VisualEditor - Undo keyboard shortcuts clear undo /
                    redo history if pressed to often. (And other fun)
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Tested on Firefox 22 (Monobook) and Chrome 28 (Vector)

Steps to reproduce:
- Open any random page in the visual editor. Personally i used [[Botnet]].
- Add the word "Test" to the page.
- Press Ctrl + Z to undo the edit. Keep pressing till the edit is gone, then
press it once more.

Once you have done this, the Redo button and the Redo shortcut (Ctrl+Shift+Z)
no longer seem to restore the previous edits. Any subsequent edit seems to
reset the undo / redo buttons to an "There were no previous edits" state.

Inconsistent results:

Besides the above result that i can always reproduce using these steps, i have
seen various other results. I have seen each of these at least twice but no
matter what i try, i cannot seem to find any method of reproducing these
reliably.

- An entry in the console log stating "Error: Cannot roll back a transaction
that has not been committed "
- An entry in the console log stating "Error: Range error: Range is no longer
valid after DOM mutation ([WrappedRange("Zz":1, "Zz":1)]) "
- The redo button suddenly inserting "♙" once in Chrome.
- The undo button suddenly inserting an endless steam "♙" in Firefox.

-- 
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

Reply via email to