[GRASS5] some bugs

GRASS grass at geni.knu.ac.kr
Sun Nov 26 12:47:14 EST 2000


> From neteler at geog.uni-hannover.de Mon Nov 27 02:38:49 2000
> Date: Sun, 26 Nov 2000 18:00:45 +0100
> From: Andreas Lange <Andreas.Lange at Rhein-Main.de>
> To: GRASS <grass at geni.knu.ac.kr>
> CC: grass5 at geog.uni-hannover.de
> Subject: Re: [GRASS5] some bugs
>
> Hi Huidae,
>
> thanks a lot for your answer.
>
> GRASS wrote:
> > > - with d.pan and d.zoom the color of vectors is always restored white.
> > > If you draw a map with a e. g. green vector and zoom/pan, the vector is
> > > re-drawn, but always white instead of the initial green.
> > > There must be something wrong with the R_pad contents, as d.save puts
> > > out the correct color with the vector before calling d.zoom/d.pan, but
> > > afterwards the color is white even in the pad structure, so that d.save
> > > puts out "d.vect vect=vect at PERMANENT color=white".
> > >
> > 
> > That's not bug. It is intended behaviour.
> > If you want to recreate current window using d.zoom, use -r flag.
>
> OK, the -r flag is not shown in the tcltkgrass module and in the
> html-manpage. So i overlooked that. 
> But i still think that it is a bug (or at least an inconsitency) that
> the window is redrawn with d.zoom/d.pan, but the color of the vector is
> changed to white. I think that d.zoom/d.pan should either always redraw
> the correct screen or don't redraw anything at all without the -r flag.
> In that case the user can first use d.save, then d.zoom/d.pan and then
> redraw the screen without waiting for the "wrong" redraw of
> d.zoom/d.pan.
>
> Just how i would like it.

Now implemented what you want.

>
> > 
> > d.pan is not implemented to recreate window, -r flag.
>
> It would be nice if d.zoom and d.pan behave identically, otherwise it is
> confusing. 
>

Absolutely you're right.
d.pan has some old code to be updated as soon as possible.


Huidae Cho

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list