[GRASS-dev] [GRASS GIS] #681: wxpython gui-module 'g.remove' remembers all files after deleting

#681: wxpython gui-module 'g.remove' remembers all files after deleting
--------------------------------+-------------------------------------------
Reporter: marmai | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: g.remove file list | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------+-------------------------------------------
I wanted to delete a couple of vector maps with the g.remove GUI module
(wxpython GUI). Within the GUI window I selected some vector maps and
used the 'Run' button. Afterwards I wanted to remove some more maps
(without closing the window of the g.remove module!). Then there are the
maps I already deleted still in the list of the maps to remove (this leads
to a couple of error messages when clicking the 'Run' button). If
I click in the 'list of the maps to remove' and delete them (by using
the 'del' key) then as soon as you select another map via the drop down
list
they will again be back in the list of the maps to be removed.
By closing the g.remove module GUI and opening it again everything works
as expected.

I am using GRASS 6.4.0RC4 on OpenSuse10.3.

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

#681: wxpython gui-module 'g.remove' remembers all files after deleting
--------------------------+-------------------------------------------------
  Reporter: marmai | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: fixed | Keywords: g.remove file list
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by wenzeslaus):

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

Comment:

Tested with the GRASS 6.4.3svn, r52856.

Map names are no longer displayed again after deleting the strings from
input field.
  * select map
  * push Run button
  * (g.remove removes selected maps)
  * return to input field 'rast file(s) to be removed'
  * delete previously selected maps
  * choose new one by drop down menu
  * push Run button
  * (g.remove removes (newly) selected maps and no error occurs)
So, closing as fixed (it was fixed by some older commits).

There is only one inconvenience. Names of removed maps stays in input
field and you have to delete them manually. But this is very probably
'wontfix' case since this is general generated dialog and some special
cases handling had to be added to delete map names in case of g.remove
module.

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