[GRASS-dev] Re: [GRASS GIS] #1187: TclTk digitizer does not recognize right-click

GRASS GIS trac at osgeo.org
Sun Nov 28 11:43:29 EST 2010


#1187: TclTk digitizer does not recognize right-click
---------------------------------------------+------------------------------
 Reporter:  cmbarton                         |       Owner:  grass-dev@…              
     Type:  defect                           |      Status:  new                      
 Priority:  critical                         |   Milestone:  6.4.1                    
Component:  Tcl/Tk                           |     Version:  6.4.0                    
 Keywords:  digitizer, v.digit, right-click  |    Platform:  MacOSX                   
      Cpu:  OSX/Intel                        |  
---------------------------------------------+------------------------------

Comment(by cmbarton):

 I've had a report from a student that the Windows version of GRASS 6.4 is
 also having confusion with the right and middle click. A standard way to
 fix this could be the following:

 1. add an alternate binding of a double left-click to end a line or close
 a polygon (this is standard on most graphics programs Mac and Windows, and
 even shows up on Linux). The same could be used to quit a tool.

 2. for anything else that requires a right-click (e.g., a contextual
 menu), provide an alternate binding for a key combination (it would be
 Ctrl + left-click on the Mac; I'm not sure on Windows)

 3. for anything that requires a middle-click, provide an alternate binding
 for a key combination (option + left-click for Mac and perhaps alt + left-
 click for Windows). For zooming, a one left-click zoom-in, like the zoom-
 out would make zooming usable even without a middle button. Using the
 middle-button for marking a zoom box corner is not needed since the TclTk
 canvas supports rubber-band boxes. But this would require some
 reprogramming. At a minimum, binding the box end to option-click (Mac)
 and/or alt-click (Windows) would make this functional.

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



More information about the grass-dev mailing list