Page MenuHome

Outliner doesnt preserve selected or active state when clicking mesh twice (objectmode -> editmode -> objectmode)
Open, Confirmed, MediumPublic

Description

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: rBce2368cf69f5
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.

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

Details

Type
Bug

Event Timeline

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

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Waiting for Developer to Reproduce.Aug 28 2019, 11:34 AM

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).

@Nathan Craddock (Zachman): is this change by design?
CC @Campbell Barton (campbellbarton)
CC @Dalai Felinto (dfelinto)

Philipp Oeser (lichtwerk) renamed this task 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).Aug 28 2019, 11:36 AM

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

@Dalai Felinto (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 T68498: Outliner: Modes & activating cameras or scenes 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 (lichtwerk) lowered the priority of this task from Waiting for Developer to Reproduce to Confirmed, Medium.