Gesture selection does not deselect on nothing if collection is hidden #111613

Open
opened 2023-08-28 15:19:11 +02:00 by Julien Kaspar · 5 comments
Member

System Information
Operating system: Linux-6.4.8-gentoo-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-glibc2.37 64 Bits, X11 UI
Graphics card: AMD Radeon RX 7900 XT (gfx1100, LLVM 15.0.7, DRM 3.52, 6.4.8-gentoo) AMD 4.6 (Core Profile) Mesa 23.3.0-devel (git-57b0db63e1)

Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-08-27 18:51, hash: 8a735d0aa4c7
Worked:

Short description of error
This is an inconsistency in the selection behavior.
If you select on nothing, it will deselect all objects in the viewport and the outliner. This is the case for click selection and selection tools/operators.

But if selected objects are hidden, they are not affected by this with selection tools (gesture selections such as box & lasso). Selected objects and collections stay selected in the outliner.
The expected behavior is that gesture selection and single click selection have the same effect on hidden objects and collections.

Exact steps for others to reproduce the error

  1. Create two collections each with an object in it
  2. Select a collection and its object in the outlliner
  3. Select on empty space (Notice how the object and collection are deselected)
  4. Repeat 1 & 2
  5. Do a lasso/box selection on empty space (Notice how the outliner selection isn't cleared)
**System Information** Operating system: Linux-6.4.8-gentoo-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-glibc2.37 64 Bits, X11 UI Graphics card: AMD Radeon RX 7900 XT (gfx1100, LLVM 15.0.7, DRM 3.52, 6.4.8-gentoo) AMD 4.6 (Core Profile) Mesa 23.3.0-devel (git-57b0db63e1) **Blender Version** Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-08-27 18:51, hash: `8a735d0aa4c7` Worked: **Short description of error** This is an inconsistency in the selection behavior. If you select on nothing, it will deselect all objects in the viewport and the outliner. This is the case for click selection and selection tools/operators. But if selected objects are hidden, they are not affected by this with selection tools (gesture selections such as box & lasso). Selected objects and collections stay selected in the outliner. The expected behavior is that gesture selection and single click selection have the same effect on hidden objects and collections. **Exact steps for others to reproduce the error** 1. Create two collections each with an object in it 2. Select a collection and its object in the outlliner 3. Select on empty space (Notice how the object and collection are deselected) 4. Repeat 1 & 2 5. Do a lasso/box selection on empty space (Notice how the outliner selection isn't cleared)
Julien Kaspar added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-08-28 15:19:12 +02:00
Iliya Katushenock added the
Interest
User Interface
label 2023-08-28 15:23:01 +02:00

Did you meant exclude collection from view layer instead of hiding? I can reproduce that, but want to clarify just to be sure.

Did you meant exclude collection from view layer instead of hiding? I can reproduce that, but want to clarify just to be sure.
Richard Antalik added
Status
Confirmed
Module
User Interface
and removed
Status
Needs Triage
labels 2023-08-28 20:24:43 +02:00
Member

Select on empty space

Empty space in viewport, right? Because clicking in outliner area deselects both collections.
I think this is by design when objects are excluded from layer, they are not editable (can't deselect them).

> Select on empty space Empty space in viewport, right? Because clicking in outliner area deselects both collections. I think this is by design when objects are excluded from layer, they are not editable (can't deselect them).
Author
Member

Its about hiding (the eye icon), not excluding. And yes, it's about empty space in the viewport.
I updated the description.

Its about hiding (the eye icon), not excluding. And yes, it's about empty space in the viewport. I updated the description.
Pratik Borhade self-assigned this 2023-08-29 13:25:47 +02:00
Member

This is due to the missing redraw and outliner being out of sync.
I found a fix. Submitting PR shortly :)

This is due to the missing redraw and outliner being out of sync. I found a fix. Submitting PR shortly :)
Member

@JulienKaspar , can you check: #111692 ?

@JulienKaspar , can you check: https://projects.blender.org/blender/blender/pulls/111692 ?
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#111613
No description provided.