Control-click to simulate right click on Mac shouldn't send control+rightclick event




10 years ago
10 years ago


(Reporter: sheppy, Unassigned)


1.9.1 Branch
Mac OS X

Firefox Tracking Flags

(Not tracked)




10 years ago
Currently, if a Mac users uses control+click to simulate a right mouse button click, it appears that the generated event is for "control+rightclick". If we want to treat this as a right-click, the control key should be reported as not engaged, because sites may wish to treat control-rightclick differently than other right-clicks (for example, the editor on devmo uses control-rightclick to offer the default Firefox context menu instead of the editor's custom menu).

As it stands right now, devmo users with a single-button mouse (yes, a dwindling number of people) cannot access the devmo editor's context menu.

Basically, either we need to report control-click as either control+leftclick or as rightclick, but not as control-rightclick, depending on how we want to perceive this event.
This seems like something that should happen in the widget layer...
Component: DOM: Events → Widget: Cocoa
QA Contact: events → cocoa
You need to log in before you can comment on or make changes to this bug.