[GRASS-dev] [GRASS GIS] #1909: remove deleted layer from layer tree

#1909: remove deleted layer from layer tree
-------------------------+--------------------------------------------------
Reporter: timmie | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.3 RCs
Keywords: | Platform: MSWindows XP
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
If a user executes
g.remove
the deleted layer still remains in the layer tree of the GIS manager.

I would suggest to automatically remove it in this case.

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

#1909: remove deleted layer from layer tree
----------------------------------------+-----------------------------------
Reporter: timmie | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: 6.4.3 RCs
Keywords: layer manager, map display | Platform: All
      Cpu: Unspecified |
----------------------------------------+-----------------------------------
Changes (by wenzeslaus):

  * keywords: => layer manager, map display
  * platform: MSWindows XP => All
  * milestone: 6.4.3 => 7.0.0

Comment:

I don't suppose that this will be fixed for GRASS 6, so changing planed
milestone.

Note that this does not apply only to layer manager but to any GUI
component showing map (or group or st*ds) or its attributes but it is
hopefully correct to ignore these cases.

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

#1909: remove deleted layer from layer tree
---------------------+------------------------------------------------------
  Reporter: timmie | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: 6.4.3 RCs
Resolution: fixed | Keywords: layer manager, map display
  Platform: All | Cpu: Unspecified
---------------------+------------------------------------------------------
Changes (by marisn):

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

Comment:

I would vote for wontfix. GRASS GUI layers are not tightly coupled with
datasets (maps). I can change displayed data for any of layers or recreate
map and only then trigger map canvas update. As long as GUI can handle
missing layers, I would suggest to keep current functionality.

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

#1909: remove deleted layer from layer tree
---------------------+------------------------------------------------------
  Reporter: timmie | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: 6.4.3 RCs
Resolution: | Keywords: layer manager, map display
  Platform: All | Cpu: Unspecified
---------------------+------------------------------------------------------
Changes (by marisn):

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

Comment:

Closed by accident! Wops!

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