Page MenuHome

Add Driver : Clicking the pickers (object / input variable) dont work
Confirmed, NormalPublicKNOWN ISSUE

Description

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

Short description of error
Clicking the object picker in the Add Driver should enter object picking mode, but does nothing.

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

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.

Even though Object picker vs Input Variable picker are slightly different issues, will keep them together here since from a user perspective this is so tightly related.

Event Timeline

Jacques Lucke (JacquesLucke) lowered the priority of this task from 90 to 50.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:

Germano Cavalcante (mano-wii) renamed this task from Add Driver : Clicking the picker doesn't work and unfolds objects list to Add Driver : Clicking the picker doesn't work.Jan 28 2020, 3:30 PM
Germano Cavalcante (mano-wii) updated the task description. (Show Details)
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".
Julian Eisel (Severin) changed the subtype of this task from "Bug" to "Known Issue".Feb 3 2020, 3:32 PM

Pop-up handling is in a bad state right now (in fact, it was always full of issues). Opened T73565 to track the situation, not sure how to deal best with this yet, related code is a big mess.

This task just doesn't want to die, does it?