Add "Pie Menu on Drag" support to Region Toggle Pie #116207

Open
Nika Kutsniashvili wants to merge 1 commits from nickberckley/blender:nview-on-drag into main

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

Issue:
In 4.0 new pie menu was introduced that toggles region elements, including new Asset Shelf. Currently it is set to N key and it can be used if you enable "Region Toggle Pie" in preferences. But downside is that once enabled user can't use N shortcut to quickly hide and show sidebar, which is muscle memory at this point. So current way introduces choice in which you either lose pie menu, or quick shortcut.


This patch adds "Pie Menu on Drag" support to Region Toggle Pie.
So if user has "Pie Menu on Drag" enabled in preferences they can tap N for old toggle behavior, and click-drag to use new pie-menu.

Works in every editor that has Region Toggle Pie.

**Issue:** In 4.0 new pie menu was introduced that toggles region elements, including new Asset Shelf. Currently it is set to N key and it can be used if you enable "Region Toggle Pie" in preferences. But downside is that once enabled user can't use N shortcut to quickly hide and show sidebar, which is muscle memory at this point. So current way introduces choice in which you either lose pie menu, or quick shortcut. ---- This patch adds "Pie Menu on Drag" support to Region Toggle Pie. So if user has "Pie Menu on Drag" enabled in preferences they can tap N for old toggle behavior, and click-drag to use new pie-menu. Works in every editor that has Region Toggle Pie. <video src="/attachments/353032c9-4973-45a0-98da-3a55b35a1198" title="pie-menu-on-drag.mkv" controls></video>
Nika Kutsniashvili added 1 commit 2023-12-14 21:52:26 +01:00
Nika Kutsniashvili requested review from Julian Eisel 2023-12-14 21:53:44 +01:00
Nika Kutsniashvili requested review from Julien Kaspar 2023-12-14 21:53:45 +01:00
Nika Kutsniashvili changed title from Enable 'Region Toggle Pie' menu when Pie Menu on Drag is enabled in preferences to Region Toggle Pie menu on click-drag when 'Pie Menu on Drag' is enabled in preferences 2023-12-14 22:48:04 +01:00
Iliya Katushenock added this to the User Interface project 2023-12-15 09:44:30 +01:00
Nika Kutsniashvili changed title from Region Toggle Pie menu on click-drag when 'Pie Menu on Drag' is enabled in preferences to Add "Pie Menu on Drag" support to Region Toggle Pie 2024-01-16 12:30:21 +01:00
Member

In theory I think this is good 👍
I couldn't build the PR to test it. The repo seems to be private? I am prompted to enter a password...

I'm curious how these options work in combination, Or if they should.
If 'Pie Menu on Drag' is enabled, it adds the pie menu to the default shortcuts. But if the 'Region Toggle Pie' option is also enabled, what happens?
Is it then only keeping the pie menu and the N key for toggling the Sidebar? And the T key is unassigned?

In theory I think this is good 👍 I couldn't build the PR to test it. The repo seems to be private? I am prompted to enter a password... I'm curious how these options work in combination, Or if they should. If 'Pie Menu on Drag' is enabled, it adds the pie menu to the default shortcuts. But if the 'Region Toggle Pie' option is also enabled, what happens? Is it then only keeping the pie menu and the `N` key for toggling the Sidebar? And the `T` key is unassigned?
Author
Contributor

@JulienKaspar that seems to be the problem with my PRs and I dont know how to solve it. Im new to this and cant find an answer.

If you have both Pie Menu on Drag and Region Toggle Pie enabled basically latter overrides former. It just functions as it does now. N is pie menu and T is unassigned. Pie on drag only becomes active if you dont have Region Toggle Pie enabled.

I would think this is more useful and Region Toggle Pie can be removed alltogether. But I know some will disagree about that.

@JulienKaspar that seems to be the problem with my PRs and I dont know how to solve it. Im new to this and cant find an answer. If you have both Pie Menu on Drag and Region Toggle Pie enabled basically latter overrides former. It just functions as it does now. N is pie menu and T is unassigned. Pie on drag only becomes active if you dont have Region Toggle Pie enabled. I would think this is more useful and Region Toggle Pie can be removed alltogether. But I know some will disagree about that.
Member

@nickberckley I think in that case it might be better to grey out and disable the 'Region Toggle Pie' toggle if 'Pie Menu on Drag' is enabled. Not that great to have mutually exclusive toggles in the UI.

@ideasman42 @JulianEisel Do you have any options on this?

@nickberckley I think in that case it might be better to grey out and disable the 'Region Toggle Pie' toggle if 'Pie Menu on Drag' is enabled. Not that great to have mutually exclusive toggles in the UI. @ideasman42 @JulianEisel Do you have any options on this?
Merge conflict checking is in progress. Try again in few moments.

Checkout

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