[GRASS-dev] [GRASS GIS] #3328: d.mon: wrong zoom after region modification

#3328: d.mon: wrong zoom after region modification
-------------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Display | Version: svn-trunk
Keywords: d.mon zoom region | CPU: Unspecified
Platform: Unspecified |
-------------------------------+-------------------------
{{{
g.region vect=busroute1
d.mon wx0
d.rast elevation
d.vect busroute1
}}}

Then click on the zoom-in tool and click in the map.

Result: everything works as expected

{{{
g.region rast=elevation
d.mon wx0
g.region vect=busroute1
d.erase
d.rast elevation
d.vect busroute1
}}}

Then click on the zoom-in tool and click in the map.

Result: the map jumps to a different, unexpected zoom level.

My guess is that internally it is still using the elevation region as
reference.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3328&gt;
GRASS GIS <https://grass.osgeo.org>