Outliner: Unexpected behavior when duplicating object hierarchies #104866

Open
opened 2023-02-17 12:13:59 +01:00 by Steve Gaskell · 4 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA RTX A4500/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-20 08:50, hash: rBef9ca44dee7f
Worked: (newest version of Blender that worked as expected)

Short description of error
may not be a bug - duplicate a parent object (i.e. an object that has child objects). The duplication automatically selects the new object in the 3D viewport but this selection differs from that shown in the outliner. This means dragging to, say, a new collection does not work as expected (only the parent object is moved leaving the child behind).

Exact steps for others to reproduce the error
The set up (this is the attached blend file):-

  1. Create two cubes (or any meshes) and parent one to the other to form a hierarchy.
  2. Add the object(s) to a collection.
  3. Create another top level collection which is empty.

The aim:-
To duplicate the object(s) (not the collection) and copy the duplicate to the second (currently empty) collection.

The steps:-

  1. Right click the parent object in the outliner and choose "Select Hierarchy". Note that the outliner shows the selected objects with a blue background bar (as expected).

  2. In the 3D viewport, use Shift or Alt D (doesn't matter which) to create new duplicate objects. Note that the 3D viewport shows the duplicate parent and child selected. The outliner shows a new object selected (with blue bar) but the tree is collapsed so we can't see the child.

  3. In the outliner, click and drag the selected parent object to the empty collection. Note that only the parent moves, the child is left behind. This child has then to be dragged separately.

After step 2, every visual cue leads the user to believe that the duplicate hierarchy is selected. And this is the intuitive behaviour expected. But expanding the outliner tree shows the child object is not, in fact, selected (no blue bar). So an additional step of having to reselect the hierarchy is required before step 3.

The main issue is that with lots of objects and detailed hierarchies, just forgetting that additional "select hierarchy" step before dragging means that child objects can be scattered all over the place away from their parent and the user is left picking through the large list trying to sort it out.

This may not be a bug, it may be working as designed. But I cannot think of a use case where the current functionality would be useful so I'm assuming it's a small selection bug.

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA RTX A4500/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-20 08:50, hash: `rBef9ca44dee7f` Worked: (newest version of Blender that worked as expected) **Short description of error** **may not be a bug** - duplicate a parent object (i.e. an object that has child objects). The duplication automatically selects the new object in the 3D viewport but this selection differs from that shown in the outliner. This means dragging to, say, a new collection does not work as expected (only the parent object is moved leaving the child behind). **Exact steps for others to reproduce the error** The set up (this is the attached blend file):- 1. Create two cubes (or any meshes) and parent one to the other to form a hierarchy. 2. Add the object(s) to a collection. 3. Create another top level collection which is empty. The aim:- To duplicate the object(s) (not the collection) and copy the duplicate to the second (currently empty) collection. The steps:- 1. Right click the parent object in the outliner and choose "Select Hierarchy". Note that the outliner shows the selected objects with a blue background bar (as expected). 2. In the 3D viewport, use Shift or Alt D (doesn't matter which) to create new duplicate objects. Note that the 3D viewport shows the duplicate parent and child selected. The outliner shows a new object selected (with blue bar) but the tree is collapsed so we can't see the child. 3. In the outliner, click and drag the selected parent object to the empty collection. Note that only the parent moves, the child is left behind. This child has then to be dragged separately. After step 2, every visual cue leads the user to believe that the duplicate hierarchy is selected. And this is the intuitive behaviour expected. But expanding the outliner tree shows the child object is not, in fact, selected (no blue bar). So an additional step of having to reselect the hierarchy is required before step 3. The main issue is that with lots of objects and detailed hierarchies, just forgetting that additional "select hierarchy" step before dragging means that child objects can be scattered all over the place away from their parent and the user is left picking through the large list trying to sort it out. This may not be a bug, it may be working as designed. But I cannot think of a use case where the current functionality would be useful so I'm assuming it's a small selection bug.
Steve Gaskell added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-02-17 12:14:00 +01:00

Please make the steps more complete, with names, without breaks with explanations. Just a set of steps and the expected result at the end.

Please make the steps more complete, with names, without breaks with explanations. Just a set of steps and the expected result at the end.
Iliya Katushenock added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-02-17 12:41:38 +01:00
Author

Please make steps more complete
The steps are complete. I don't know what else I can add

... with names
Names?

Without explanations
The explanations are I think crucial to the understanding of what is happening vs. what should be happening. A simple set of steps would lack context.

I've never come across a situation where a bug report contains too much information such that there is a request to remove some of it!

>>Please make steps more complete The steps are complete. I don't know what else I can add >> ... with names Names? >>Without explanations The explanations are I think crucial to the understanding of what is happening vs. what should be happening. A simple set of steps would lack context. I've never come across a situation where a bug report contains too much information such that there is a request to remove some of it!

Rather, it is easy to get confused.
Split: object, child

  • Copy of object, Copy of child
  • Selected, Active
  • In 3d, In outliner
  • Copying, linking, moving
Rather, it is easy to get confused. Split: object, child - Copy of object, Copy of child - Selected, Active - In 3d, In outliner - Copying, linking, moving
Member

Thanks for the report. I can confirm.
Child should be selected in outliner after duplicating them.
Child object (Cube.004) behaves as reference when parent (Cube.003 is moved to Coll2
I'll check.

Thanks for the report. I can confirm. Child should be selected in outliner after duplicating them. Child object (`Cube.004`) behaves as reference when parent (`Cube.003` is moved to `Coll2` I'll check.
Pratik Borhade changed title from Unexpected behaviour when duplicating object hierarchies to Outliner: Unexpected behavior when duplicating object hierarchies 2023-08-10 11:16:12 +02:00
Pratik Borhade added
Module
User Interface
Status
Confirmed
and removed
Status
Needs Information from User
labels 2023-08-10 11:16:42 +02:00
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
3 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#104866
No description provided.