|Anonymous | Login||01-22-2020 16:21 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0001220||[tweak] Any||minor||always||05-17-05 19:54||05-17-05 21:55|
|Summary||0001220: Tiles: When going from normal to paused, the script is executed once|
|Description||What happens is that the script is recompiled, then the ticker fires, and then it is paused, because of the #syncScript call in Scriptor>>pause. However, we need that call to wait until the script is compiled. What might help is in #runActiveScripts, to actually execute the synced scripts not only after the tickers, but before, too.|
(0001502 - 499 - 571 - 571 - 571 - 571 - 571)
Any appearance of syncScript is the sign of a hack. This issue really should not be fixed by adding another hack on top of two existing ones (syncScript itself and its use here) but rather by storing the information that this script ought to be constructed as a paused script and handle it right where the compilation is done. For example:
receiver compileScriptNode: self asParseNode.
receiver addScriptor: self.
self paused ifTrue:[self pauseScript: selector].
|05-17-05 19:54||bert||New Issue|
|05-17-05 21:55||andreas||Note Added: 0001502|
|05-17-05 21:55||andreas||Status||new => feedback|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
33 total queries executed.|
28 unique queries executed.