Page MenuHome

Ctrl clicking to hide unselected in outline doesn't toggle
Closed, ArchivedPublic


System Information
Operating system: Windows 10
Graphics card: 1080ti

Blender Version
Broken: any 2.8

Short description of error
Control clicking on the eye icon of an object in the outliner hides all other objects. But control clicking on that same icon again doesn't unhide them. This should be a toggle.

Right now, this traps a beginner user in a state he might not easily be able to get back from, because trying to shift/ctrl/alt clicking an always visible eye icon is much easier to discover than finding the show/hide object options which are "hidden" in the object menu (logically, one would expect them to be found in the view menu, but that's a different issue).

Additionally, in the object menu and using keyboard shortcuts in the viewport, the same effect (hide unselected) is performed by Shift H and not Control H. There should be consistency between shortcuts.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. Add several objects.
  2. Control click one of the object's eye icon in the outliner.
  3. Control click the same eye icon again.


Nothing happens.

Expected result:

The visibility should toggle back to the state it was before you control clicked the icon the first time.



Event Timeline

Robert S (eobet) updated the task description. (Show Details)
Robert S (eobet) updated the task description. (Show Details)

I think implementing this is quite a bit harder than it seems at first.
I understand that this behavior might be useful. However, I don't have a strong opinion.

What do @William Reynish (billreynish) / @Julien Kaspar (JulienKaspar) think?

Note: You can always undo instead if clicking on the icon again.

In any case that is more like a feature request I guess, not sure how to handle it.

I'm not sure. I personally got used to the way it works very quickly and would rarely use this kind of toggle to be there through Ctrl clicking the eye icon.
Just having this addition sounds good to me but it sounds like we already have this functionality: Local View.
The problem is that local view is only using the selected objects and cannot be enabled/disabled from the outliner.

It would be interesting to be able to select one or multiple collections, right click them and have the operator "Toggle Local View" or something similar.
It can even be set to a shortcut by default or the user (for example "L") but then it's also a bit of a hidden feature like excluding ...
I think this can go many ways. These are just my ideas but I'll leave it up to you to figure out the best solution ;)

Brecht Van Lommel (brecht) claimed this task.

This is outside the scope of the bug tracker, design discussions about this are for tasks like T57857.