Text Editor Undo bugs #66172

Closed
opened 2019-06-27 11:44:59 +02:00 by tintwotin · 5 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 24.20.100.6137

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-26 19:03, hash: blender/blender@155c62b070
Worked: (optional)

Short description of error
The Text Editor's undo is working unreliable. One case is reported here: #65909
This is two other cases.

Exact steps for others to reproduce the error

  • Start a new text block
  • Type “1234567890”
  • Run script
  • Undo once (all the text should disappear)
  • Undo four more times
  • Now redo once

Essentially blender fails to correctly restore the undo steps, but somehow is able to redo. Same thing in this case:

  • Type 1234567890
  • In 3D View grab and move ex. a cube.
  • Move mouse cursor into text editor.
  • Hit undo.
  • The cube will be moved back.
  • Hit undo.
  • Only the last typed character will be removed.
  • Can’t undo anymore.
  • Hit redo
  • Some more characters are removed.

Hit redo until 1234567890 are restored.

**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 24.20.100.6137 **Blender Version** Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-26 19:03, hash: `blender/blender@155c62b070` Worked: (optional) **Short description of error** The Text Editor's undo is working unreliable. One case is reported here: #65909 This is two other cases. **Exact steps for others to reproduce the error** - Start a new text block - Type “1234567890” - Run script - Undo once (all the text should disappear) - Undo four more times - Now redo once Essentially blender fails to correctly restore the undo steps, but somehow is able to redo. Same thing in this case: - Type 1234567890 - In 3D View grab and move ex. a cube. - Move mouse cursor into text editor. - Hit undo. - The cube will be moved back. - Hit undo. - Only the last typed character will be removed. - Can’t undo anymore. - Hit redo - Some more characters are removed. # Hit redo until 1234567890 are restored.
Author

Added subscriber: @tintwotin

Added subscriber: @tintwotin
Author

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Closed as duplicate of #65909

Closed as duplicate of #65909

Added subscriber: @ZedDB

Added subscriber: @ZedDB

I suspect that the reason for it failing is the same as in the initial report. If this is still an issue after that one is fixed, we can reopen this.

I suspect that the reason for it failing is the same as in the initial report. If this is still an issue after that one is fixed, we can reopen this.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#66172
No description provided.