Bug 10124 - ER: Add support for simulation of middle or right button clicks for single button mouses
Summary: ER: Add support for simulation of middle or right button clicks for single bu...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Enhancement
Assignee: Nobody
URL: http://unixpapa.com/js/mouse.html
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 17:50 PDT by Matthew McGillis
Modified: 2013-09-30 11:04 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew McGillis 2006-07-26 17:50:14 PDT
Web pages/Javascript can be driven based on middle or right mouse button clicks. However mac users with a single mouse button have no way to activate these other options when sites require them. They also have no way to activate these options with safari even if they have a mouse that has all the buttons.

Would be nice to support 3 button mouses and provide a way to simulate a right click or middle click on a single button mouse.

I believe the somewhat comman implementation is to map:
control-click = right click
alt-click = middle/other click
Although the above approach does have some problems with apples existing usage of control-click.

This problem can be reproduced using the following steps:

Steps to Reproduce:

1.Got to url provided
2.Click on the text in the box and the event information will apear in the log
3.Try clicking using control, option, command, shift or any modifier you like
4. Try using a 3 button mose and click on the box using any of the buttons.

Actual Results:  
the log never changes from a left mouse button click

Expected Results:  
It would be nice if apple users had some way of clicking to produce a middle or
right click result. Both with a 3 button mouse or single button mouse.
Comment 1 Robert Blaut 2008-02-16 04:28:19 PST
There is something wrong with the test page. I'm unable to get any result in log window in all of tested browsers: Minefield, Opera and Webkit. 
Comment 2 Matthew McGillis 2008-02-16 11:07:25 PST
See this page for more details about differences between browser mouse events.

http://unixpapa.com/js/mouse.html

Try this test page to see events generated.

http://unixpapa.com/js/testmouse.html
Comment 3 Robert Blaut 2008-02-16 11:26:57 PST
I see the problem now, but I classify the issue as an enhancement request. 
Comment 4 James Craig 2013-09-30 11:04:09 PDT
Not an AX bug. Reassigning.