Community
Participate
Working Groups
Using Firefox 16 on a Mac, if you use Ctrl-Space to try to get content assist, you also get a free context menu from Firefox. The content assist menu is underneath. Silenio said that contentAssist.js line#120 returns true to prevent the user agent key binding. But that is not working. Or at least Firefox is not honouring that override.
I ran into this very annoying issue as well. After some digging, I think I found a patch that fixes it. The idea is to detect when the 'contextmenu' event fires but the mouse button in the event is the main one (i.e., it's not a right-click), which I think indicates that the event originated with the CTRL+Space keyboard shortcut. In this case, if we do a preventDefault, I think the right thing happens: CTRL+Space no longer brings up the Firefox context menu, but a right-click with the mouse does. I'll attach my patch, which works for me.
Created attachment 229635 [details] patch for the problem
Re: the patch: I assert that I authored 100% of the content of this contribution and have the rights to donate the content to Eclipse under the EPL
Thanks! Committed fix https://orion.eclipse.org/git/git-commit.html#/gitapi/commit/1bc9299e7ce35fc8234a6f75bd7b3eb66b41f138/file/E/org.eclipse.orion.client/?page=1&pageSize=1