3

Closed

keyboard shortcuts of CodePlex issue trackers conflict badly with shortcuts that are reserved within Mac OS X

description

At e.g. http://ewsmacwidget.codeplex.com/workitem/30190
  1. select some text
  2. key command-c to copy
= Expected =

Copy to pasteboard.

= Actual =

Copy fails.

The browser moves away from the page.

(command-c is misinterpreted.)

= Workarounds =

None found. I searched FAQ, documentation, this tracker etc.

How can I disable all shortcuts that are offered by CodePlex?
Closed Nov 28, 2012 at 9:05 PM by TomCornelius

comments

uniquelau wrote Aug 16, 2011 at 11:47 AM

This stops me creating new workitems on a daily basis.

greystate wrote Dec 16, 2011 at 8:40 PM

I was complaining about this on twitter and got a surprise reply from @JonCodePlex, so I decided to check the thing myself instead of just complaining. After checking the relevant JS (on this page, actually :-) I've found this piece of code in the handleShortcut function:

...
} else if (!b.ctrlKey && d === "c" && a.create && !f) {
a.create();
c = true
}
...

I think it's a matter of adding a check for the metaKey flag too, as that what the Mac "command" key is represented as (according to the DOM Level 3 Events Spec.)

So maybe:
...
} else if (!b.metaKey && !b.ctrlKey && d === "c" && a.create && !f) {
a.create();
c = true
}
...

/Chriztian

jontsao wrote Mar 15, 2012 at 10:50 PM

This should be fixed in the latest release. Thanks for reporting it!