Popup dialog not working from specials menu #47700

Closed
opened 2016-03-06 15:26:11 +01:00 by Andrej Ivanis · 5 comments

popup.blend

Blender 2.76 Mac OS X 10.9.5

How to reproduce:

  1. Open the file
  2. Run the script
  3. Press W-> Set Canvas and popup dialog won't appear

If you press space and search for "set canvas" popup dialog will appear.

[popup.blend](https://archive.blender.org/developer/F288789/popup.blend) Blender 2.76 Mac OS X 10.9.5 How to reproduce: 1) Open the file 2) Run the script 3) Press W-> Set Canvas and popup dialog won't appear If you press space and search for "set canvas" popup dialog will appear.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @aivanis

Added subscriber: @aivanis
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

You need to set the right context for invoking the operator, see https://www.blender.org/api/blender_python_api_2_76_release/bpy.types.UILayout.html?highlight=operator%20context#bpy.types.UILayout.operator_context (think the right one would be INVOKE_REGION_WIN in this case)

No bug here, closing.

You need to set the right context for invoking the operator, see https://www.blender.org/api/blender_python_api_2_76_release/bpy.types.UILayout.html?highlight=operator%20context#bpy.types.UILayout.operator_context (think the right one would be `INVOKE_REGION_WIN` in this case) No bug here, closing.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Julian Eisel self-assigned this 2016-03-06 16:09:06 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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-addons#47700
No description provided.