← Back to team overview

yade-dev team mailing list archive

[Bug 622669] Re: qt4 interface does not refresh until the script finishes

 

Hi Anton, this is a result of how qt4/ipython handle the "interaction
loop" (technical term in the GUI programming, not InteractionLoop that
we have in simulations) for processing user input. For now, there is no
solution for that, one has to make sure the script finishes before the
ui is usable. A way to do that is by using PyRunner with appropriate
callback functions etc. I think that it will be solved with ipython
0.11, but I have to ask on their mailing list.

** Summary changed:

- QT4 interface hangs, when O.run(Val) is in simulation script
+ qt4 interface does not refresh until the script finishes

** Changed in: yade
       Status: New => Confirmed

-- 
qt4 interface does not refresh until the script finishes
https://bugs.launchpad.net/bugs/622669
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Confirmed

Bug description:
./examples/regular-sphere-pack.py is working normally, only when string 104 is commented.

http://bazaar.launchpad.net/%7Eyade-dev/yade/trunk/annotate/head%3A/examples/regular-sphere-pack/regular-sphere-pack.py#L104

When it is uncommented, the script should start automatically, but in this case Controller hangs and View window does not appear.





References