When Object is not selectable it can still be switched to edit mode #107198

Closed
opened 2023-04-20 22:17:04 +02:00 by Daniel Grauer · 2 comments
Member

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.24

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: dont know

Short description of error
When a object is disabled for selection in the outliner and the object is then selected in the outliner its possible to enter any of the interaction modes.
I would assume if a object is not selectable this should not be happening.
Note: it only happens with single object selections.
Maybe this is by design, it just felt like a strange thing and i thought i report it just in case.

Exact steps for others to reproduce the error

  1. Create a object

  2. disable the object selection in the outliner Screen Shot 04-20-23 at 10.08 PM 001.PNG

  3. Choose your interaction mode Screen Shot 04-20-23 at 10.07 PM.PNG

  4. The mode changes to the one you selected Screen Shot 04-20-23 at 10.08 PM.PNG

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.24 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: dont know **Short description of error** When a object is disabled for selection in the outliner and the object is then selected in the outliner its possible to enter any of the interaction modes. I would assume if a object is not selectable this should not be happening. Note: it only happens with single object selections. Maybe this is by design, it just felt like a strange thing and i thought i report it just in case. **Exact steps for others to reproduce the error** 1. Create a object 2. disable the object selection in the outliner ![Screen Shot 04-20-23 at 10.08 PM 001.PNG](/attachments/de6b5b7f-7402-4c5a-b96a-1cfc1587f8ea) 3. Choose your interaction mode ![Screen Shot 04-20-23 at 10.07 PM.PNG](/attachments/82d34e58-c458-4ac9-aee2-bc2df775cd69) 4. The mode changes to the one you selected ![Screen Shot 04-20-23 at 10.08 PM.PNG](/attachments/e1f559fd-1cbe-4e7d-8739-0d1136803ac0)
Daniel Grauer added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-20 22:17:05 +02:00
Member

Hi, thanks for the report. I can confirm.
Codewise this looks expected, not sure if this would be consider as a bug.
When switching to edit mode, viewlayer's active object is considered to switch, see: https://projects.blender.org/blender/blender/src/branch/main/source/blender/editors/object/object_edit.cc#L911
When clicked on outliner element, it changes active base object for the active view layer in function: ED_object_base_activate (i.e. sets the currently clicked outliner element's base as active)

Will forward the report to devs for the decision.

Hi, thanks for the report. I can confirm. Codewise this looks expected, not sure if this would be consider as a bug. When switching to edit mode, viewlayer's active object is considered to switch, see: https://projects.blender.org/blender/blender/src/branch/main/source/blender/editors/object/object_edit.cc#L911 When clicked on outliner element, it changes active base object for the active view layer in function: `ED_object_base_activate` (i.e. sets the currently clicked outliner element's base as active) Will forward the report to devs for the decision.
Pratik Borhade added
Module
User Interface
Status
Needs Info from Developers
and removed
Status
Needs Triage
labels 2023-04-21 06:16:56 +02:00
Member

Hi, not a bug from code side. Also I don't see any documentation that says "disable selection option should not change selection mode".
So closing this report.

Hi, not a bug from code side. Also I don't see any documentation that says "`disable selection` option should not change selection mode". So closing this report.
Blender Bot added
Status
Archived
and removed
Status
Needs Info from Developers
labels 2024-04-01 12:13:03 +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
2 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#107198
No description provided.