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.
The example code is here: https://studio.atlassian.com/source/browse/~raw,r=27689/PL/trunk/atlassian-intellij-connector/src/main/java/com/atlassian/theplugin/idea/action/issues/QuickSearchAction.java