id summary reporter owner description type status priority milestone component version resolution keywords cc 12635 Keypress show that undo is available despite real undo count Marek Lewandowski "It seems that if I lock the UndoManager for snapshots, keyboard presses will still render undo button to indicate that undo steps are available. 1. Open any sample with CKEditor. (i.e. samples/replacebyclass.html) 2. Go to JavaScript console, and enter following code: {{{ CKEDITOR.instances.editor1.fire( 'lockSnapshot', { dontUpdate: true } ); CKEDITOR.instances.editor1.fire( 'lockSnapshot', { dontUpdate: true } ); }}} 3. That should result with UndoManager lock counter being increased to {{{2}}}, confirm that by evaluating: {{{ CKEDITOR.instances.editor1.undoManager.locked.level }}} 4. Type anything in the editable. **Expected result:**[[BR]] No snapshot should be created, undo button should be off/unavailable. **Current result:**[[BR]] Undo button is enabled. Additional info:[[BR]] 1. Good news is that it seems not to be recent regression, as I've checked 4.3.0 and the same error occurs there. 2. Commands do cares about UndoManager being locked, because if you'll perform bold or any other command it will not record snapshot. 3. Snapshots are not really recorded, you can check that by evaluating {{{CKEDITOR.instances.editor1.undoManager.snapshots.length}}}" Bug confirmed Normal Core : Undo & Redo