[GRASS-dev] [GRASS GIS] #1192: wxGUI: propagate option key_desc

#1192: wxGUI: propagate option key_desc
------------------------------+---------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: parser, v.mkgrid | Platform: All
      Cpu: All |
------------------------------+---------------------------------------------
Hi,

the wx module auto-gen GUI dialogs do not report the contents of
opt->key_desc, so correct usage of the module options are hard to figure
out without carefully studying the help page.

v.mkgrid is a good example.
{{{
Usage:
  v.mkgrid [-pq] map=name grid=rows,columns [position=string]
    [coor=x,y] [box=width,height] [angle=value] [breaks=value]
}}}

the wx module GUI for it just asks for an int for grid= and box=, and a
float for coor=. Little way to know you need a comma separated list, and
it's even worse if the input is like x0,y0,x1,y1 and you don't know the
order (an even worse than that example of this can be found in
r.transect).

The tcl/tk GUIs are a better, but still a bit murky.

The --interface-description item for this is <keydesc>.

entering this as a "defect" as v.mkgrid, r.transect, et al are at first
unusable without this part of the usage definition.

thanks,
Hamish

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

#1192: wxGUI: propagate option key_desc
------------------------------+---------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: parser, v.mkgrid | Platform: All
      Cpu: All |
------------------------------+---------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl

Comment:

Try out r43929 (devbr6).

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

#1192: wxGUI: propagate option key_desc
------------------------------+---------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: assigned
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: parser, v.mkgrid | Platform: All
      Cpu: All |
------------------------------+---------------------------------------------
Changes (by martinl):

  * status: new => assigned

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

#1192: wxGUI: propagate option key_desc
---------------------+------------------------------------------------------
  Reporter: hamish | Owner: martinl
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: parser, v.mkgrid
  Platform: All | Cpu: All
---------------------+------------------------------------------------------
Changes (by martinl):

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

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