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

GRASS GIS trac at osgeo.org
Mon Nov 29 12:59:54 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 marisn):

 Replying to [comment:7 cmbarton]:
 > I looked to see if there was something in the TclTk code that I could
 change to fix this issue. But it looks to me like the key bindings are set
 in the C-code for v.digit. So someone else would need to make changes
 there.

 Bindings in v.digit are tricky: toolbox.tcl just sends mouse click
 together with mouse button code to particlular editing function (see
 c_face.c and centre.c). Every editing function decides what to do on mouse
 click (buttons 1 to 3). Adding more complex bindings (alt+mouse) can be
 tricky (not today for me) as i.e. double-click at first time sends two
 events - single click and double click.

 Michael, please, test attached patch for 6.5.

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



More information about the grass-dev mailing list