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

GRASS GIS trac at osgeo.org
Sun Oct 3 15:19:42 EDT 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 kyngchaos):

 It looks like it's a Tcltk Aqua problem, where it sees right-click
 (however it is generated) as button 2, where it should be button 3.  When
 using a 3-button scrollwheel mouse, I find that middle and right-clicks
 are swapped.

 http://lists-archives.org/git/656542-mac-osx-and-gitk-right-click.html

 So, the 'fix' for this right-click bug is to remap the button on OS X.
 That still leaves us without a middle-click for trackpad users.  So maybe
 v.digit needs an alternative way to trigger a 'middle-click', or the
 action it does (like undo vertex).

 How does the wx vdigit handle this (I don't digitize in GRASS)?  It does
 recognize right-clicks correctly (according to Michael), but does it also
 use middle-clicks for other actions, in which case it would also have the
 same missing feature problem for trackpad users.

 Replying to [comment:1 cmbarton]:
 > middle click at all (option-click on the Mac).

 option-click?  I think this is only for X11.  Part of the simulate
 3-button mouse option.

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



More information about the grass-dev mailing list