template_list doesn't refresh in popup #48612
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#48612
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
{F316416}System Information
Windows 10 Pro 64 bits
Intel Xeon X5680
Nvidia Quadro 4000
Short description of error
template_list doesn't refresh in popup:
The same list works perfectly in the panel property and tool shelf.
Exact steps for others to reproduce the error
Open the blend file and execute the script. Then try to edit texts, resize the list and scroll into it.
Changed status to: 'Open'
Added subscriber: @VincentGires
This issue was referenced by blender/blender@fc96110bb5
Changed status from 'Open' to: 'Resolved'
Added subscriber: @JulianEisel
Grr, that was tricky (tm). blender/blender@fc96110bb is not a complete fix (there are some glitches remaining, double-click to rename doesn't work either), but it's a lot better now. Basically, uiLists were never designed/coded to work in popups. Strictly speaking this wasn't a bug even.
Note, to get uiList button interactions to work you have to use the 'check' callback for the operator now, which is really ugly and annoying, but to avoid that bigger changes are needed. You may want to do some better checking, but simply for testing this should work:
Added subscriber: @mont29
CCing @mont29 to make sure he doesn't miss the changes.
Thank you so much! It's a lot more usable now and I already use it! :)