[GRASS-dev] [GRASS GIS] #2830: Error zooming in into display

#2830: Error zooming in into display
------------------------------+-------------------------
Reporter: andbal | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.1.0
Component: Display | Version: unspecified
Keywords: zoom in, display | CPU: x86-64
Platform: Linux |
------------------------------+-------------------------
Zooming in to "infinite" into display (using wxgui default display or
d.mon one is the same), first the scale change to 1:0 and, after a little
bit more of zoom in, the display become white and you get the following
error on the terminal:

{{{
GRASS_INFO_ERROR(9745,1): Syntax error in cell header
GRASS_INFO_END(9745,1)
}}}

9745 is a generic number changing every time you get the error. Zooming
out after the error, revert the display to a normal state.

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

#2830: Error zooming in into display
---------------------+------------------------------
  Reporter: andbal | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone: 7.2.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: zoom in, display
       CPU: x86-64 | Platform: Linux
---------------------+------------------------------
Changes (by neteler):

* component: Display => wxGUI

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2830#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2830: Error zooming in into display
---------------------+------------------------------
  Reporter: andbal | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone: 7.6.2
Component: wxGUI | Version: unspecified
Resolution: | Keywords: zoom in, display
       CPU: x86-64 | Platform: Linux
---------------------+------------------------------
Changes (by martinl):

* milestone: 7.2.4 => 7.6.2

Comment:

In GRASS 7.6.0 failing with

{{{
env['GRASS_REGION'] = self.Map.SetRegion(windres)
   File "/usr/lib/grass76/gui/wxpython/core/render.py", line
1071, in SetRegion

region = self.AdjustRegion()
   File "/usr/lib/grass76/gui/wxpython/core/render.py", line
846, in AdjustRegion

self.region['rows'] = round(mapheight /
self.region["nsres"])
ZeroDivisionError
:
float division by zero
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2830#comment:8&gt;
GRASS GIS <https://grass.osgeo.org>