Changing settings in Add Object Settings Pane reverts latest text edits
Closed, ArchivedPublic

Description

System Information
OS: Windows 7 Professional, SP1, 64 bit
Processor: Intel Core i7-2600 CPU @ 3.4GHz
RAM: 16 GB
Graphics card: ATI Radeon HD 3400

Blender Version
Broken: 2.78c Hash: e92f235283
Broken: 2.77a Hash: abf6f08

Short description of error
The latest change to text in the text editor is reverted when the Add Mesh Primitive input values change.

Exact steps for others to reproduce the error


Type text into the Text Editor
Add a Plane mesh object to the 3D View (Shift-A, M, P)
Change the Radius in the Add Plane pane in the bottom-left of the 3D view
The text you typed into the text editor should be gone now.

Details

Type
Bug

I confirm the problem on ubuntu 16.04 64bits

It seems that any redo in 3DView delete unsaved text in text editor.

Dalai Felinto (dfelinto) triaged this task as "Confirmed" priority.Mon, May 22, 2:40 PM

Confirmed. In fact it happens for any operator in the viewport in object mode. Another way of reproducing this is:

  1. Write some text
  2. Do some operation (e.g., Duplicate Object)
  3. Ctrl+Z

It should undo only the last operation (e.g., Duplicate Object). Instead it also revert the text written in (1).

@Bastien Montagne (mont29) or @Sergey Sharybin (sergey) can you look at it?

Bastien Montagne (mont29) closed this task as "Archived".Mon, May 22, 10:19 PM
Bastien Montagne (mont29) claimed this task.

This is our infamous undo design limitation biting us again, Text editor has own undo for most of text editing, which does not affect global undo, and is ignored by it, so redoing 'global undo' operator reset states to previous 'global undo' point and wipes out all text editing done in-between.

Will archive this report as known limitation for now, reworking our undo system is long due task, but not considered a bug currently.