[QGIS-trac] [Quantum GIS] #1133: grass toolbox: option description problems

Quantum GIS qgis at qgis.org
Wed Jul 2 10:08:00 EDT 2008


#1133: grass toolbox: option description problems
------------------------------------------------+---------------------------
   Reporter:  hamish                            |              Owner:  nobody     
       Type:  defect                            |             Status:  new        
   Priority:  major: does not work as expected  |          Milestone:  Version 1.0
  Component:  GRASS                             |            Version:  0.10.0     
   Keywords:  grass toolbox qgm                 |   Platform_version:  Etch       
   Platform:  Debian                            |           Must_fix:  Yes        
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Hi,

 A number of problems with the GRASS toolbox.

 my test is with an addon-script:
 http://trac.osgeo.org/grass/browser/grass-addons/vector/v.surf.icw/qgis-
 toolbox

 but this should happen with many modules.


 Problem 1:
 Option descriptions longer than 40 or so characters are truncated and the
 text gets a "...". Making the window wider doesn't expose any more text.
 Important information about what the option does is lost.

 Problem 2a:
 GRASS options (and flags and even modules) may have GUI labels. If
 present, the label should be used for the option descriptive text, and the
 "description" then becomes the tooltip help. I know it seems a bit weird
 at first, but it is an entrenched feature used by many modules. The QGIS
 grass toolbox module tab ignores the label and just shows the tooltip
 help, which is rather confusing.

 Problem 2b:
 Also if "label"+"description" is used in the option, you can't run with
 that option empty (even if it is optional) because you get an error
 [something about [...]<br>]. If you put some default value there it runs
 fine.


 thanks,
 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1133>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list