UI: Make 3D Viewport header transparent #109735
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#109735
Loading…
Reference in New Issue
No description provided.
Delete Branch "pablovazquez:temp-ui-view3d-header"
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?
Back in Blender 3.0, the header and toolbar position were swapped to
follow hierarchy of settings. However, due to the header having usually
less buttons than the toolbar, it looked weird so it was decided to
make it fully opaque.
Based on user feedback it is preferred to have transparency and gain that
extra bit of space, even if at times it could look weird due to the header
having less items.
This PR makes it so the header supports region overlap, and makes it fully
transparent.
Fixes #92844
Related PR !107094
Will we not be able to turn alpha to 1 and keep it as it is in 3.6?
It is still possible to set alpha to any value, the difference is that it now affects both header and toolbar, not just the toolbar.
This is with alpha 0.9:
Tried it with the [8/7] 4.0 build. Still cannot change the Header Alpha.
@LloydAlmeida did you apply the patch or compile the branch? In the top-left you can see this PR is in
Open
state which means it hasn't been merged to main.Would you consider header and toolbar having different color and alphas? It would give more flexibility to themes and for those of us on custom themes who don't want the transparent header we will be able to keep as it is in 3.6
@pablovazquez Who needs to sign off this patch so that it can be merged into main ?
I'm kinda torn on this. For some editors and modes this works well.
But on the other side it leads to
These few icons would definitely still need a background color (like pin icon in image editor, mirror icon in paint modes and tool icons on a hidden toolbar).
The "Inner" theme color of "Pulldowns" should also get an Alpha of 1.0 to avoid transparent menu buttons.
@JulienKaspar This patch doesn't change anything. The issues you mentioned "Some buttons and icons with no backdrop or can even be clicked through" currently exist n master. This Patch just allows the Header transparency to be changed as currently it does not.
It does change the header transparency to 0 and makes you able to click through though.
This makes these problems more obvious. That's why I brought them up.
@JulienKaspar So is there a simpler way to just get the Header to be transparent as well. This regression has existed for more than 2 years. Its was suddenly changed [ I could be wrong but I did not come across any discussion when the change was done ]
Not everyone uses the Tool Settings under the Header.
I'm all for bringing the option back to turn the header transparent. If it's just that and making it by default something between alpha 0.7 and 0.9, this is fine 👍
But making it click-through can lead to problems. Also making it alpha 0 by default leads to readability issues.
I'd say those topics could be separated from this patch.
Here's just some screenshots for comparison on the most offending modes. Since on the default gray background it doesn't make a difference I switched to Eevee.
Personally I'd consider just changing the overlap behavior (the area.cc change) without any of the rest for now. Then later consider the colors/values with other theme changes.
Note however that your change also makes the header of Image Editor behave similarly. If this is intentional you should probably note it in the comment, otherwise you'd have to restructure the code. Personally I like Image Editor like that though.
Tried this on blender-4.0.0-alpha+main.d870f9e841a5 Aug 6 build. Still unable to change the Alpha.
IMO the Alpha does not have to be 0 by Default as long as Users can change it.
As mentioned previously in this thread, the status of this is shown at the top-left as "open". This feature won't be in a release version of Blender until it is approved and merged. At that point the status will change.
@Harley So who do we need to tag so that this Patch can be reviewed ? Is there someone who leads the UI/UX Module ? Ive posted a link to this Patch in blender Chat [UI and Coders section] and requested someone to have a a look at it multiple times but nothing seems to happen.
With this particular PR I'm not too worried about the listed reviewers. There are some review comments above to address, but If Pablo wants this we can make it happen before the end of Bcon1 (Aug 22). He's been off at Siggraph so we'll try to talk about this next week.
As discussed in the latest UI Module meeting, the decision is to go with enabling Region Overlap in the 3D Viewport, but not on other editors in order to prevent issues like the ones in the image editor mentioned here. @Harley will take over this over the coming days.
Theme changes will be done as a separate patch when needed.
Header transparency is a feature which is nice to have, but not sure about defaults.
For example, the reason we don't use region overlap is that our content we work with is a global captcha which makes any transparent elements barely distinguishable.
Pull request closed