I have a relatively long code inside Manipulate
that computes an output depending on controls. Computation takes about a second, so I am using SynchronousUpdating->False
. However, when I do it, initialization of the object is not nice when the content is displayed for the first time. Not only is it a plain bar, but also it shows a misleading tooltip if the mouse is over it (the dynamic is not disabled, and after a second you get a normal object):
Manipulate[Pause[1]; x, {x, 0, 1}, SynchronousUpdating -> False]
I tried to use SynchronousInitialization -> False
, which does what I want:
But it only works when SynchronousUpdating -> True
. If it is False
, as I need, it doesn't work.
Any ideas how to make the initialization prettier and keep the Manipulate
responsive?
Initialization
option of theManipulate
? Worst case, a quickDynamicModule
with someControl
specs isn't too bad here. There you can use three-functionDynamic
to get a nicer display. $\endgroup$ – b3m2a1 Aug 31 '17 at 4:38Manipulate[x, {x, 0, 1}, SynchronousInitialization -> False, Initialization :> (Pause[1])]
$\endgroup$ – Kuba♦ Aug 31 '17 at 6:11