Page MenuHome

Click on a expanded but disabled EnumProperty is handled as a click into the viewport
Closed, DuplicatePublic


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:

Now do this:

  1. Make sure you have LMB Select mode enabled (2.80 default)
  2. Open the blend file and let the script run to prepare the N-Panel
  3. in the 3D Viewport open the N-Panel
  4. Locate the Dodo tab
  5. you see the hello world panel with an EnumProperty containing 5 items)
  6. The property is disabled (see in the script)
  7. Click on one of the elements in the disabled list

You will see the cube gets unselected.

Now make another test:

  1. Move the cube so that it is located below the panel
  2. unselect the cube
  3. now click again into the panel. If the cursor hits the cube below it gets selected.

And now make a third test:

  1. in the Userpreferences switch to RMB Select
  2. repeat the 2 tests above
  3. Now all works as designed