Info Editor prints python errors upside down. #73578
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#73578
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 26.20.100.7262
Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash:
blender/blender@26bd5ebd42
Worked: (optional)
Short description of error
Python errors in the Info Editor are printed upside down.
Exact steps for others to reproduce the error
Notice the line order is upside down(compared to the system console) and making the ^ point at nothing:
Added subscriber: @tintwotin
Added subscriber: @JulianEisel
Changed status from 'Needs Triage' to: 'Confirmed'
Indeed. And this actually seems to be the case since forever. I could also reproduce with 2.74. That means it doesn't qualify as bug though.
So looking into this, apparently this is very intentional. I guess the reason is that the info editor used to be placed at the upper screen edge. So dragging it down was supposed to show the most recent messages, with the main error line first. You would scroll up or increase the area size further to see the details.
Obviously this doesn't hold up well when the editor is used differently.
To address that,
console_draw_string()
will have to be reworked a bit. Actually, the console handles this case fine, even though it uses most of the same or similar code. Not sure what the difference is, but I can't spend much time on this right now.This is the same error message in 2.83 with far too many icons and far too wide line distance imo.
Added subscribers: @Harley, @brecht
I think the solution is to have a multiline message here, with a single icon. Then it can be printed in the right order and without excessive line distance.
Why should we have this on the 2.83 board as a bug? The reported issue exists since a long time (since 2.5?). Would of course be nice to improve the multi-line drawing (e.g. removing the duplicated icons) but that's not what this report is about, and it's certainly not a bug.
The excessive line distance is a regression. I don't think it's a showstopper, but still worth looking at before the release.
We could put that in a separate report, but if there is a single solution to both problems it seems pointless.
Info Editor is just dealing with each report entry, in order. This looks like seven separate reports, in the wrong order, with some that are blank. Can we not massage that python error as the report is made, so it is one entry? Otherwise not sure how we’d improve this, except for ignoring blank ones.
Of course I might just be thinking about it wrong. No surprise there. LOL
@Harley, yes, it may well be that simple.
Changed status from 'Confirmed' to: 'Resolved'
This was addressed with blender/blender@df032580c1.