#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 hamish):

 Replying to [comment:17 glynn]:
 > So the GUI could display this information to the user, e.g. by adding
 > radio buttons to options which belong to an "exactly one of" group,
 > and/or greying out options which have been excluded by the use of other
 > options.

 Hi,

 fwiw, where modules have grown to contain many such flags often the basic
 answer is to replace the flags with a single option=string with a drop
 down menu containing the mutually exclusive possibilities. Radio buttons
 shouldn't be needed when we have `opt->options = "";` and
 `opt->descriptions = "";`.

 that doesn't cover "multi-mode" modules, but for my 2c I'd consider those
 by definition to be arbitrarily complicated special cases and leave the
 error checking to the programmer not the parser.


 regards,
 Hamish

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

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to