Page MenuHome

Collection in outliner grayed out when all child collections are disabled
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.3.0-7625-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.44

Blender Version
Broken: version: 2.83 (sub 4), branch: HEAD, commit date: 2020-02-18 11:23, hash: rBe3e6dc41a77a

Short description of error
Admittedly a very small issue, but I think it is likely a bug.

A collection's name in the outliner is grayed out when all of its child collections are disabled.
This almost makes sense, but there can be enabled objects inside the main collection. Because of this, it feels wrong and unintentional to me, that a collection that contains elements that are contributing to the scene, would get grayed out.

Exact steps for others to reproduce the error

Event Timeline

Jacques Lucke (JacquesLucke) changed the task status from Needs Triage to Confirmed.Feb 18 2020, 5:49 PM
Jacques Lucke (JacquesLucke) changed the subtype of this task from "Report" to "Bug".
Dalai Felinto (dfelinto) triaged this task as Low priority.Thu, May 21, 11:09 AM

Hi @Jacques Lucke (JacquesLucke) remember to always tag the correct project when triaging a report, specially when you go as far as call it a bug. Otherwise it doesn' t show up in the corresponding queries.
(this should be super easy to fix by the way).

Is anyone hitting this issue? Would be interested in fixing this :)

@Jordan Matelsky (j6m8) I guess if the issue is unassigned, no one's working on it. I think you can safely assign it to yourself and have a go. Thanks for contributing!

@Jordan Matelsky (j6m8) be sure to mention here once you have a patch for this (or poke me (dfelinto) on blender.chat, to take a look at it.

I created a patch for this. In it I explain the changes.
The part of the code I modified was introduced in Commit 4234cddd by Brecht in which children flags are set as parent flags initially.
He might better know whether this patch is ok or not.
I'm new to this, not sure if I should assign him as reviewer.