UI: Improved Window Titles #111495

Open
Harley Acheson wants to merge 7 commits from Harley/blender:WindowTitles into main

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

Allow informative titles for separate windows.


Currently almost all windows get a title of "Blender". This patch allows single-editor windows to have unique and informative titles. This title is changed as areas changed, are split and merged, and are translated.

Following shows a new window that is created with a specific title that changes as the areas are changed:

WindowTitles.gif

This also comes in handy when looking at previews in the Windows Taskbar, having titles:

image

Allow informative titles for separate windows. --- Currently almost all windows get a title of "Blender". This patch allows single-editor windows to have unique and informative titles. This title is changed as areas changed, are split and merged, and are translated. Following shows a new window that is created with a specific title that changes as the areas are changed: ![WindowTitles.gif](/attachments/daaf6112-9bcc-45c6-8c77-64affbf73628) This also comes in handy when looking at previews in the Windows Taskbar, having titles: ![image](/attachments/23ac28eb-b26a-45c0-b282-61b460f96cb9)
Harley Acheson added 1 commit 2023-08-25 01:49:41 +02:00
aa1d0408cf UI: Improved Window Titles
Allow informative titles for separate windows.
Member

Nice! Does it still show the path in main windows?

Nice! Does it still show the path in main windows?
Harley Acheson added 2 commits 2023-08-25 18:54:10 +02:00
Author
Member

Nice! Does it still show the path in main windows?

Yes, although your comment made me find an error in this, now corrected. You could have a main window that is NOT saved (so just says "Blender"), reduce the number of editors to only one, and it would show a fancy title. That was wrong and fixed.

A main window (one that contains a SPACE_TOPBAR) will behave as it does now, showing "Blender" if unsaved, or with the path if there is one. Basically this only affects non-main windows.

Note that one reason I wanted to move this PR from Phab to Gitea is because it contains a trick (from Campbell) on how to get the proper editor names when there are variations (like Image Editor versus UV Editor). This could come in handy for tab names for example.

I'll (soon-ish) be updating the original comment to include some more history and details about editor names, custom window titles, and title persistence.

> Nice! Does it still show the path in main windows? Yes, although your comment made me find an error in this, now corrected. You _could_ have a main window that is NOT saved (so just says "Blender"), reduce the number of editors to only one, and it would show a fancy title. That was wrong and fixed. A main window (one that contains a SPACE_TOPBAR) will behave as it does now, showing "Blender" if unsaved, or with the path if there is one. Basically this only affects non-main windows. Note that one reason I wanted to move this PR from Phab to Gitea is because it contains a trick (from Campbell) on how to get the proper editor names when there are variations (like Image Editor versus UV Editor). This could come in handy for tab names for example. I'll (soon-ish) be updating the original comment to include some more history and details about editor names, custom window titles, and title persistence.
Harley Acheson added this to the User Interface project 2023-09-08 23:39:33 +02:00
Harley Acheson added 2 commits 2023-09-08 23:43:51 +02:00
Harley Acheson added 1 commit 2023-09-09 00:05:35 +02:00
Harley Acheson added 1 commit 2023-09-18 18:04:18 +02:00
This pull request has changes conflicting with the target branch.
  • source/blender/makesrna/intern/rna_space.cc
  • source/blender/windowmanager/intern/wm_window.cc

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u WindowTitles:Harley-WindowTitles
git checkout Harley-WindowTitles
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#111495
No description provided.