[GRASS-dev] [GRASS GIS] #1778: Typing in g.region without parameters does not open a g.region window

GRASS GIS trac at osgeo.org
Thu Aug 29 09:40:40 PDT 2013


#1778: Typing in g.region without parameters does not open a g.region window
----------------------------------------+-----------------------------------
 Reporter:  pvanbosgeo                  |       Owner:  grass-dev@…              
     Type:  defect                      |      Status:  new                      
 Priority:  critical                    |   Milestone:  7.0.0                    
Component:  Default                     |     Version:  svn-trunk                
 Keywords:  g.region, r.colors, r.mask  |    Platform:  Linux                    
      Cpu:  x86-64                      |  
----------------------------------------+-----------------------------------

Comment(by cmbarton):

 Or something...

  The problem you describe is indeed annoying. But it does not seem like a
 good idea to have modules behave inconsistently and unpredictably from the
 user perspective in order to solve it. The --ui flag should be default
 behavior and not need the flag. Consistent behavior was one of the goals
 of getting rid of persistent processes in modules.

 The actual problem, and to my mind implementing a solution, seems to lie
 in the modules that should run without a dialog rather than altering the
 default behavior of launching a dialog when a module is run without
 parameters. A logically better fix is to require the --ui flag only on
 modules whose normal behavior is to run without arguments. g.region is not
 such a module; d.erase is such a module. Perhaps there are even more
 elegant fixes.

 Michael

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1778#comment:15>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list