System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R9 M295X OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.16
Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: rB0330d1af29c0
Also broken in: 2.83.6, branch: master, commit date: 2020-09-09 07:32, hash: rB8610c697773e
Short description of error
When any objects are already selected and then you right-click on a collection in the outliner then all objects are deselected. I expect this not to affect the selection. This came up while attempting use "Deselect Objects" from the context menu that right-clicking on a collection brings up to remove the objects within that collection from the overall selection. Instead, right-clicking to get the context menu deselected everything.
Exact steps for others to reproduce the error
This can be reproduced from the default startup.
- Select all objects in the scene.
- Right click on "Collection" in the outliner.
The objects will be deselected immediately upon right-clicking.
