Keyboard issues with right alt and polish keyboard layout
已回答
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
请先登录再写评论。
Looks like https://youtrack.jetbrains.com/v2/issue/IDEA-142642.
Yes, still no solution though
Does it work correctly in other Java Swing applications like JEdit and NetBeans?
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.
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.
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
-D should be added if you add it in Help | Edit Custom VM Options, Help | Edit Custom Properties works without -D.
Ah, alright, I was putting it in Help | Edit Custom Properties.
Adding
to VM Options doesn't fix it.
The working solution is to add actionSystem.force.alt.gr=true to custom properties. Thank you
I have the same problem during writing commit message in PhpStorm and WebStorm also.
I've set
actionSystem.force.alt.gr=true
but Polish letters still don't work. When I use alt +o (which means ó), I can see that Optimize imports checks or unchecks. It's weird.
My system is OSX 10.14.2 . Keyboard Polish pro. PhpStorm is 2018.3.3 and WebStorm is 2018.3.3.
Have you tried -Dcom.jetbrains.use.old.keyevent.processing=true ?
Yes, it doesn't work.
Only works ż and ź. When I type alt and o, l, n, a I can see that options during commit (Before commit section) are checking or unchecking.
Damian, what keymap do you use - is it OsX 10.5+?
I'm using IntelliJ:
IntelliJ IDEA 2018.3.2 (Ultimate Edition)
Build #IU-183.4886.37, built on December 17, 2018
macOS 10.14.2
Keymap: OsX 10.5+
There seems to be no shortcuts for those letters (ć or ź) but still doesn't work. when I press option+letter.
Update of IntelliJ + change as suggested:
> Please, go to Help -> Edit Custom Properties
> Add the next property into the file
> com.jetbrains.use.old.keyevent.processing=true
Solved issue for me.
I use Default keymap in PHPStorm and WebStorm.
Here is quick video, when I click option and "o" , "l" or "c" . Checkboxes are checked or unchecked.
Adding com.jetbrains.use.old.keyevent.processing=true, -Dcom.jetbrains.use.old.keyevent.processing=true, actionSystem.force.alt.gr=true do not solve my problem.
See https://youtrack.jetbrains.com/issue/IDEA-169195.
Alt triggers mnemonics, but that could be disabled. Try changing ide.mac.alt.mnemonic.without.ctrl to false in IDE Regsitry (Find Action - Registry)
Disable mnemonics in controls solved problem !
Thank you.
Exactly the same problem.
I'm working with Intellij for some time and this appeared recently. I updated Mac to Mojave. It might happen I updated Intellij as well - I do not know but this problem is quite new.
It's really sad and more people will notice it every day.
Still does not work for me.
-DactionSystem.force.alt.gr=true
helps me on windows 10
Problem solved at this blog.
This post solved the problem for me:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003309699/comments/360000426400
The new update has broken it again :(
Please see https://youtrack.jetbrains.com/issue/PY-34816#focus=streamItem-27-3366765.0-0 for the workaround.
None of these work for me.
There's always at least one polish letter that won't work.
Tried: disabling mnemonics, actionSystem.force.alt.gr, actionSystem.fix.alt.gr (through registry and through properties).
Version: 2019.2
This is getting ridiculous. I have to keep chrome tab open and CTRL+C CTRL+V single letters.
@Piotr Krokowski
Make sure that IntelliJ IDEA is running under JBR 11:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under
OK. Changed the runtime to JBR to the following:
Still didn't help.
What is are the recommended settings again? I tried different options (through registry, VM options, etc.), but got lost in this.
You need to try JBR 11.0.4 runtime. Choose jbrsdk-11_0_4...-b494...
Changing the JRE didn't make any difference.
But you know what's funny? I actually played a bit with registry options, and found something like ide.mac.alt.mnemonic.without.ctrl. I've disabled it and it "kind of" helped.
At least the polish letters appear in the editor. However some of them, like alt-z or alt-n still bring up the menu, but at least it's better than how it was before.
If you want me to try some different options, please let me know. I tried enabling actionSystem.force.alt.gr and also tried actionSystem.win.suppressAlt - These don't help.
Hello Piotr,
Thank you for reporting. I filed a new issue: https://youtrack.jetbrains.com/issue/IDEA-225371
Does the problem appear if you enable "Preferences | Appearance & Behavior | Appearance | Disable mnemonics in menu" (press here to open if you use Toolbox)?
Hi!
Actually - it does help!
Well, with some exceptions - e.g. some combinations for uppercase polish letters like Ś (shift-aft-s), and also the same for c, n, x bring some menus, but this is at least somewhat better.
I'm surprised that this suggestion came up that late.
Let me paste the same info in the other ticket.
One thing - the desired behaviour (at least for me) would be to be able to type national characters only with the right alt. Left alt should work as it is usually. I'm nor sure if this is strictly "polish" way of using keyboard, or is it broader - you might do some research.