#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.
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?
#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).