Caps Lock Delay Problem (Ubuntu)

Answered

Currently using: Ubuntu 16

Using: Caps Lock Delay Fixer (https://github.com/HexValid/Linux-CapsLock-Delay-Fixer)

 

This seems to be a general issue with Linux based distros but this delay problem does not seem to resolve after the Caps Lock Delay Fixer program (from Github). Eclipse has no problems with it so I am frustrated that IntellIJ would have such issue.

 

Currently, when I type in IntelliJ (I use caps lock instead of shift to capitalize), I consistently get something like this:

"LISt<INTEger> a = new ARRayLIst<INteger>();"

instead of

"List<Integer> a = new ArrayList<Integer>();"

 

It becomes a noticeable nuisance when this phenomenon occurs almost every line of my java code. All other programs including Eclipse does not seem to have this issue so I request for a possible solution so that I could enjoy IntelliJ Ultimate on Ubuntu. (this phenomenon does not seem to occur in Windows and Mac)

 

And when using IdeaVim, it seems this caps lock delay becomes more noticeable.

Instead of having

"LlLlLlLlLlLlLl", what I get is something like "LLLLLLLLLLLLLL".

I understand that it is the convention to use shift key for writing in Caps but I have far easier time pressing 3 different keys than 2 keys together. My WPM (outside special symbols) generally hovers around 120 to 180 WPM so while this caps lock delay might not seem noticeable for those who are not veterans of caps lock over shift keys, those who type fast like me faces a noticeable difficulty in coding with this bug.

 

-- I have also tried the Zero latency typing (https://blog.jetbrains.com/idea/2015/08/experimental-zero-latency-typing-in-intellij-idea-15-eap/) here and nothing seems to have changed --

 

 

Thank you.

0
7 comments

Does it affect Swing apps like NetBeans or JEdit?

0
Avatar
Permanently deleted user

 I have just tested on both Netbeans and JEdit.

Surprisingly, those two programs too seem to have a problem with the caps lock delay.

I haven't really ever noticed this error prior to IntelliJ since I mostly use Vim (and Eclipse on Linux).

 

Is is possible to get this bug fixed or is it an issue with the Linux distro itself?

0

Please try Tools | Create Command-line Launcher, then open terminal, run https://github.com/HexValid/Linux-CapsLock-Delay-Fixer/blob/master/bootstrap.sh inside the terminal, then start IntelliJ IDEA from the same session using the created launcher script. Does it fix the problem?

0
Avatar
Permanently deleted user

Though I do not exactly understand how to use the Command-Line Launcher, I have tried:

Tools -> Create Command Line Laucher -> OK on (/usr/local/bin/idea)

Then Alt+F12 (command line terminal) and ran the bootstrap.sh

Then typed "idea ." on the terminal.

 

Nothing had changed.

I do not know if this is how I am supposed to use the terminal in IntelliJ but the method I tried at least seemed to have not changed much.

0

Thanks for the test. The issue seems to be specific to all Java Swing applications. It may be worth reporting it to Oracle.

0
Avatar
Permanently deleted user

It also drove me crazy,

I created a workaround, you may try it:

https://github.com/Jagden/CapsDelayJavaAwtProblem

0

@Jordan Sheinfeld thank you for the information, our developers would take a look.

0

Please sign in to leave a comment.