Bug report #7376
QGIS confuses left & right buttons
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
When entering a polygon with leftclicks, when I try to terminate the feature with a rightclick, it takes anything up to 6 tries before it's accepted as a rightclick; all prior rightclicks are recorded as leftclicks resulting in duplicate nodes that have to be deleted. QGIS is the only software that presents this problem - all Mac & Adobe software recognises buttons properly with no errors.
#1 Updated by John Sankey almost 11 years ago
Further detail: using control/leftclick always works, so the problem is with the interface to the Mac mouse handler that a real rightclick is often confused with a leftclick. A similar problem exists with regards to Mac delete: QGIS only recognizes fn/delete - it should recognize a Mac delete for what it is.
#2 Updated by Larry Shaffer almost 11 years ago
I can not reproduce the right-click issue here on Mac OS X 10.7.5 with either 1.8 or latest master branch build. (That was with adding a polygon feature as you noted.)
What type of mouse are you using to send the right-click? I'm using a Kensington Expert Mouse with the lower-right button mapped to 'right-click' (not control-click). The fact that it eventually does work (instead of not at all) leads me to think maybe you have a rogue driver or process causing issues with your USB hardware bus. Try a different bus with your mouse (if possible), try holding shift key at login, or try starting in safe boot mode.
Concerning the delete key issue, I have seen no issues using the delete key on my stock Apple keyboard. What keyboard are you using? I'm guessing you are on a laptop or using a third-party keyboard (e.g. needing to use the function key, which is not an option on the latest regular Apple desktop keyboard). Maybe check System Prefs to see if you have overridden the delete key at some time in the past.
#3 Updated by John Sankey almost 11 years ago
Larry, I've got a standard Apple desktop, standard Apple bus mouse plugged into a bus socket on the computer unit, also a standard Apple wireless keyboard. The mouse leftclick is mapped to "Primary Button" and the rightclick to "Secondary Button", the way Apple configures it. I haven't changed anything to do with the delete key on the keyboard, in fact I can't find anything in System Preferences that would let me.
I confess I don't understand why neither unit has any issues with Apple software (or with Adobe Photoshop Elements) if it's a rogue driver. I'll try moving the mouse connection, and will read up on what holding shift key at login does, ditto for safe boot mode.
#5 Updated by Larry Shaffer almost 11 years ago
Could you try one of the nightly builds of master branch for 10.6.8 and see if the issue is still present?
To be on the ultra-safe side (regarding you 1.8.0 work environment), do not overwrite any of your project files or update any application preferences while testing the nightly build.
You should be able to run the nightly directly from the disk image. Just dismiss any errors that might be shown during loading of plugins.