[GRASS-dev] [GRASS GIS] #3678: Map Display is not updated after r.mask in executed in the Console

#3678: Map Display is not updated after r.mask in executed in the Console
--------------------------------------------+------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.6.0
Component: wxGUI | Version: svn-
                                            | releasebranch74
Keywords: MASK, r.mask, mapdisp, console | CPU: Unspecified
Platform: All |
--------------------------------------------+------------------------------
In the sample NC location, add raster (using buttons or Console):

{{{
d.rast aspect
}}}

Activate mask using command in Console tab:

{{{
r.mask raster=basin_50K
}}}

But seemingly nothing happens because Map Display window is not updated.
Same for `r.mask -r`.

Map Display is updated when other modules are executed including r.colors,
so the expected behavior is that the update happens also after r.mask.
When r.mask is used from the GUI dialog/form, the Map Display is updated.

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

#3678: Map Display is not updated after r.mask in executed in the Console
--------------------------+--------------------------------------------
  Reporter: wenzeslaus | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone: 7.6.0
Component: wxGUI | Version: svn-releasebranch74
Resolution: | Keywords: MASK, r.mask, mapdisp, console
       CPU: Unspecified | Platform: All
--------------------------+--------------------------------------------

Comment (by wenzeslaus):

Workaround: Use the ''Render map'' in the Map Display toolbar (when in
doubts about what you see in Map Display).

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