Cantor-SAGE: Display image
alexanderrieder at gmail.com
Fri Jun 10 22:23:53 CEST 2011
On Friday 10 June 2011 00:14:04 Uwe Fechner wrote:
> Hello Alexander,
> you wrote:
> > I don't really like the idea, as I can see it lead to very unexpected
> > behaviour, for example if you start cantor from your home,
> > and are downloading some files at the same time. Every image you save
> > while cantor is running popping up in your worksheet
> > is not something an average user(or anybody else) would expect.
> I think, that Cantor should work in the same way, that the web-gui of
> sage works.
> I don't no exactly, how it works, but I think, that the problem, that
> you mention could be limited in the following ways:
> 1. Start to look for new images, when you evaluate a new command entry, and
> stop looking for new images e.g. 100 ms after the evaluation of a
> new command entry.
> 2. If that should not be sufficient, adding a new option in the
> configuration dialog ("look for new images in the current
> directory") might be an option.
I still don't think that more directory-watching is the way to go. It sounds
like an aweful hack that could lead to some unforeseeable bugs and weird
behaviour, while only giving a small new feature. I'm not really familiar with
how the web-frontend behaves or how it is implemented there.
Martin said he is working on implementing a different solution, so let's see
how that works out.
More information about the kde-edu