Page MenuHome

Sequence Selection Implementation in Blender's 2.8 Outliner
Needs ReviewPublic

Authored by Aqib Maqbool (aqib) on May 6 2019, 1:46 PM.
"Love" token, awarded by Draise."Love" token, awarded by looch."Love" token, awarded by xrg."Love" token, awarded by duarteframos."Love" token, awarded by billreynish.



Shift + Mouse Click to Perform Sequence Selection


Select a Range of Items from Active elem and last elem including active and last elem


Events, Actions & Conditions

Shift + Mouse ClickActive Elem ExistsSelects all item in between Active item and Last Selected Item (including both of them)
//No Active ElemSelect current item


Effect Key-map

Ctrl + Mouse ClickAdd/Remove Current Element (under cursor)
Alt + Mouse ClickAdd Element to Selection With recursive elements
Shift + Alt + Mouse ClickAdd/Remove Element to Selection With recursive elements

How it works

Sequence Selection with others Related Controls (Demo)

Note: You can see some of the sync features are not implemented in the demo, for thous you have to use other patch Select/Deselect objects from 3d Viewport while using Box Selection tool && Deselects everything when clicking on empty area in Outliner

Diff Detail

Event Timeline

William Reynish (billreynish) accepted this revision.EditedMay 6 2019, 1:54 PM

This is an implementation of T63989

To me this seems to work quite well.

Only weakness I see is that if you already used Shift-click to select all items in between, and then want to keep extending in the same direction, it deselected the previous selection, because it always extends from the last activated item.

In most file browsers it works a little better, so that you can keep extending multiple times in the same direction, but that may be more complex to support.

What you've done here is already a vast improvement from the simple case of just shift-selecting items.

This revision is now accepted and ready to land.May 6 2019, 1:54 PM
William Reynish (billreynish) requested changes to this revision.May 6 2019, 1:57 PM

I think if we add this, there should also be a way to select items without selecting the ones in-between.

We could do this with Ctrl-click. Currently this is used to renaming, but we also have double-click for that, so I think it's fine to replace Ctrl-click with extend select.

This revision now requires changes to proceed.May 6 2019, 1:57 PM

@William Reynish (billreynish) What you think about. I think if i remove the functionality of activating of last selected item. It can be solved!!!

@William Reynish (billreynish) Ok! I will try for that's. Ctrl + Click for simple clicking and Extending Selection Functionality

@Aqib Maqbool (aqib) Yes perhaps it could not activate items while holding Shift (only select them) so that you could keep extending the selection in the same direction.

And yes, Ctrl for simple extend selection without selecting items in-between. Shift can be used for selecting the range.

I like this improvement but have some remarks:

  • Look like it is only for the outliner, but I would like to make the selection methods consistant all over Blender, specially in the file browser.
  • Sift+Click to extend selection, Ctrl+Click to add to the selection, F2 to rename

@Xavier Thomas (xat) I think. If it's is successfully implemented in one view then it's not difficult to supports in others. Only we have to think how should supports in one way. Also which is prefer way!!!

Abid Maqbool (cto.abid) edited the summary of this revision. (Show Details)May 10 2019, 2:55 PM

Implemented Extending Selection in same direction feature.

Note: You must have to apply dependency to check this patch

Abid Maqbool (cto.abid) retitled this revision from Shift + Mouse Click to Selects Range of Selection to Sequence Selection Implementation in Blender's 2.8 Outliner.May 11 2019, 3:04 PM
Abid Maqbool (cto.abid) edited the summary of this revision. (Show Details)May 11 2019, 3:35 PM
Abid Maqbool (cto.abid) edited the summary of this revision. (Show Details)

I will implement my this suggestion today...

Abid Maqbool (cto.abid) edited the summary of this revision. (Show Details)May 13 2019, 4:01 AM

A lot of changes in this patch

Changes in Outliner default key-maps:

Moves Outliner's key-map Shift + Click to Ctrl + Click (Extend Selection)
Moves Outliner's Key-map Ctrl + Click to Alt + Click (Recursive Selection)
Moves Outliner's Key-map Shift + Ctrl + Click to Ctrl + Alt + Click (Extended Recursive Selection)

Re-implementation of some actions

Reassign Close/Expend elements action to Shift + Click (on close/expend arrow)
Reassign Extended Close/Expend elements action to Ctrl + Click (on close/expend arrow)

Important Note: Dependency patch is also updated, you must apply updated patch to check this patch