Page MenuHome

Outliner: Dragging over disclosure triangles moves item rather than opening/closing
Closed, ResolvedPublicTO DO


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.

Event Timeline

William Reynish (billreynish) lowered the priority of this task from 90 to Normal.Nov 9 2018, 3:16 PM

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.

@Angus Gibson (angusg): 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.

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.

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 (billreynish) renamed this task 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.Apr 29 2019, 4:50 PM

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

If not solves other? I can work on it.

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

Nathan Craddock (natecraddock) changed the task status from Unknown Status to Resolved.Aug 17 2019, 12:23 AM

This is added with walk openclose toggling in 252fb4899735