Page MenuHome does not display in info bar / log if operator wasn't called by windowManager
Closed, ArchivedPublic


System Information
Windows 10

Blender Version
Broken: 2.78.4, don't know since when

Short description of error

If an operator is called by API, only prints to console, but does not output the report to the UI (info)

The result is a serious restriction that you can only display warnings

  • either directly out of an operator, but not out of defs where self is not passed
  • or after displaying a dialog popup

Exact steps for others to reproduce the error

Instructions inside

Event Timeline

of course, if there is an alternative method to display mag's in the info bar, this report is invalid - but I didn't find any

Bastien Montagne (mont29) changed the task status from Unknown Status to Archived.Nov 13 2017, 2:50 PM
Bastien Montagne (mont29) claimed this task.

No bug here, code called from py console reports errors in py console, as expected, no reason to clutter general UI from there.

In general, if you want to report something from an operator, then you have to pass the operator object (self) around, that’s by design (or at least, callback).