On Tuesday 26 February 2002 6:43 pm, John Levon wrote: > If I replace a broken image with a fixed version, I have to restart > lyx in order to get it to render.
Just close the buffer and, if it's the only one referencing that image, then the item is removed from the cache. > After a failed conversion, the cache should be cleared so that the enxt > attempt to load it works ... No! then we'll just get infinite cyclings of attempt-fail-attempt. What we need is for eash GCacheItem to have a timer that is activated in startLoading(). The timer is used to poll the state of the file. If it changes, then the startLoading() is invoked once again. But this is a refinement. I wanted to break the back of this thing and produce working code, not try and do everything together and fail miserably. Another refinement: move the "dump to output format" code from insetgraphics to GCacheItem where it really belongs. Not really very much to do though. Keep up the testing. Angus (who's off home. Have a pleasant evening up in Manchester.)
