UI: Use collection color tag to draw arrow in outliner #121109
No reviewers
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#121109
Loading…
Reference in New Issue
No description provided.
Delete Branch "PratikPB2123/blender:outliner-collection-arrow"
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?
Hierarchy line already uses the collection color tag (or the collection theme
color). For consistency, also use it to draw the arrow next to collection.
UI: Use collection color tag to draw arrowto UI: Use collection color tag to draw arrow in outlinerI'm not sure about coloring the arrows, they are an interactive element, like a button. If a button is fully red like one of the default collection colors, it might signal the wrong message.
For that reason the arrow should stay the same color as the text label (also an interactive element).
That being said though... I took part of your code and experimented with a (very) subtle background for the rows which I think it helps even more:
I only colored the background row where the collection is, but ideally all rows nested under the collection should have this subtle color as well. I just don't know how to implement it. Are you interested in giving this a try?
Here is the diff to test it out:
Thanks for the prototype!
Hi, thanks for checking. I can take a look to color rows "below the collection" but I fear outliner will look way too colorful 😅
Understood your point about the "arrow", make sense to some extent to keep color as it is
I'm also not sure on the arrow coloring since this makes the visual weight of the arrows differ. I don't mind this much on the lines since they are such a secondary feature, but I'd rather the arrows look alike.
I worry a bit that this would not only remove the benefit of the current zebra striping but also be visually competitive with hover and selected states. In the top example "Essentials" and "Lighting" both look highlighted, but it doesn't look immediately obvious why. I think I'd need to see a mockup that includes hover, active, multiple-item selection, along with this coloring.
Background colors are already used to signal selection status, zebra stripes and so on. Adding colors to it seems too much distraction.
About the arrows, only relying on vertical position can be difficult to read in some cases, at least I found it difficult to calculate if an arrow is perfectly on top of one or another line.
Coloring the arrows visually connects them to the vertical hierarchy line, while still looking clean. Without this it can signal that the arrow does not belong to the same hierarchy representation (visually any arrow could be related to any hierarchy line)
The capture in the first comment only shows the arrows open (facing down). Is it proposed that they also have the collection color when closed? I think that would look odd. And also odd to have them change from white to a color as they open.
@Harley hi, yes, both closed and open arrows are colored in this PR :)
Checkout
From your project repository, check out a new branch and test the changes.