UI: Header Status Text Changes #111676

Merged
Harley Acheson merged 10 commits from Harley/blender:StatusText into main 2023-08-30 18:59:25 +02:00
Member

Draw status text in the Tool Settings bar if visible, rather than
Header.


This PR makes it so that status text will show on the Tool Settings bar, if there is one and it is visible. If not, it will show on the Header as it does now.

Tool Settings bar visible, header color set to a high alpha value:

image

Tool Setting bar is visible, header color with very low opacity:

image

Tool Settings turned off, header color set to a high alpha value:

image

Tool Settings turned off, header color with very low opacity:

image

Draw status text in the Tool Settings bar if visible, rather than Header. --- This PR makes it so that status text will show on the Tool Settings bar, if there is one and it is visible. If not, it will show on the Header as it does now. Tool Settings bar visible, header color set to a high alpha value: ![image](/attachments/5a5c4301-be66-44de-abc2-64288a1e9ad2) Tool Setting bar is visible, header color with very low opacity: ![image](/attachments/611b641d-e1ae-4cb3-975d-0c775ca5410e) Tool Settings turned off, header color set to a high alpha value: ![image](/attachments/54c3f6d1-d251-4b61-9c1e-f71fbea6db42) Tool Settings turned off, header color with very low opacity: ![image](/attachments/777acabf-6da6-4382-bb1d-64b63a595bc2)
Harley Acheson added 1 commit 2023-08-29 23:30:22 +02:00
dc309eb187 UI: Header Status Text Changes
Draw status text in the Tool Settings bar if visible, rather than
Header. Only clear to transparent if Header is transparent or Tool
Settings is partially transparent.
Harley Acheson added this to the User Interface project 2023-08-29 23:32:21 +02:00
Harley Acheson requested review from Julien Kaspar 2023-08-29 23:32:58 +02:00
Harley Acheson requested review from Pablo Vazquez 2023-08-29 23:33:06 +02:00
Harley Acheson added 1 commit 2023-08-30 00:14:57 +02:00
3081f9ac7a Header can be treated as transparent if it has any transparency
since the text will only be there if there is no tool settings.
Member

Thanks for tackling this issue!

Is it possible to retrieve the alpha value of the background and use that instead instead of going fully transparent? To not have the entire bar flickering when the background is partially transparent.

Thanks for tackling this issue! Is it possible to retrieve the alpha value of the background and use that instead instead of going fully transparent? To not have the entire bar flickering when the background is partially transparent.
Harley Acheson added 1 commit 2023-08-30 02:06:47 +02:00
Author
Member

Is it possible to retrieve the alpha value of the background and use that instead instead of going fully transparent? To not have the entire bar flickering when the background is partially transparent.

I was getting that alpha value but then was thinking that the gl_clear was some kind of limitation, but it was not. I was just not thinking about it right.

The PR now should work with all alpha values of the header color. I updated the first comment and captures.

> Is it possible to retrieve the alpha value of the background and use that instead instead of going fully transparent? To not have the entire bar flickering when the background is partially transparent. I was getting that alpha value but then was thinking that the gl_clear was some kind of limitation, but it was not. I was just not thinking about it right. The PR now should work with all alpha values of the header color. I updated the first comment and captures.
Harley Acheson added 2 commits 2023-08-30 06:41:29 +02:00
Member

To me this works great! As a bonus I also like that the tool settings are replaced with modal settings. This makes closely related statuses use the same space 👍

To me this works great! As a bonus I also like that the tool settings are replaced with modal settings. This makes closely related statuses use the same space 👍
Julien Kaspar approved these changes 2023-08-30 11:07:58 +02:00
Pablo Vazquez approved these changes 2023-08-30 12:44:54 +02:00
Pablo Vazquez left a comment
Member

Awesome, thanks!

Awesome, thanks!
Harley Acheson added 2 commits 2023-08-30 16:57:49 +02:00
Harley Acheson added 1 commit 2023-08-30 17:04:14 +02:00
buildbot/vexp-code-patch-coordinator Build done. Details
5de87ab670
No need to test if overlapped.
Author
Member

@blender-bot build

@blender-bot build
Harley Acheson added 2 commits 2023-08-30 18:19:45 +02:00
Author
Member

@blender-bot build

@blender-bot build
Harley Acheson merged commit ca00c9aa3e into main 2023-08-30 18:59:25 +02:00
Harley Acheson deleted branch StatusText 2023-08-30 18:59:26 +02: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
3 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#111676
No description provided.