What about aborting rendering if it takes too much time?
There are some cases when it takes really long to render the screen area (e.g a wire frame with many lines and viewing the whole page)..
Is there any way to abort inkscape?
It would be nice to switch to another "quality" of rendering if updating of the screen takes longer than x seconds.
Because in some cases you don't know when inkscape will finish and undoing/deleting one step might last a time beeing equally long the only way to get rid of such a situation would be killing inkscape..
It should be no problem to switch back if you like..
What do you think?
On Wed, 3 Aug 2005, Marc Weber wrote:
Date: Wed, 3 Aug 2005 01:18:41 +0200 From: Marc Weber <marco-oweber@...173...> To: inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] What about aborting rendering if it takes too much time?
There are some cases when it takes really long to render the screen area (e.g a wire frame with many lines and viewing the whole page)..
Is there any way to abort inkscape?
Long operations need to show some indication that progress is being made so you dont think it has crashed and want to abort . It may be necessary to pop a dialog displaying a progress bar and a cancel button in some cases.
You have certainly identified a real problem, I'm just not so sure about your proposed solution and there may be a variety of different ways the speed problems you are experiencing can be fixed or otherwise compensated for.
Sincerely
Alan Horkan http://advogato.org/person/AlanHorkan/
On Wednesday 03 August 2005 17:55, Alan Horkan wrote:
Long operations need to show some indication that progress is being made so you dont think it has crashed and want to abort . It may be necessary to pop a dialog displaying a progress bar and a cancel button in some cases.
Seems to me that if a job can be bound to the progress bar, then the escape key could also be bound to that process.
You have certainly identified a real problem, I'm just not so sure about your proposed solution and there may be a variety of different ways the speed problems you are experiencing can be fixed or otherwise compensated for.
One possibility might be to cache rendered versions of non-current layers. Perhaps cache calculations on a per-node basis too, so that only nodes that change get re-calculated?
Perhaps Inkscape already does this stuff though; I don't know.
Quoting Lee Braiden <lee_b@...786...>:
One possibility might be to cache rendered versions of non-current layers. Perhaps cache calculations on a per-node basis too, so that only nodes that change get re-calculated?
No matter how fast or optimized we make rendering, there will always be complex documents out there for which it is too slow.
Basically what we need to do is make rendering cancellable and asynchronous, so the user can continue to do things even if we haven't finished regenerating the SVG rendering yet.
This need not require threads, and indeed careless use of threads could make it several orders of magnitude harder to debug.
-mental
Quoting mental@...3...:
Basically what we need to do is make rendering cancellable and
By cancellable, of course, I don't mean putting a cancel button somewhere for the user (why burden them with that?), but simply being able to give up and restart rendering if more changes have ocurred since asynchronous rendering began.
-mental
Lee Braiden: Sorry for bothering you personally. I've used the wrong "reply" key of mutt..
On Wed, Aug 03, 2005 at 06:28:34PM +0100, Lee Braiden wrote:
speed problems you are experiencing can be fixed or otherwise compensated for.
Is it possible to switch of antialiasing?
I experienced the problem during playing with some features (Effects/Grid, Spacing =1 vertically and horizontally) while viewing the whole A4 page.
The second time I've used the sprial but I can't reproduce that case.. where it took longer then I was willing to wait.
Just showing a progress bar isn't a solution if you want to drag complex objects (such as fine grids) to your desired target position.. But of course you can use the layers if you want to continue your work with a responsivness system.. :)
I've seen my suggested 'switch to wireframe' technic at a 3d modeler (can't recall the name)..
This feature isn't necessary to work or to love inkscape ;-)
Marc
participants (4)
-
unknown@example.com
-
Alan Horkan
-
Lee Braiden
-
Marc Weber