Keyboard issues with right alt and polish keyboard layout

Answered

My env: Win10, Intellij 2017.3, Logitech g510s (both alt say 'alt' - no altgr), system lang - us, input method - polish programmers keyboard

In all JetBrains IDEs right alt behaves like ctrl+alt. If I want to use polish letter ż - Ralt+z IDE reads it as ctrl+alt+z and reverts changes. Supper annoying. Almost all polish accented letters are affected and so few other shortcuts that should work with ctrl+alt but work also with Ralt.

I searched a lot because its super annoying but either problems were back from 2008 and resolved or didn't match my case.
I also tried the following (true and false) but it didn't work.

actionSystem.force.alt.gr=true

 

8 comments

Yes, still no solution though

0

Does it work correctly in other Java Swing applications like JEdit and NetBeans?

0

Just installed netbeans and no, the problem does not exist. Both alt keys are highliting menu bar (File Edit View... ) but only left alt+V opens View menu.

0

Try adding -Dcom.jetbrains.use.old.keyevent.processing=true in Help | Edit Custom VM Options.

By the way, where did you add actionSystem.force.alt.gr=true option?

See if switching Runtime to Oracle Java 8 helps: https://intellij-support.jetbrains.com/hc/articles/206544879.

0

I put it in idea.properties. Perhaps it should start with -D as this one you provided. I only have jdk and jre 8.

It works now with actionSystem.force.alt.gr=true and -Dcom.jetbrains.use.old.keyevent.processing=true
Are there any side effects of that?

EDIT: 
It works with only actionSystem.force.alt.gr=true

0

-D should be added if you add it in Help | Edit Custom VM Options, Help | Edit Custom Properties works without -D.

0

Ah, alright, I was putting it in Help | Edit Custom Properties.
Adding 

-Dcom.jetbrains.use.old.keyevent.processing=true

to VM Options doesn't fix it.

The working solution is to add actionSystem.force.alt.gr=true to custom properties. Thank you

1

Please sign in to leave a comment.