Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#17664 closed enhancement (fixed)

[dojox.widgets.Selection] Multiple selection modifier is colliding with context menu on a Mac

Reported by: dg Owned by: cjolif
Priority: undecided Milestone: 1.11
Component: DojoX Widgets Version: 1.9.2
Keywords: Cc:
Blocked By: Blocking:


On a Mac, as mouse may have only one button, the control key + mouse click is showing the context menu. As a matter of fact, it triggers the "oncontextmenu" event on a DOM element (on Safari at least).

In dojox.widgets.Selection, if the selectionMode is set to "multiple", the selectFromEvent function is using the MouseEvent?.ctrlKey modifier to allow multiple selection. Unfortunately this MouseEvent?.ctrlKey is the control key as well on a Mac (and not the command as one could have expected).

So a solution should be found for this particular use case. It could be using a different modifier (only for Mac or not), using the command key instead (but it's not a modifier, see

Change History (4)

comment:1 Changed 8 years ago by cjolif

Owner: set to cjolif
Status: newassigned

comment:2 Changed 8 years ago by cjolif

Milestone: tbd2.0
Resolution: fixed
Status: assignedclosed

this has been fixed part of the 2.0/delite work. See:

comment:3 Changed 7 years ago by Bill Keese <[email protected]…>

In f3ac2a540af3a0f96c56d2073a03a71056b79fc1/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:4 Changed 7 years ago by bill

Milestone: 2.01.11
Note: See TracTickets for help on using tickets.