Keyboard shortcut for an action populates the edit field


I have the following problem: I use a keyboard shortcuts to invoke actions. These actions instantiate some dialogs with a text components in them (it can be a custom dialog, it can be astandard one, line Messages.showInputDialog()). The problem is that on the OS X the key pressed populates the text field in such a component, resulting in weird characters appearing there (see screenshot).

If I invoke the action by other means (menu, button), no such thing happens.

Any ideas?

The example code is here:,r=27689/PL/trunk/atlassian-intellij-connector/src/main/java/com/atlassian/theplugin/idea/action/issues/

shortcut fail.png

Please sign in to leave a comment.