Share

Tk Toolkit

Tracker: Bugs

4 Button 2 and 3 reversed, Aqua - ID: 676438
Last Update: Comment added ( nobody )

Pressing the rightmost button on my 3 button mouse generates a
Tk event saying button 2 was pressed, while pressing the middle
button generates an event saying button 3 was pressed. This is
on Aqua Tk 8.4.1. Other applications on my Mac, such as the X
server identify the rightmost button as button 3 and the middle
button as button 2. Only Tk appears to reverse buttons 2 and 3.

The following wish8.4 script will display the button number
associated with button presses.

bind . <ButtonPress> {puts "%b"}

Pressing my 3 mouse buttons from left to right, prints 1 3 2.


Nobody/Anonymous ( nobody ) - 2003-01-28 23:13

4

Open

None

Daniel A. Steffen

66. Aqua Window Operations

obsolete: 8.4.1

Public


Comments ( 4 )

Date: 2008-05-28 22:51
Sender: nobody

Logged In: NO

Same bug is present in Aqua Tk 8.5.2. Tom Goddard


Date: 2003-09-22 22:42
Sender: nobody

Logged In: NO

Bug still present in 8.4.4. Tom Goddard


Date: 2003-07-30 20:23
Sender: speedboat

Logged In: YES
user_id=243036

I had the same problem with a USB 3-button mouse under
8.4.1. I replaced the 3-button mouse with a Wheel mouse
and the buttons worked as expected, but now that I
upgraded to 8.4.4, they are back to being reversed.




Date: 2003-02-05 19:39
Sender: nobody

Logged In: NO

Submitted by Tom Goddard
goddard@cgl.ucsf.edu



Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
priority 5 2006-06-18 08:45 das
summary Button 2 and 3 reversed, Aqua Tk 8.4.1 2003-10-03 15:13 dgp