Opened 10 years ago

Closed 7 years ago

#681 closed defect (fixed)

wxpython gui-module 'g.remove' remembers all files after deleting

Reported by: marmai Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: wxGUI Version: 6.4.0 RCs
Keywords: g.remove file list Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (1)

comment:1 Changed 7 years ago by wenzeslaus

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.