UI: TreeView Changes #117654
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#117654
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Harley/blender:TreeViewLineChanges"
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?
TreeView changes including change of disclosure icon, decreased indent,
indented items without children, lowered line opacity.
Incorporating changes since UI Module. Chevron disclosure and without elbow, but with decreased indent.
This looks better.
Is the elbow always curved? Not sure if its possible to make it follow some theme parameter like UI corner radius, so it doesn't look off in themes without rounding.
I'm not sure why we are still hanging on to the curved elbow idea, it was a workaround for improper indentation. It doesn't seem worth the extra visual noise, nor is it standard in UI designs.
For me the straight lines down (i.e. Blender's current design) keep being visually confusing, and actually add more noise than this proposal. I'm also not aware of any other application that shows hierarchy trees like this, so I wouldn't argue that that is a standard UI design either.
This is what I wrote in my original PR earlier:
GitHub uses the same design with straight lines, but indeed it's not very common.
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/pull/1730/files
Anyway, I don't want to hold up this change over a minor design thing like this.
Module meeting consensus was to try the padding proposed in this patch, no elbows, and chevrons from #116240
UI: TreeView Changes Including Curved Elbowto UI: TreeView Changes@dr.sybren @brecht @pablovazquez
I updated the PR and the capture in the first comment. This indents childless items the same as ones with children, the amount of indentation is reduced, but keeps the straight line, and with new chevron.
The animated GIF could be difficult to examine well, so here is a still image:
#7 definitely looks to be a sibling of #8, rather than a parent. And #9 looks to be a child of #8, rather than a sibling.
Definitely an improvement. +1 design-wise.
Thanks Harley!
Code looks fine to me.
@JulianEisel
I think you wanted a chance to look at this first. Or I could merge it and we could look at everything holistically? Whatever you wish.
Thanks Harley, this is definitely an improvement. Sad to see the elbows go, but if that's necessary to move forward, let's move forward.
This PR is not currently showing my last changes. I suspect that I merged in the changes to main because of the new use of chevron disclosures, then did other work, took screen shots, but did not commit that last work. Although that does not explain why my local code does not match the captures. Oh well, will recreate.
551c457e79
tobc0cdf9c65
@blender-bot build