Priority
Normal
Type
Bug 
State
Submitted 
Assignee
Kirill Kalishev 
Subsystem
Editor. Editing Text 
Affected versions
Fix for
  • Submitted by   Alexander Strotzky
    2 years ago (03 Oct 2007 23:38)
  • Updated by   Vadim Gurov
    10 months ago (18 Sep 2009 15:51)
  • Jira: IDEA-15434
    (history, comments)
IDEA-15434 IntelliJ ignores keyboard on Linux after Alt-Ins
5
1. Create a new class
2. Add a field
3. Generate something (constructors, getters, setters etc.) using the Generate menu (Alt+Ins)
After the code is generated all keyboard input is ignored.
Neither typing text into the editor, nor using application-wide shortcuts (e.g. Alt+Ctrl+S) works.

Switching to another tab and back helps (keyboard input is not ignored anymore).

Note: the problem exists both on KDE and Gnome.

Please fix this because IntelliJ is not usable anymore on Linux.

Let me know if I can provide more info.

Environment: Ubuntu Feisty Fawn (7.04), Linux astrotzky-desktop 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux
Comments (11)
 
History
 
Linked Issues (0)
 
Alexander Strotzky
  Alexander Strotzky
04 Oct 2007 00:55
(2 years ago)
This bug exists on 7323 also.
Kirill Kalishev
  Kirill Kalishev
05 Oct 2007 14:42
(2 years ago)
tested on unbuntu 7.04, kde 2.18.1, java 1.6.0_02
couldn't reproduce the bug

pls let me know of you java version
Alexander Strotzky
  Alexander Strotzky
07 Oct 2007 00:40
(2 years ago)
When I created this issue, I was using 1.6.0_02 but I don't think java is the problem.
For the record, after you asked about the version I tested this with java 1.6.0_03 and 1.5._13 and it behaved the same (problem with keyboard).
The gnome version I use is 2.18.1 (build date 04/10/2007) - pasted from menu System -> About GNOME.

After I deleted .IntelliJIdea70 everything works fine.

If I will find a way to reproduce this consistently, I will let you know (by creating another issue).
For the moment I think you can mark this issue as not reproducible.
Adam May
  Adam May
29 Oct 2007 17:15
(2 years ago)
I can confirm this issue still exists on 7364 and at least in my case, removing .IntelliJIdea70 didn't help.

JDK 1.6.0_03 (which I upgraded to from 1.6.0_02, hoping it would resolve the issue).
Gnome 2.18.1

Also, its not isolated to the Generate dialog. Pretty much any pop up, Quick Doc, Refactor, Find Usages (all my faves) takes the editor completely out of keyboard focus until you switch tabs using the mouse.
Serge Baranov
  Serge Baranov
29 Oct 2007 17:58
(2 years ago)
Does it help if you disable 3D desktop features (compiz/beryl)?
Adam May
  Adam May
29 Oct 2007 18:19
(2 years ago)
Sorry, I forgot to mention I'm running Metacity with everything default, except I'm using the Glossy theme.
Adam May
  Adam May
29 Oct 2007 18:40
(2 years ago)
Also, I started noticing this issue when ugrading from Milestone 2 to 7.0. At that time I was also forced to upgrade to JDK 1.6 to run 7.0. Now, when I go back to Milestone 2 under JDK 1.6, it now has the same problem. I downloaded the JDK directly from Sun's website, not through apt-get or synaptic. I've heard of problems with the Ubuntu Java packages before, but maybe Sun is at fault this time?
Serge Baranov
  Serge Baranov
30 Oct 2007 12:21
(2 years ago)
You can use IDEA compiled for JDK 1.5 and run it under 1.5 in case JDK 1.6 has problems on your system: http://download.jetbrains.com/idea/idea-7.0.1-jdk15.zip .
Adam May
  Adam May
01 Nov 2007 18:42
(2 years ago)
Thank you, that works flawlessly. Will I be able to continue to download updates for JDK 1.5? I only see the 1.6 version linked from the IDEA website.

For reference, I also tried to run the 1.6 version using the JDK 1.6 that comes with Ubuntu as well. It behaved exactly the same.
Serge Baranov
  Serge Baranov
01 Nov 2007 18:50
(2 years ago)
Yes, replace .exe with -jdk15.zip in the download link.
Ross Greinke
  Ross Greinke
10 Jan 2008 19:19
(2 years ago)
This worked for me, too, except that plugins compiled for idea 7 are compiled with jdk6. Installing them gives an exception:

java.lang.UnsupportedClassVersionError: Bad version number in .class file

I think this is also related to IDEA-41749