Page MenuHome

Add Driver : Clicking the picker doesn't work and unfolds objects list
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Windows 10
Graphics card: GeForce GTX 745

Blender Version
Broken:2.80, 4c31bed6b46, blender2.8, 2018-11-30

Short description of error
Clicking the object picker in the Add Driver context unfolds objects list instead of entering object picking mode.

Exact steps for others to reproduce the error
Based on the default startup :

  • Select the Cube
  • Right click on Location/X and Add a Driver
  • Into Object field, click on the picker, it unfolds the objects list instead of entering object picking mode.

Details

Type
Bug

Event Timeline

Jacques Lucke (JacquesLucke) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Nov 30 2018, 6:54 PM

Can confirm. On the first click it unfolds the object list, after a click on the icon does nothing.

This happens because ui_context_rna_button_active within operators and poll functions invoked for the popover UI elements can't find the actual UI control in the popover, and instead returns the property UI control through the context menu of which the popover was invoked. It seems there is a big issue with context and region management in some popovers, and may require a fix in the UI core rather than a specific operator.

Edit: Note that this issue is different from the picker attached to the Add Input Variable - that one is simply not (re-)implemented yet to work with the new way Add Driver works.

Property picker doesn't work too: