Page MenuHome

Info Editor's Replay fails (needs [modal?] ability to select area/region to execute in)
Confirmed, NormalPublicTO DO

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits

Blender Version
Broken: version: 2.81 (sub 1), branch: master, commit date: 2019-08-14 01:55, hash: rBb3c3c835609e
Worked: (optional)

Short description of error
After selecting a few of the latest operators in the Info Editor and using the Replay(shortcut: R) nothing happens - properly because the operators are executed in the wrong context.

So maybe, when storing the previous operators, the context should be stored with them, so they can be re-executed in the right context, and Info Editor can work as the macro recorder/player, I guess it was intended to be.

(Btw. same thing with the Python Console mostly fails because of bad context - maybe the user should be able to select between the visible areas in a drop down menu, in what context the commands should be executed(The Python Console seems to be hard-coded to execute in the 3D View?)).

Revisions and Commits

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.Dec 20 2019, 10:19 AM

Can confirm.
Note this was implemented in rBd7564761c03c and then kind of disabled in rB43f396218f5d (so it has been broken for a long time...).
From the comments there, sounds more like a TODO to get this back, but will quickly check if that can be brought back easily...
(If not, the operator should be disabled completely in my opinion)

Philipp Oeser (lichtwerk) renamed this task from Info Editor's Replay fails, properly because of bad context to Info Editor's Replay fails (it has been disabled in code).Dec 20 2019, 10:20 AM
Philipp Oeser (lichtwerk) lowered the priority of this task from 50 to Normal.Dec 20 2019, 12:59 PM

Adding @Campbell Barton (campbellbarton) 's review here:

While this is nice to make working, in many cases users will want to run actions in the 3D view. we could make this operator support selecting the area/region to run the operators in. Since running operators in the console has similar problems to running the operator in the info editor, that is the context is often wrong - so many actions fail as to make it not very useful.

So will make this a TODO and add to T63733: Python & Add-ons Module

Philipp Oeser (lichtwerk) renamed this task from Info Editor's Replay fails (it has been disabled in code) to Info Editor's Replay fails (needs [modal?] ability to select area/region to execute in).Dec 20 2019, 1:02 PM