Outliner doesnt preserve selected or active state when clicking mesh twice (objectmode -> editmode -> objectmode) #69211

Open
opened 2019-08-27 13:53:45 +02:00 by Vlad Kuzmin · 9 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.81 (sub 3), branch: master, commit date: 2019-08-26 20:39, hash: ce2368cf69
Worked: (optional)

Short description of error
Export selected object export empty file if object have only mesh selected in outliner.

Exact steps for others to reproduce the error
Probably this is more UX bug than exporters problem.
Create default object: Cube or Suzanne.
Expand Object tree and select mesh in outliner. Blender will switch to mesh edit mode.
Click one more time to mesh in outliner. BLender will switch to Object editing mode.
Viusually Object still looks selected because mesh still highligted but in 3D viewport object is unselected.
Now try export as OBJ, enable Export Selected only.
Blender correctly will export empty OBJ file because there is no any object actually selected.

image.png

This UX bug quite confusing, and i catch it almost every time i need export files.

**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86 **Blender Version** Broken: version: 2.81 (sub 3), branch: master, commit date: 2019-08-26 20:39, hash: `ce2368cf69` Worked: (optional) **Short description of error** Export selected object export empty file if object have only mesh selected in outliner. **Exact steps for others to reproduce the error** Probably this is more UX bug than exporters problem. Create default object: Cube or Suzanne. Expand Object tree and select mesh in outliner. Blender will switch to mesh edit mode. Click one more time to mesh in outliner. BLender will switch to Object editing mode. Viusually Object still looks selected because mesh still highligted but in 3D viewport object is unselected. Now try export as OBJ, enable Export Selected only. Blender correctly will export empty OBJ file because there is no any object actually selected. ![image.png](https://archive.blender.org/developer/F7706109/image.png) This UX bug quite confusing, and i catch it almost every time i need export files.
Author

Added subscriber: @ssh4

Added subscriber: @ssh4

Added subscriber: @AbidMaqbool

Added subscriber: @AbidMaqbool

IMO, not a bug/error...
As selection is Mesh (it could be whatever type, curve, surface, even material, textures....) not an object & exporting time you are saying only selected object...
IMO, for feedback https://devtalk.blender.org/ is best

IMO, not a bug/error... As selection is **Mesh** (it could be whatever type, curve, surface, even material, textures....) **not an object** & exporting time you are saying **only selected object**... IMO, for feedback https://devtalk.blender.org/ is best
Member
Added subscribers: @natecraddock, @dfelinto, @ideasman42, @lichtwerk
Member

Would actually consider this a bug.
Before the merge of the GSoC Outliner Branch features (e.g. in 2.80) this was still working like this (in case of meshes):

  • select mesh --> enter editmode
  • click mesh again --> enter objectmode (object was still selected [and active] if it was before -- and was made selected/active if it wasnt before).

@Zachman: is this change by design?
CC @ideasman42
CC @dfelinto

Would actually consider this a bug. Before the merge of the GSoC Outliner Branch features (e.g. in 2.80) this was still working like this (in case of meshes): - select mesh --> enter editmode - click mesh again --> enter objectmode (object was still selected [and active] if it was before -- and was made selected/active if it wasnt before). @Zachman: is this change by design? CC @ideasman42 CC @dfelinto
Philipp Oeser changed title from Export selected object export empty file if object have only mesh selected in outliner. to Outliner doesnt preserve selected or active state when clicking mesh twice (objectmode -> editmode -> objectmode) 2019-08-28 11:36:07 +02:00

I agree that removing from editmesh should not make the object unselected. @Zachman any reasons for that design?

I agree that removing from editmesh should not make the object unselected. @Zachman any reasons for that design?

@dfelinto toggling editmode isn't what is deselecting the object, it is related to selection syncing. Because the object is not selected in the outliner, synced selection deselects the object.

I agree that this isn't the best behavior. I just started working on #68498 (Outliner: Mode Toggling) which is the first step toward fixing selection. We decided that selecting object data to toggle modes is not a good design, and it also prevents properties syncing. The plan is to add a separate toggle for mode switching, then clicking on object data would select and activate the object.

@dfelinto toggling editmode isn't what is deselecting the object, it is related to selection syncing. Because the object is not selected in the outliner, synced selection deselects the object. I agree that this isn't the best behavior. I just started working on #68498 (Outliner: Mode Toggling) which is the first step toward fixing selection. We decided that selecting object data to toggle modes is not a good design, and it also prevents properties syncing. The plan is to add a separate toggle for mode switching, then clicking on object data would select and activate the object.
Philipp Oeser self-assigned this 2019-08-29 07:12:37 +02:00
Philipp Oeser removed their assignment 2019-08-29 07:13:13 +02:00
Nathan Craddock was assigned by Philipp Oeser 2019-08-29 07:13:13 +02:00
Nathan Craddock was unassigned by Dalai Felinto 2019-12-23 13:53:22 +01:00
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

So this appears to be a limitation in the selection syncing design, not like something that's supposed to work but is broken. So will set mark this as known issue, as mentioned improvements are being worked on.

So this appears to be a limitation in the selection syncing design, not like something that's supposed to work but is broken. So will set mark this as known issue, as mentioned improvements are being worked on.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:25:21 +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
6 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#69211
No description provided.