Forum Archive

Wait_modal speed

henryiii

Using wait_modal seems to really slow down the ui thread. Here's my modal dialog, a simple file picker. When the commented line near the end is uncommented, it becomes modal and works, but it becomes slow and stutters when scrolling. Any ideas as to why it slows down? Is it a bug?

JonB

Try

ui.in_background(fv.wait_modal)

That seems to speed things up. I'm surprised wait_modal requires this...