Smart-RSS icon indicating copy to clipboard operation
Smart-RSS copied to clipboard

OSX shortcuts - CMD instead of CTRL

Open albertogasparin opened this issue 12 years ago • 2 comments

OSX uses the CMD key instead of the CTRL key to trigger a shortcut. I tried to change e.ctrlKey to e.metaKey in app.js, but that was not working. I think you should change the "ctrl+..." commands code to the new chrome.commands.onCommand API.

http://dev.opera.com/extension-docs/tut_commands.html

albertogasparin avatar Dec 18 '13 11:12 albertogasparin

The commands API is meant for shortcuts anywhere in the browser. Also in the Smart RSS tab the shortcuts depended on what column has the focus right now.... Changing the line "if (e.ctrlKey) str += 'ctrl+';" to "if (e.metaKey) str += 'ctrl+';" sounds like good idea, but if that doesn't work then perhaps some other change is required. It is hard to debug for me a I don't own mac or any apple device. Perhaps I can run OSX as VM.

martinkadlec0 avatar Dec 18 '13 14:12 martinkadlec0

Ok, let me do some other testing and I will let you know if I manage do get the shortcuts work ;-)

albertogasparin avatar Dec 18 '13 14:12 albertogasparin