Click on a expanded but disabled EnumProperty is handled as a click into the viewport #71134

Closed
opened 2019-10-27 14:41:39 +01:00 by Gaia Clary · 6 comments
Member

System Information
Operating system:
Graphics card:

Blender Version
Broken: (example: 2.80, edbf15d3c0, master, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error

When LMB select is enabled (default mode in Blender 2.80), then disabled enumProperties in the N-Panel are transparent for mouse clicks (its as if you click somewhere into the 3D Viewport)

Exact steps for others to reproduce the error

This blendfile contains the demo:

disabled_gui_unselects_objects.blend

Now do this:

  • Make sure you have LMB Select mode enabled (2.80 default)
  • Open the blend file and let the script run to prepare the N-Panel
  • in the 3D Viewport open the N-Panel
  • Locate the Dodo tab
  • you see the hello world panel with an EnumProperty containing 5 items)
  • The property is disabled (see in the script)

Click on one of the elements in the disabled list

You will see the cube gets unselected.

Now make another test:

  • Move the cube so that it is located below the panel
  • unselect the cube

now click again into the panel. If the cursor hits the cube below it gets selected.

And now make a third test:

  • in the Userpreferences switch to RMB Select
  • repeat the 2 tests above

Now all works as designed

cheers,
Gaia

**System Information** Operating system: Graphics card: **Blender Version** Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen) Worked: (optional) **Short description of error** When LMB select is enabled (default mode in Blender 2.80), then disabled enumProperties in the N-Panel are transparent for mouse clicks (its as if you click somewhere into the 3D Viewport) **Exact steps for others to reproduce the error** This blendfile contains the demo: [disabled_gui_unselects_objects.blend](https://archive.blender.org/developer/F7862598/disabled_gui_unselects_objects.blend) Now do this: - Make sure you have LMB Select mode enabled (2.80 default) - Open the blend file and let the script run to prepare the N-Panel - in the 3D Viewport open the N-Panel - Locate the Dodo tab - you see the hello world panel with an EnumProperty containing 5 items) - The property is disabled (see in the script) # Click on one of the elements in the disabled list You will see the cube gets unselected. Now make another test: - Move the cube so that it is located below the panel - unselect the cube # now click again into the panel. If the cursor hits the cube below it gets selected. And now make a third test: - in the Userpreferences switch to RMB Select - repeat the 2 tests above # Now all works as designed cheers, Gaia
Author
Member

Added subscriber: @GaiaClary

Added subscriber: @GaiaClary

Added subscriber: @Stan_Pancakes

Added subscriber: @Stan_Pancakes

Same as #70998?

Same as #70998?
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Yes, this is the same as #70998, will merge these reports...

Yes, this is the same as #70998, will merge these reports...
Member

Closed as duplicate of #70998

Closed as duplicate of #70998
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#71134
No description provided.