GSoC 2020 Info Editor Improvements #78164

Open
opened 2020-06-23 15:08:19 +02:00 by Mateusz Grzeliński · 7 comments

This is parent design task for GSoC project. I will keep it minimal, more details I am keeping on my [wiki page Project Details ]]. For general discussion see [ https:*devtalk.blender.org/t/gsoc-2020-info-editor-improvements-discussion-and-suggestions/13718 | devtalk feedback thread

Related task: #68448 (Reports & Warnings UI)

Most of this parent task is implemented in:

After GSoC I found D4224: Logging: experimental CLOG_DEBUG code, adding for completeness.

UI/UX

This is rough mocap:
Blender-GSoC-info-editor-mocap.png

Logs

    • #78214 (Make log appear in Info Editor)
      note on logs from depsgraph, render logs: I do not plan on any special UI, rather I want them to report to Info Editor with CLOG.

Python

    • #80072 (Create python API for CLOG)
    • #78228 (Info/Text Editor: Show python evaluation logs in info editor)

Convert print statements to logs

    • make depsgraph use CLOG at the backend
  • convert prints to logs all over blender code
  • integrate report system with logging: initial step in {784682258}

Other

This is parent design task for GSoC project. I will keep it minimal, more details I am keeping on my [wiki page Project Details ]]. For general discussion see [[ https:*devtalk.blender.org/t/gsoc-2020-info-editor-improvements-discussion-and-suggestions/13718 | devtalk feedback thread](https:*wiki.blender.org/wiki/User:Grzelins/GSoC2020/ProjectDetails) Related task: #68448 (Reports & Warnings UI) Most of this parent task is implemented in: - [D8677: Add core functionalities from GSoC Info Editor Improvements](https://archive.blender.org/developer/D8677) - [D8655: Add log based timing functions](https://archive.blender.org/developer/D8655) - [D8691: Convert printfs to CLOG](https://archive.blender.org/developer/D8691) After GSoC I found [D4224: Logging: experimental CLOG_DEBUG code](https://archive.blender.org/developer/D4224), adding for completeness. **UI/UX** - - [ ] [D7950: Info Editor keymap and UI improvements](https://archive.blender.org/developer/D7950) - - [ ] [D6926: Info Editor: Add ability to filter reports by type](https://archive.blender.org/developer/D6926) - - [ ] [D8105: Info Editor: Add text search](https://archive.blender.org/developer/D8105) - - [ ] #78223 (Enable/disable logger from Info Editor) - - [ ] #78206 (Expose debug flags in User preferences) - - [ ] expose log file, log level, log verbosity in user preferences - - [ ] indicate in bottom bar if errors offured on startup (for example versioning errors) This is rough mocap: ![Blender-GSoC-info-editor-mocap.png](https://archive.blender.org/developer/F8639082/Blender-GSoC-info-editor-mocap.png) **Logs** - - [ ] #78214 (Make log appear in Info Editor) note on logs from **depsgraph**, **render** logs: I do not plan on any special UI, rather I want them to report to Info Editor with `CLOG`. **Python** - - [ ] #80072 (Create python API for CLOG) - - [ ] #78228 (Info/Text Editor: Show python evaluation logs in info editor) **Convert print statements to logs** - - [ ] make depsgraph use CLOG at the backend - convert prints to logs all over blender code - integrate report system with logging: initial step in {784682258} **Other** - keep an eye on [D6458: Fix #68656: Info Editor's Operator Replay fails](https://archive.blender.org/developer/D6458)
Mateusz Grzeliński self-assigned this 2020-06-23 15:08:19 +02:00
Author
Member

Added subscribers: @grzelins, @mont29

Added subscribers: @grzelins, @mont29
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @DuarteRamos

Added subscriber: @DuarteRamos

Showing Python logs within the info editor rather than having to go to the console is indeed a welcome improvement.
Are you exclusively tackling the Info Editor or is the Python Console also within scope?

I though of one possible improvement that often bothers me.
Currently typing over a text selection in the Python Console doesn't replace the selected text as expected, it just keeps selection and always types at the end of the line regardless.
This is as far as I know non-standard behavior regarding other software, and is even inconsistent compared to other editors inside Blender like the Text Editor or any text box.
There may be concerns of interfering with other features like autocomplete compatibility, that make this difficult to implement or other unforeseen issues. Would this be something or desirable easy to tackle?

Showing Python logs within the info editor rather than having to go to the console is indeed a welcome improvement. Are you exclusively tackling the *Info Editor* or is the *Python Console* also within scope? I though of one possible improvement that often bothers me. Currently typing over a text selection in the *Python Console* doesn't replace the selected text as expected, it just keeps selection and always types at the end of the line regardless. This is as far as I know non-standard behavior regarding other software, and is even inconsistent compared to other editors inside Blender like the Text Editor or any text box. There may be concerns of interfering with other features like autocomplete compatibility, that make this difficult to implement or other unforeseen issues. Would this be something or desirable easy to tackle?
Author
Member

Are you exclusively tackling the Info Editor or is the Python Console also within scope? ...
Would this be something or desirable easy to tackle?

Those are relatively simple issues, but they add up quickly to quite a time consuming task. I would like to focus on logging, it is easy to get sidetractked.
There are a ton of operators missing in console: set cursor from mouse, skip by word and select (ctrl+shift+right arrow), select line and more.

> Are you exclusively tackling the Info Editor or is the Python Console also within scope? ... > Would this be something or desirable easy to tackle? Those are relatively simple issues, but they add up quickly to quite a time consuming task. I would like to focus on logging, it is easy to get sidetractked. There are a ton of operators missing in console: set cursor from mouse, skip by word and select (ctrl+shift+right arrow), select line and more.
Member

Added subscriber: @EAW

Added subscriber: @EAW

Added subscriber: @timodriaan

Added subscriber: @timodriaan
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:24:22 +01: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
5 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#78164
No description provided.