On Fri, Jun 28, 2002 at 10:59:38AM +0100, Angus Leeming wrote:
> > Bad idea. Konni was already complaining about that features for graphics.
> > In old LyX you had just to wait some time and were sure that everything was
> > loaded. Now you can't even scroll anymore through a document without the
> > cursor jumping around unpredictably.
> 
> Well that's just a bad implementation (the cursor jumping around). 

I don't agree, its more than that. When we have a possibility to preload
the graphics before we have to make wrong assumptions on its size, we have
should do that.

At minimum, we should try to get the size right. But that would probably
mean to start the coversion/loading anyway.

[Or should we just store the size in the .lyx?]

> If you really want to load all graphics on start-up then define a lyxrc 
> variable to be used so: 

Why don't you want that to be done in all cases?

> > Actually I want it mainly for the real graphics, because that's where it
> > is really needed. I don't care too much for the preview gimmick.
> 
> There is no load up penalty with the graphics inset as I understand it 
> because we don't startLoading() until a draw request is received.

Which I believe is to late. It should be done lazily (i.e the first
screenfull of text should come up really fast) but not too lazy.

> It's unlikely to be much of a penalty if you implemented the above
> little snippet anyway because most documents don't have hundreds of
> images. Why not suck it and see?

I'll have a look how my "big doc with screenshots" behaves ith this change.

> Have you any concrete ideas about your "qun queue"? 

Not really.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to