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

GRASS GIS trac at osgeo.org
Tue Nov 30 09:33:41 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):

 Hmmm. TclTk defines the left button as button 1, the right button as
 button 2, and the middle button as button 3 for my system. This is how
 Apple treats mouse buttons, and maybe Windows too (someone needs to check
 this. So this is where the problem lies.

 The script does a good job of remapping this but we'll need to add a
 binding for Control-Button-1 so that it maps to 2 on the Mac. I just was
 able to check on my laptop and this is not automatically registering as
 button 2 with the trackpad.

 The other issues I mentioned remain. Do you know where it is having a
 problem with .bind_scroll ?

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



More information about the grass-dev mailing list