Opened 11 years ago

Closed 11 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 Changed 11 years ago by martinl

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

comment:2 in reply to:  1 ; Changed 11 years ago by 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.

comment:3 in reply to:  2 Changed 11 years ago by martinl

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 Changed 11 years ago by martinl

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