[BUG] Project saving hangs

Karl Ramberg karl.ramberg at chello.se
Sat Feb 23 06:56:28 UTC 2002


Michael Rueger wrote:
> 
> Ned Konz wrote:
> >
> > On Thursday 21 February 2002 06:34 pm, Michael Rueger wrote:
> >
> > > I think what happened is that by moving the image the resource manager
> > > in the project can't find the external file anymore. There is some magic
> > > with caching and references (in the Squeaklets subdir) going on, so this
> > > seems to me to be the most likely cause.
> >
> > Does this mean that I can't publish a project that contains an image that I
> > once loaded from a (now removed) file? Seems like the Form itself is still in
> > the image; why would the external file be needed?
> 
> Actually good point!
> The (historic) reason for this was to preserve the orignal compression
> of the form, especially jpeg as we used to be unable to write jpegs.
> 
> So a fix/enhancement would be to derive the original compression from
> the filename extension and recreate the file if it can't be accessed.

Since Squeak now can handle jpeg compression I think it would be 
nice to break all external refs. (maybe unless specially asked for)
Also the way projects are saved could be refactored, so locally 
and externally saved projects are the same, maybe a zip archive 
wich contain all the needed files.

Karl



More information about the Squeak-dev mailing list