[GRASS-dev] [GRASS GIS] #3898: d.barscale and d.northarrow do not display after trying to display legend

#3898: d.barscale and d.northarrow do not display after trying to display legend
-------------------------+---------------------------------
Reporter: veroandreo | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Display | Version: git-releasebranch78
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+---------------------------------
If I run G7:d.barscale and G7:d.northarrow after G7:d.legend (see #3896),
neither barscale nor north arrow are displayed in a wx monitor called from
terminal. There are no error messages. If I call them before calling the
legend, they are displayed normally. All the modules work fine in the main
GUI, problems arise when using d.mon.

System info
{{{
System Info
GRASS version: 7.8.dev
Code revision: 223821e28
Build date: 2019-08-31
Build platform: x86_64-pc-linux-gnu
GDAL: 2.3.2
PROJ.4: 5.2.0
GEOS: 3.7.1
SQLite: 3.26.0
Python: 3.7.4
wxPython: 4.0.4
Platform: Linux-5.2.8-200.fc30.x86_64-x86_64-with-fedora-30-Thirty
}}}

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

#3898: d.barscale and d.northarrow do not display after trying to display legend
--------------------------+---------------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Display | Version: git-releasebranch78
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by annakrat):

This is probably just a consequence of #3896, which is hopefully fixed
now.

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

#3898: d.barscale and d.northarrow do not display after trying to display legend
--------------------------+---------------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Display | Version: git-releasebranch78
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by veroandreo):

Now north arrow and scale bar display properly after displaying a legend,
but the map disappears from the wx display and I need to re-render.

I tried this sequence of commands:
{{{
d.mon wx0
d.rast elevation
d.legend raster=elevation
d.northarrow
}}}

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

#3898: d.barscale and d.northarrow do not display after trying to display legend
--------------------------+---------------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Display | Version: git-releasebranch78
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by annakrat):

Can't reproduce, is there any error?

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