[GRASS-dev] [GRASS GIS] #1294: Module dialog offers tab close button but no undo or tab open button

#1294: Module dialog offers tab close button but no undo or tab open button
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.1 RCs
Keywords: | Platform: MSWindows Vista
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
When opening a module window with "left/right" tab option, it also has
close button right next to tab switching button. Accidentaly clicking on
this button closes active tab. There's no "undo" or "open a new tab"
button in this part of dialog. Only solution - close window and then
reopen it.

Clicking on "Close tab" button for d.rast dialog is more strange - it asks
"Do You wanna to save current workspace?" and You can't get tabs back by
simply closing/reopening d.rast window by clicking on workspace layer. And
"command console" gives this:

{{{
Traceback (most recent call last):
   File "C:/Program Files/GRASS-64/etc/wxpython/wxgui.py",
line 343, in OnCBPageClosed

maptree = self.curr_page.maptree
AttributeError
:
'NoneType' object has no attribute 'maptree'
Traceback (most recent call last):
   File "C:/Program Files/GRASS-64/etc/wxpython/wxgui.py",
line 343, in OnCBPageClosed

maptree = self.curr_page.maptree
AttributeError
:
'NoneType' object has no attribute 'maptree'
Traceback (most recent call last):
   File "C:/Program Files/GRASS-64/etc/wxpython/wxgui.py",
line 343, in OnCBPageClosed

maptree = self.curr_page.maptree
AttributeError
:
'NoneType' object has no attribute 'maptree'
Traceback (most recent call last):
   File "C:/Program Files/GRASS-64/etc/wxpython/wxgui.py",
line 343, in OnCBPageClosed

maptree = self.curr_page.maptree
AttributeError
:
'NoneType' object has no attribute 'maptree'

}}}

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

#1294: Module dialog offers tab close button but no undo or tab open button
------------------------------+---------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.1 RCs
Resolution: fixed | Keywords:
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed
  * milestone: 6.4.1 => 6.4.3

Comment:

This has been luckily fixed a few days ago in 6.4.svn and later.
Closing.

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