Info Editor's Replay fails (needs [modal?] ability to select area/region to execute in) #68656

Closed
opened 2019-08-14 19:01:56 +02:00 by tintwotin · 6 comments

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: b3c3c83560
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?)).

**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: `b3c3c83560` 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?)).
Author

Added subscriber: @tintwotin

Added subscriber: @tintwotin
Campbell Barton was assigned by tintwotin 2019-08-23 11:14:13 +02:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Can confirm.
Note this was implemented in d7564761c0 and then kind of disabled in 43f396218f (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)

Can confirm. Note this was implemented in d7564761c0 and then kind of disabled in 43f396218f (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 changed title from Info Editor's Replay fails, properly because of bad context to Info Editor's Replay fails (it has been disabled in code) 2019-12-20 10:20:43 +01:00
Member

Adding @ideasman42 's review here:

In D6458#151511, @ideasman42 wrote:
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 #63733 (Python & Add-ons Module)

Adding @ideasman42 's review here: > In [D6458](https://archive.blender.org/developer/D6458)#151511, @ideasman42 wrote: > 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 #63733 (Python & Add-ons Module)
Philipp Oeser changed title 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) 2019-12-20 13:02:38 +01:00
Campbell Barton removed their assignment 2020-02-15 09:10:46 +01:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Author

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
tintwotin self-assigned this 2020-06-09 08:29:40 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 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#68656
No description provided.