invoke_props_dialog ignores height #68749
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#68749
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: MacOS Mojave 10.14.4
Graphics card: None
Blender Version
Broken: Version 2.80 (2.80 2019-07-29)
Short description of error
invoke_props_dialog ignores passed height of window
Exact steps for others to reproduce the error
Create operator with invoke method:
Result:
Dialog window is opened with width 500 and low height
Expected
Dialog window is opened with width 500 and height 500.
Added subscriber: @sheerun
Added subscribers: @ideasman42, @JacquesLucke
Hmm, not sure if the height is actually ever used. The height of things is probably always determined by the content. Not sure why there is a height parameter.
@ideasman42 should the height parameter do something currently?
@sheerun, can you provide a small script that we can just copy into the text editor to test this bug, please?
Looked into it, while the height is used internally, the
UI_block_bounds_set_popup
call causes the height to be ignored.Using the height could be used to add padding to the dialog but don't see this as being useful.
Unfortunately removing this argument will break scripts.
Unless there is a good reason to support empty space, I think this argument could be deprecated.
Thanks for looking into it. I'm fine with deprecating the argument.
This issue was referenced by blender/blender@e64166652b
Added subscriber: @Jeroen-Bakker
the
width
andheight
are set inrna_generic_op_invoke
when theWM_GEN_INVOKE_SIZE
option is set.WM_GEN_INVOKE_SIZE
is used forinvoke_props_dialog
andinvoke_popup
. In our add-ons onlycreate prim
uses the height option. Both ignore the height option.Changed status from 'Confirmed' to: 'Resolved'