Outliner: Dragging over disclosure triangles moves item rather than opening/closing #57746

Closed
opened 2018-11-09 15:16:01 +01:00 by William Reynish · 17 comments

This is inconsistent with the rest of Blender (eg Properties) where dragging down over the header disclosure triangles opens or closes the panels.

It also makes it difficult to quickly open or close many Collections or Objects in the Outliner.

image.png

This is inconsistent with the rest of Blender (eg Properties) where dragging down over the header disclosure triangles opens or closes the panels. It also makes it difficult to quickly open or close many Collections or Objects in the Outliner. ![image.png](https://archive.blender.org/developer/F5460384/image.png)
Added subscribers: @WilliamReynish, @iss, @0o00o0oo, @ideasman42, @RamiroCantu, @Regnas

Added subscriber: @angusg-2

Added subscriber: @angusg-2

I wouldn't mind taking a look at this. I have pretty much the right behaviour as far as interactions by just replacing the icon with a button, but I guess the selection colouring/disabling are the trickier bits that aren't there yet.

I wouldn't mind taking a look at this. I have pretty much the right behaviour as far as interactions by just replacing the icon with a button, but I guess the selection colouring/disabling are the trickier bits that aren't there yet.

@angusg-2: great. As for selection coloring, the arrow itself doesn’t need to be disabled I don’t think?

@angusg-2: great. As for selection coloring, the arrow itself doesn’t need to be disabled I don’t think?

No, I think it can remain functioning. It was previously being drawn with half transparency if the tree element was disabled (I don't know how to trigger this) or TE_DRAGGING flag was set (although this is never set anywhere anyway)

The only other hiccup I'm having is replicating the shift-click to expand/close all children - setting a callback with UI_but_func_set allows this behaviour, however only the top element in each subtree can be used to start a drag...Dragging from the disclosure triangles on the other elements triggers the previous dragging of the elements themselves.

No, I think it can remain functioning. It was previously being drawn with half transparency if the tree element was disabled (I don't know how to trigger this) or `TE_DRAGGING` flag was set (although this is never set anywhere anyway) The only other hiccup I'm having is replicating the shift-click to expand/close all children - setting a callback with `UI_but_func_set` allows this behaviour, however only the top element in each subtree can be used to start a drag...Dragging from the disclosure triangles on the other elements triggers the previous dragging of the elements themselves.

Added subscriber: @mjunk

Added subscriber: @mjunk

I'would complement this with the behavior as it is in the properties editor when dragging on the properties tabs - as you start dragging on a tab, only the VERTICAL MOVEMENT of the mouse is taken into account which tab is being selected, you don't have to make sure the mouse cursor goes over the tabs as you start dragging.

I'would complement this with the behavior as it is in the properties editor when dragging on the properties tabs - as you start dragging on a tab, only the VERTICAL MOVEMENT of the mouse is taken into account which tab is being selected, you don't have to make sure the mouse cursor goes over the tabs as you start dragging.

Added subscriber: @DuarteRamos

Added subscriber: @DuarteRamos

Added subscriber: @Sharan

Added subscriber: @Sharan

Hey ! So I was going through this task and had a small doubt. How is this different from hide/show one level which is easily implemented by just numpad +/- ?
Is there a necessity for this kind of shortcut?

Hey ! So I was going through this task and had a small doubt. How is this different from hide/show one level which is easily implemented by just numpad +/- ? Is there a necessity for this kind of shortcut?
William Reynish changed title from In the Outliner, dragging across the disclosure triangles moves the item rather than open or close the items to Outliner: Dragging over disclosure triangles moves item rather than opening/closing 2019-04-29 16:50:39 +02:00

Added subscriber: @SidneyMoraesJr

Added subscriber: @SidneyMoraesJr

Added subscriber: @AbidMaqbool

Added subscriber: @AbidMaqbool
Abid Maqbool self-assigned this 2019-05-26 09:42:27 +02:00

I think it's more related to GSOC project. Also may be Fix #57746: Allow drag toggle for outliner disclosure triangles solves it (I don't check yet)

If not solves other? I can work on it.

I think it's more related to `GSOC` project. Also may be [Fix #57746: Allow drag toggle for outliner disclosure triangles ](https://developer.blender.org/D4008) solves it (I don't check yet) If not solves other? I can work on it.

Added subscriber: @natecraddock

Added subscriber: @natecraddock
Abid Maqbool was unassigned by Nathan Craddock 2019-05-27 03:31:34 +02:00
Nathan Craddock self-assigned this 2019-05-27 03:31:34 +02:00

Yes. I'm planning on doing this in my GSoC project

Yes. I'm planning on doing this in my GSoC project

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This is added with walk openclose toggling in 252fb48997

This is added with walk openclose toggling in 252fb4899735
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
8 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#57746
No description provided.