UI: Screen Area Docking #104665

Open
Harley Acheson wants to merge 12 commits from Harley/blender:Docking into main

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

Improvements to Area maintenance, adding the ability to move and dock
areas to any location, including between multiple windows. Allows
transitioning between splitting, joining, moving, and docking without
early commit. Improved visual feedback.


This patch improves our area maintenance routines by extending the existing "Join" operator, adding docking and moving and tearing out, while allowing seamless transitioning between all actions while mid-operation.

Drag from any corner action zone and you will be offered multiple suggestions on what to do with the area, including joining, docking, splitting, or moving to other windows. A feature removed is the ability to reverse the direction of a join mid-operation, but this change greatly simplifies the operations since there is always a single source area. To eliminate the chance of accidental splits this patch makes split operation only act on mouse release.

The following shows transitioning between area joins and vertical and horizontal splitting:

Docking1.gif

The following shows how dragging with your mouse gives you options for joining and docking at multiple target locations:

Docking2.gif

Dragging outside the window creates a floating popup:

Docking3.gif

Another illustration about the simplicity of this. In the following example we have two areas, arranged as two vertical columns. Let's imagine that you want these to be two horizontal rows instead. Currently you'd have to split each one and then join two of the resulting four areas. So a complex combination of destructive actions. With docking you just drag one area to where you want it to go.

Docking3.gif

Improvements to Area maintenance, adding the ability to move and dock areas to any location, including between multiple windows. Allows transitioning between splitting, joining, moving, and docking without early commit. Improved visual feedback. --- This patch improves our area maintenance routines by extending the existing "Join" operator, adding docking and moving and tearing out, while allowing seamless transitioning between all actions while mid-operation. Drag from any corner action zone and you will be offered multiple suggestions on what to do with the area, including joining, docking, splitting, or moving to other windows. A feature removed is the ability to reverse the direction of a join mid-operation, but this change greatly simplifies the operations since there is always a single source area. To eliminate the chance of accidental splits this patch makes split operation only act on mouse release. The following shows transitioning between area joins and vertical and horizontal splitting: ![Docking1.gif](/attachments/cd354475-3552-4710-b4f0-3ffa236b2416) The following shows how dragging with your mouse gives you options for joining and docking at multiple target locations: ![Docking2.gif](/attachments/0548b126-3e1d-4316-922a-67db0f6156a7) Dragging outside the window creates a floating popup: ![Docking3.gif](/attachments/e40fcc87-750e-4243-94ba-913798f72a06) Another illustration about the simplicity of this. In the following example we have two areas, arranged as two vertical columns. Let's imagine that you want these to be two horizontal rows instead. Currently you'd have to split each one and then join two of the resulting four areas. So a complex combination of destructive actions. With docking you just drag one area to where you want it to go. ![Docking3.gif](/attachments/49309c9d-018d-4931-bf8a-5363b7f7f258)
Brecht Van Lommel added this to the User Interface project 2023-02-13 09:08:50 +01:00
Harley Acheson force-pushed Docking from 1284a2773c to f55d549100 2023-02-15 04:52:52 +01:00 Compare
Harley Acheson force-pushed Docking from f55d549100 to b55bc9ab9f 2023-02-24 03:43:37 +01:00 Compare
Author
Member

@blender-bot build

@blender-bot build
Harley Acheson force-pushed Docking from b55bc9ab9f to 4f79383247 2023-03-22 03:05:45 +01:00 Compare
Harley Acheson force-pushed Docking from 4f79383247 to 4cf3d442f0 2023-05-18 05:07:18 +02:00 Compare
Harley Acheson force-pushed Docking from 4cf3d442f0 to 5f9144283f 2023-06-29 00:47:18 +02:00 Compare
Harley Acheson force-pushed Docking from 5f9144283f to 10962083d1 2023-07-14 04:20:54 +02:00 Compare
Dalai Felinto requested review from Pablo Vazquez 2023-08-01 18:01:43 +02:00
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR104665) when ready.
Author
Member

@blender-bot build

@blender-bot build
Author
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR104665) when ready.
Harley Acheson force-pushed Docking from 05ead7181f to acd98087d8 2024-04-06 00:48:20 +02:00 Compare
Harley Acheson added 1 commit 2024-04-23 20:41:31 +02:00
Harley Acheson added 1 commit 2024-04-27 22:19:35 +02:00
Harley Acheson added 1 commit 2024-04-28 02:07:00 +02:00
Harley Acheson added 2 commits 2024-04-28 02:17:46 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
957168dbbd
Changes to cursors while docking
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR104665) when ready.
Harley Acheson added 2 commits 2024-04-29 19:01:59 +02:00
Harley Acheson added 2 commits 2024-05-08 01:13:54 +02:00
Harley Acheson added 1 commit 2024-05-08 01:58:45 +02:00
Harley Acheson added 1 commit 2024-05-08 02:22:10 +02:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

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