Add Driver : Clicking the pickers (object / input variable) dont work #58341

Open
opened 2018-11-30 18:10:53 +01:00 by Félix · 35 comments

Blender Version
Broken:2.80, 4c31bed6b4, 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.
Peek 2019-07-09 10-48.gif

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

In #58341#702152, @angavrilov wrote:
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.

**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. ![Peek 2019-07-09 10-48.gif](https://archive.blender.org/developer/F7578645/Peek_2019-07-09_10-48.gif) **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** > In #58341#702152, @angavrilov wrote: > 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.
Author

Added subscriber: @Miadim

Added subscriber: @Miadim

#104060 was marked as duplicate of this issue

#104060 was marked as duplicate of this issue

#90543 was marked as duplicate of this issue

#90543 was marked as duplicate of this issue

#84852 was marked as duplicate of this issue

#84852 was marked as duplicate of this issue

#84282 was marked as duplicate of this issue

#84282 was marked as duplicate of this issue

#84269 was marked as duplicate of this issue

#84269 was marked as duplicate of this issue

#83341 was marked as duplicate of this issue

#83341 was marked as duplicate of this issue

#80400 was marked as duplicate of this issue

#80400 was marked as duplicate of this issue

#63893 was marked as duplicate of this issue

#63893 was marked as duplicate of this issue

#79175 was marked as duplicate of this issue

#79175 was marked as duplicate of this issue

#63308 was marked as duplicate of this issue

#63308 was marked as duplicate of this issue
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

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

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

Added subscriber: @phil_b

Added subscriber: @phil_b

Added subscriber: @angavrilov

Added subscriber: @angavrilov

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.

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.
Contributor

Added subscriber: @povmaniac

Added subscriber: @povmaniac
Campbell Barton self-assigned this 2019-06-17 13:42:33 +02:00

Added subscriber: @crantisz

Added subscriber: @crantisz

Property picker doesn't work too:

Peek 2019-07-09 10-48.gif

Property picker doesn't work too: ![Peek 2019-07-09 10-48.gif](https://archive.blender.org/developer/F7578645/Peek_2019-07-09_10-48.gif)
Campbell Barton was unassigned by Dalai Felinto 2019-12-23 16:35:47 +01:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Germano Cavalcante changed title from Add Driver : Clicking the picker doesn't work and unfolds objects list to Add Driver : Clicking the picker doesn't work 2020-01-28 15:30:07 +01:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

While we are at it: could someone confirm that #55147 (Eyedropper cursor icon missing when adding drivers (e.g. When using All/Single from Target)) is not relevant anymore?

While we are at it: could someone confirm that #55147 (Eyedropper cursor icon missing when adding drivers (e.g. When using All/Single from Target)) is not relevant anymore?
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

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

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

Added subscriber: @patisawesome200

Added subscriber: @patisawesome200
Member
Added subscribers: @Phigon, @JoshuaLeung, @zargul, @rocketman, @TakeshiFunahashi

Added subscriber: @Roboberto

Added subscriber: @Roboberto

Added subscriber: @ce3po

Added subscriber: @ce3po

Added subscriber: @cerebral

Added subscriber: @cerebral
Philipp Oeser changed title from Add Driver : Clicking the picker doesn't work to Add Driver : Clicking the pickers (object / input variable) dont work 2020-12-30 16:03:54 +01:00
Member

Added subscriber: @RaphaelStoeckli

Added subscriber: @RaphaelStoeckli
Member

Added subscribers: @Alaska, @Regnas

Added subscribers: @Alaska, @Regnas

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

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

Added subscriber: @heini

Added subscriber: @heini
Member

Added subscribers: @Pasang, @PratikPB2123

Added subscribers: @Pasang, @PratikPB2123
Member

Added subscribers: @YanivGershoni, @WilliamReynish

Added subscribers: @YanivGershoni, @WilliamReynish
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:26:04 +01:00
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
15 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#58341
No description provided.