[GRASS-dev] [GRASS GIS] #218: wxGUI modules don't refresh the list of available maps

#218: wxGUI modules don't refresh the list of available maps
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
Example:

We have one map in the mapset:

{{{
$ g.list rast
----------------------------------------------
raster files available in mapset <PERMANENT>:
xxx
}}}

Let's start a GUI for some raster module, e.g.:

{{{
r.resample&
}}}

Under its "Name of an input layer" only raster "xxx" is available - OK.

Now let's create another raster map:

{{{
r.mapcalc 'yyy=1'
}}}

And see the newly created raster map is not available in the "Name of an
input layer" list - one needs to restart the module's GUI to access
anything created after it was started.

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

#218: wxGUI modules don't refresh the list of available maps
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

I have fixed it in trunk, devbr6 -- r32004 and r32005. But response on
popup is noticeably slower (list is updated on every popup, i.e. g.mlist
is called). It would be better with new g.xlist from grass-addons, any
change to move g.xlist and g.xremove to trunk?

Martin

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

#218: wxGUI modules don't refresh the list of available maps
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by glynn):

Replying to [comment:1 martinl]:
> It would be better with new g.xlist from grass-addons, any change to
move g.xlist and g.xremove to trunk?

Even if they're moved into GRASS, you can't rely upon them until they work
on platforms other than Linux.

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

#218: wxGUI modules don't refresh the list of available maps
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

Replying to [comment:2 glynn]:
> Replying to [comment:1 martinl]:
> > It would be better with new g.xlist from grass-addons, any change to
move g.xlist and g.xremove to trunk?
>
> Even if they're moved into GRASS, you can't rely upon them until they
work on platforms other than Linux.

Well, we don't need here g.mlist, g.list would be enough -- just to add
support for shell script style (one element per line, fully-qualified
name).

Martin

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

#218: wxGUI modules don't refresh the list of available maps
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: assigned => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/218#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>