Turning collections off and then back on resets the viewport visibility behavior of objects #70164

Closed
opened 2019-09-22 17:57:57 +02:00 by Dimitar P. · 16 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 25.20.100.6581

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-22 11:16, hash: 22a478e5ee
Worked: version 2.79

Short description of error
objectVisibility_bugReport.blend
When turning a collection off and there are objects inside of the collection hidden in the viewport, when the collection is turned back on, all objects are reset to visible in the viewport.

GIF demonstrating the issue:
outlinerbug.gif

Hidden-in-viewport properties for layers/objects should remember their state as they seem to do for whether objects get rendered or not.

Related to this: #69812 (Sub-collections on/off state not remembered if parent collection is switched off and then on)

Also conversation on devtalk: https://devtalk.blender.org/t/outliner-objects-collections-visibility-paper-cuts/9706

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 25.20.100.6581 **Blender Version** Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-22 11:16, hash: `22a478e5ee` Worked: version 2.79 **Short description of error** [objectVisibility_bugReport.blend](https://archive.blender.org/developer/F7777529/objectVisibility_bugReport.blend) When turning a collection off and there are objects inside of the collection hidden in the viewport, when the collection is turned back on, all objects are reset to visible in the viewport. GIF demonstrating the issue: ![outlinerbug.gif](https://archive.blender.org/developer/F7758733/outlinerbug.gif) Hidden-in-viewport properties for layers/objects should remember their state as they seem to do for whether objects get rendered or not. Related to this: #69812 (Sub-collections on/off state not remembered if parent collection is switched off and then on) **Also conversation on devtalk: https://devtalk.blender.org/t/outliner-objects-collections-visibility-paper-cuts/9706**
Author

Added subscriber: @Dimitar

Added subscriber: @Dimitar

#70307 was marked as duplicate of this issue

#70307 was marked as duplicate of this issue

Added subscribers: @dfelinto, @mano-wii

Added subscribers: @dfelinto, @mano-wii
Dalai Felinto was assigned by Germano Cavalcante 2019-09-30 20:07:02 +02:00

@dfelinto, is this a known limitation or does it work as intended?

@dfelinto, is this a known limitation or does it work as intended?

Added subscriber: @carliel

Added subscriber: @carliel
Author

In #70164#786595, @mano-wii wrote:
@dfelinto, is this a known limitation or does it work as intended?

I hope it hasn't been implemented correctly yet, as this wasn't the default behavior in blender 2.7. E.g. when having hidden objects on a layer in 2.7, and then turning that layer off, and then back on, the objects remain hidden.

The current behavior makes it very difficult to work with many collection layers, where i am constantly switching some on and off, as all the hidden-in-the viewport properties get reset.

In this case I am forced to create seperate sub-collections to house construction geometry. Yet as mentioned in #69812 (Sub-collections on/off state not remembered if parent collection is switched off and then on), sub-collections get reset to on state as well when parented to collection that is turned off and then back on.

I propose that for both collections/sub-collections on/off behavior and viewport visibility when collections are turned on and off work by remembering their states, similarly to the way that they remember their render on/off property.

A possible way to solve these issues is to create a state to remember the settings prior to executing the operators to turn on/off and show/hide

  • turn off main collection
  • sub-collections get all switched on
  • turn on sub-collection
  • turn on main layer
  • sub-collections and/or hidden/visible objects recall initial state prior to step 1
> In #70164#786595, @mano-wii wrote: > @dfelinto, is this a known limitation or does it work as intended? I hope it hasn't been implemented correctly yet, as this wasn't the default behavior in blender 2.7. E.g. when having hidden objects on a layer in 2.7, and then turning that layer off, and then back on, the objects remain hidden. The current behavior makes it very difficult to work with many collection layers, where i am constantly switching some on and off, as all the hidden-in-the viewport properties get reset. In this case I am forced to create seperate sub-collections to house construction geometry. Yet as mentioned in #69812 (Sub-collections on/off state not remembered if parent collection is switched off and then on), sub-collections get reset to on state as well when parented to collection that is turned off and then back on. I propose that for both collections/sub-collections on/off behavior and viewport visibility when collections are turned on and off work by remembering their states, similarly to the way that they remember their render on/off property. A possible way to solve these issues is to create a state to remember the settings prior to executing the operators to turn on/off and show/hide - turn off main collection - sub-collections get all switched on - turn on sub-collection - turn on main layer - sub-collections and/or hidden/visible objects recall initial state prior to step 1

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Hi, thanks for the report. It is working as expecting though. Right now if you want a permanent on/off visibility you need to turn off their global viewport visibility (the screen icon).

Hi, thanks for the report. It is working as expecting though. Right now if you want a permanent on/off visibility you need to turn off their global viewport visibility (the screen icon).

Added subscriber: @brecht

Added subscriber: @brecht

Poking @brecht in case he thinks otherwise

Poking @brecht in case he thinks otherwise

Added subscriber: @1D_Inc

Added subscriber: @1D_Inc

Well, it seems to be Collection system design issue.
In short - it is too easy to lose current scene setup.
Almost any action with collections leads to that.
We are currently trying to generalize such issues.

Well, it seems to be Collection system design issue. In short - it is too easy to lose current scene setup. Almost any action with collections leads to that. We are currently trying to generalize such issues.
Author

I am wondering if there are any updated thoughts in this bug? Whether I should re-open it or make a new report? In my mind, it is still i a bug because turning a collection off and then back on looses the visibility settings of the scene. It makes it rather difficult to work with turning collections on and off.

Poking @dfelinto and @1D_Inc

I am wondering if there are any updated thoughts in this bug? Whether I should re-open it or make a new report? In my mind, it is still i a bug because turning a collection off and then back on looses the visibility settings of the scene. It makes it rather difficult to work with turning collections on and off. Poking @dfelinto and @1D_Inc

In #70164#830274, @Dimitar wrote:
I am wondering if there are any updated thoughts in this bug? Whether I should re-open it or make a new report? In my mind, it is still i a bug because turning a collection off and then back on looses the visibility settings of the scene. It makes it rather difficult to work with turning collections on and off.

Poking @dfelinto and @1D_Inc

All related issues are united by paragraph
"Obtaining the actual setup is the goal of a collection management system.
Currently, it is too easy to lose the actual setup, since almost every collection operation is irreversible, and almost any action with collections leads to losing actual setup."

Yes, a lot of our users faced with this issue. The problem is this is not a software bug, but a workflow (design) issue.
We made an alpha version of proposal regarding content management systems.

> In #70164#830274, @Dimitar wrote: > I am wondering if there are any updated thoughts in this bug? Whether I should re-open it or make a new report? In my mind, it is still i a bug because turning a collection off and then back on looses the visibility settings of the scene. It makes it rather difficult to work with turning collections on and off. > > Poking @dfelinto and @1D_Inc All related issues are united by paragraph "Obtaining the actual setup is the goal of a collection management system. Currently, it is too easy to lose the actual setup, since almost every collection operation is irreversible, and almost any action with collections leads to losing actual setup." Yes, a lot of our users faced with this issue. The problem is this is not a software bug, but a workflow (design) issue. We made an alpha version of proposal regarding content management systems.
Author

Ok, so with this behaviour i slightly understand what's happened. The hidden icon is second and meant only for very temporary situations whereas the disable in viewport icon has taken up the usage that we were used to in 2.7. That's fine, it takes a little bit of getting used to but it's fine. Not as much a dealbreaker as #69812 (Sub-collections on/off state not remembered if parent collection is switched off and then on).

Ok, so with this behaviour i slightly understand what's happened. The hidden icon is second and meant only for very temporary situations whereas the disable in viewport icon has taken up the usage that we were used to in 2.7. That's fine, it takes a little bit of getting used to but it's fine. Not as much a dealbreaker as #69812 (Sub-collections on/off state not remembered if parent collection is switched off and then on).

They are the same, actually.
But this one contains both cases - loosing setup of nesting collections and objects visibility.

They are the same, actually. But this one contains both cases - loosing setup of nesting collections and objects visibility.
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
5 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#70164
No description provided.