UI Experiment: Optional Layout for ED_workspace_status_text #120382

Closed
Harley Acheson wants to merge 1 commits from Harley/blender:OpStatusLayout into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Experiment in allowing current uses of ED_workspace_status_text, which
draws simple text to the status bar, to give a callback to allow
complex layout features.


There is one demonstration included. Currently while having a dropdown menu open you see the following on the Status Bar:

image

With the PR doing the same results in this:

image

Not implying that I would put this specific information, in this format and in this order, here. It is just an easy demonstration.

Experiment in allowing current uses of ED_workspace_status_text, which draws simple text to the status bar, to give a callback to allow complex layout features. --- There is one demonstration included. Currently while having a dropdown menu open you see the following on the Status Bar: ![image](/attachments/af005ffe-d9aa-4e31-b517-03c59584bfa6) With the PR doing the same results in this: ![image](/attachments/995267b8-1df9-4716-ad47-bf5a31ef310e) Not implying that I would put this specific information, in this format and in this order, here. It is just an easy demonstration.
Harley Acheson added 1 commit 2024-04-07 20:50:34 +02:00
60abb16c6d UI Experiment: Optional Layout for ED_workspace_status_text
Experiment in allowing current uses of ED_workspace_status_text, which
draws simple text to the status bar, to give a callback to allow
complex layout features.
Harley Acheson added this to the User Interface project 2024-04-07 20:51:17 +02:00
Member

Awesome! This is something we wanted to have since the moment Menu Search was introduced.

I don't think we need anything else other than [ _ ] Search. If we add every possible action it's just overwhelming.

Actions that are expected (and consistent) across the UI can be left out, such as:

  • Select
  • Context Menu
  • Keyboard Navigation

There is also the case for accelerator keys, but that's already communicated by underlining which is a fairly standard practice.

So just replacing "Press spacebar to search..." by the actual icon helps a lot for consistency. It's great that we can add more to this layout in the future though. Thanks!

Awesome! This is something we wanted to have since the moment Menu Search was introduced. I don't think we need anything else other than `[ _ ] Search`. If we add every possible action it's just overwhelming. Actions that are expected (and consistent) across the UI can be left out, such as: * Select * Context Menu * Keyboard Navigation There is also the case for accelerator keys, but that's already communicated by underlining which is a fairly standard practice. So just replacing "Press spacebar to search..." by the actual icon helps a lot for consistency. It's great that we can add more to this layout in the future though. Thanks!
Author
Member

Awesome that this result is what we like.

However, this implementation does not work at all. When testing for more complex uses this callback approach falls apart. Closing. Will have to think of another way of getting there.

Awesome that this result is what we like. However, this implementation does not work at all. When testing for more complex uses this callback approach falls apart. Closing. Will have to think of another way of getting there.
Harley Acheson closed this pull request 2024-04-12 17:24:57 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
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
2 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#120382
No description provided.