Outliner: Object selected/deselected when clicking with RMB on it's object data [Sync Selection option causes this] #94079

Open
opened 2021-12-14 22:14:11 +01:00 by Garek · 6 comments

Blender Version
Broken: version: 3.0.0, branch: master (modified), commit date: 2021-12-02 18:35, hash: f1cca30557
Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: 5be9ef4177
Broken (differently): 2.90.1, 2.83
Worked: 2.82

Short description of error
When clicking with RMB on some object data in outliner (can confirm for materials), parent object is selected/deselected (both in outliner and in 3D viewport). That can lead to undesired actions. For example, when click RMB on material object data from a cube and choosing Delete you'll get one of the following:

  • Delete only material object data if parent object is not selected
  • Delete cube object itself and material object data if parent object is selected
    Mesh/ligh/camera object data also have this "parent object selection/deselection" behavior but for this object data it's not so apparent in terms of functionality since in both cases mesh/light/camera object data is deleted and object can't exist without those so it's deleted too.
    Modifiers and constraints are handled consistent with context menu - deleting only modifier - although it's something to be discussed since it shows that parent object is selected.
    For shortcut behavior there is already #94062.

In 2.90.1 core issue is same but behave slightly different - it'll not always change selection/deselection, can provide details if requested.

Exact steps for others to reproduce the error
For materials:

  1. Open attached file. You'll see two objects with same mesh object data.
  2. Repeatedly click with RMB on material object mata in outliner to see parent object selected/deselected.
  3. Choose Delete from context menu when parent object is selected - one of the objects is deleted and one material that was clicked on (you can see it on other objest mesh object data since they share it).
  4. Undo
  5. Choose Delete from context menu when parent object is not selected - only one material is deleted.

For showcasing mesh/light/camera data behavior:

  1. Open attached file.
  2. RMB on Sphere mesh object data to a point where parent object is either selected or deselected.
  3. Choose Delete from context menu - in both cases all objects are deleted.
    RMB outliner selection bug.blend
**Blender Version** Broken: version: 3.0.0, branch: master (modified), commit date: 2021-12-02 18:35, hash: `f1cca30557` Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: `5be9ef4177` Broken (differently): 2.90.1, 2.83 Worked: 2.82 **Short description of error** When clicking with RMB on *some* object data in outliner (can confirm for materials), parent object is selected/deselected (both in outliner and in 3D viewport). That can lead to undesired actions. For example, when click RMB on material object data from a cube and choosing `Delete` you'll get one of the following: - Delete only material object data if parent object is not selected - Delete cube object itself **and** material object data if parent object is selected Mesh/ligh/camera object data also have this "parent object selection/deselection" behavior but for this object data it's not so apparent in terms of functionality since in both cases mesh/light/camera object data is deleted and object can't exist without those so it's deleted too. Modifiers and constraints are handled consistent with context menu - deleting only modifier - although it's something to be discussed since it shows that parent object is selected. For shortcut behavior there is already #94062. In 2.90.1 core issue is same but behave slightly different - it'll not always change selection/deselection, can provide details if requested. **Exact steps for others to reproduce the error** For materials: 1. Open attached file. You'll see two objects with same mesh object data. 2. Repeatedly click with RMB on material object mata in outliner to see parent object selected/deselected. 3. Choose `Delete` from context menu when parent object is selected - one of the objects is deleted and one material that was clicked on (you can see it on other objest mesh object data since they share it). 4. Undo 5. Choose `Delete` from context menu when parent object is not selected - only one material is deleted. For showcasing mesh/light/camera data behavior: 1. Open attached file. 2. RMB on `Sphere` mesh object data to a point where parent object is either selected or deselected. 3. Choose `Delete` from context menu - in both cases all objects are deleted. [RMB outliner selection bug.blend](https://archive.blender.org/developer/F12742693/RMB_outliner_selection_bug.blend)
Author

Added subscriber: @Garek

Added subscriber: @Garek

#94062 was marked as duplicate of this issue

#94062 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

This behavior came with 0e47e57eb7 and I also dont like it :)
The issue reported here can also be seen in #93799 for example.

So one workaround for now is to turn OFF Sync Selection
image.png

I think this would need a design decision first in regards to how this should work:

  • can we make it works, so that the underlying intention (sync the Properties Editor) is maintained, but the corresponding object stays unselected in the Outliner?
  • other ideas?

Will set the task status accordingly

This behavior came with 0e47e57eb7 and I also dont like it :) The issue reported here can also be seen in #93799 for example. So one workaround for now is to turn OFF `Sync Selection` ![image.png](https://archive.blender.org/developer/F12747713/image.png) I think this would need a design decision first in regards to how this should work: - can we make it works, so that the underlying intention (sync the Properties Editor) is maintained, but the corresponding object stays unselected in the Outliner? - other ideas? Will set the task status accordingly
Philipp Oeser changed title from Object selected/deselected when clicking with RMB on it's object data to Outliner: Object selected/deselected when clicking with RMB on it's object data [`Sync Selection` option causes this] 2021-12-15 13:53:39 +01:00
Member

Added subscriber: @natecraddock

Added subscriber: @natecraddock
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:22:38 +01: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#94079
No description provided.