Opened 16 years ago

Closed 16 years ago

#218 closed defect (fixed)

wxGUI modules don't refresh the list of available maps

Reported by: msieczka Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc: grass-dev@…
CPU: All Platform: All

Description

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.

Change History (4)

comment:1 by martinl, 16 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

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

in reply to:  1 ; comment:2 by glynn, 16 years ago

Replying to 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.

in reply to:  2 comment:3 by martinl, 16 years ago

Replying to glynn:

Replying to 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

comment:4 by martinl, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.