History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23079
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Kirill Kalishev
Reporter: Anil Gangolli
Votes: 8
Watchers: 8
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

IDEA 7 final: Loss of all keyboard input

Created: 19 Oct 07 22:28   Updated: 14 Jul 08 21:52
Component/s: Editor. Editing Text
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
IDEA 7 final (build 7361)
Sun JDK 1.6.0_03
Ubuntu 7.04 / GNOME with AWT_TOOLKIT=MToolkit

Build: 7,361
Severity: High


 Description  « Hide
Recently upgraded from IDEA 6.x to IDEA 7.0 final.

At times I lose the ability to use the keyboard at all.
I haven't been able to correlate it to any specific activity that I do.
Mouse inputs continue to work fine. I have to exit and restart.

Any suggestions for working around this?



 All   Comments   Work Log   Change History      Sort Order:
Anil Gangolli - 29 Oct 07 21:05
Still occurring on Ubuntu 7.10
This makes IDEA 7 unusable for me. Unfortunately I've already purchased the license.
I have to revert to 6.0.5. Can you provide any suggestions?

There is a spot workaround: I've found that viewing the TODO pane and then closing it sometimes restores things to working.
However this happens so frequently that IDEA 7 is pretty much unusable for me.


Anil Gangolli - 31 Oct 07 17:43 - edited
See also this forum posting: http://www.intellij.net/forums/thread.jspa?messageID=5200926

Stopped using AWT_TOOLKIT="MToolkit". Problem is gone or much more rare. Without this environment setting I do see a blank window problem occasionally but not frequently.

Additional environmental factors that should be mentioned: I am using Compiz Fusion as window/desktop manager (a.k.a "Advanced Desktop Effects" enabled in Ubuntu 7.10). I have the "Java Window Fix" workaround enabled in my Compiz settings.


Amir Langer - 14 Nov 07 19:03
Also happens to me by using Idea 7.0.1 build #7364, AWT_TOOLKIT="MToolkit", Ubuntu 7.04 with Beryl window manager.

It must be something with the number of open windows.
I found out that if you close all open editor windows + ant build + project etc.
and leave just the bare minimum, it takes slightly longer for the keyboard to stop working.

Even though This happens only in Idea.

The workaround that I found is to use the metacity (Gnome) window manager without AWT_TOOLKIT="MToolkit".
But that's not really a nice window manager to use.


Amir Langer - 14 Nov 07 19:06
Sorry - In the last comment, some of sentence got deleted:

Even though this sounds like a window manager issue, It happens only in Idea. No other application.


Aksel Hilde - 10 Dec 07 15:34
I am having the same problem on build 7364, Kubuntu 7.10 (with Compiz). This problem should be fixed asap.

M.J.Milicevic - 11 Jan 08 20:14
same problems here. Netbeans for example doesn't have those problems..
Can someone form JetBrains at least say what status of this bug is.
Right now to get keyboard working again, you must switch tabs which is very distracting.

Miho - 03 Mar 08 02:59

Same issue here as well.

Symptom:
Suddenly and frequently Idea seems to ignore any kind of keyboard input. Not even shortcut keys, just can't type at all. Actions before this behavior seems to be random. Nothing particular action that I can see triggers this behavior

Idea : idea-7590
OS : Fedora Core release 6
Java : jdk1.6.0_03

Current (pathetic) solutions :
– Switch tabs
– Restart Idea


M.J.Milicevic - 03 Mar 08 04:07
Hi Miho,
in my case nightly builds of 1.6 helped, see:

http://www.jetbrains.net/jira/browse/IDEADEV-2359

(copy paste from above link

M.J.Milicevic - 28 Jan 08 20:05
ok. it seems all problems are gone with:

http://download.java.net/jdk6/6u10/promoted/b11/binaries/jdk-6u10-ea-bin-b11-linux-i586-24_jan_2008.bin

even ctrl + e focus works. Now lets hope this finally gets fixed with next JDK update.

[ Permlink | « Hide ]
M.J.Milicevic - 06 Feb 08 21:07
just one glitch when using above jdk:
some popups doesn't alway render (it seems like it happens randomly,
but reopening it few times it renders well.


Miho - 05 Mar 08 03:05
Thank you for your help, M.J.Milicevic.

Unfortunately the problem does not get fixed.
I have installed higher version of java (jdk1.6.0_10) as you suggested and set IDEA_JDK to it.

The good news is that the symptom is less harsh than before. No longer needs to restart IDEA, just by changing the tab, keyboard input comes back so far. So that's nicer than before yet still not acceptable...


Miho - 05 Mar 08 05:36
Not sure if it's related at all, but I'm keep getting following Exception from iea.sh output.

[162080064] ERROR - pplication.impl.LaterInvocator -
java.lang.IndexOutOfBoundsException: Wrong offset: 37858
at com.intellij.openapi.editor.ex.util.SegmentArray.findSegmentIndex(SegmentArray.java:49)
at com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:143)
at com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:281)
at com.intellij.usages.UsageInfo2UsageAdapter$MyUsagePresentation.getPlainText(UsageInfo2UsageAdapter.java:322)
at com.intellij.usages.impl.UsageNode.getText(UsageNode.java:85)
at com.intellij.usages.impl.Node.update(Node.java:66)
at com.intellij.usages.impl.UsageViewImpl.checkNodeValidity(UsageViewImpl.java:737)
at com.intellij.usages.impl.UsageViewImpl.checkNodeValidity(UsageViewImpl.java:735)
at com.intellij.usages.impl.UsageViewImpl.checkNodeValidity(UsageViewImpl.java:735)
at com.intellij.usages.impl.UsageViewImpl.checkNodeValidity(UsageViewImpl.java:735)
at com.intellij.usages.impl.UsageViewImpl.checkNodeValidity(UsageViewImpl.java:735)
at com.intellij.usages.impl.UsageViewImpl.checkNodeValidity(UsageViewImpl.java:735)
at com.intellij.usages.impl.UsageViewImpl.checkNodeValidity(UsageViewImpl.java:735)
at com.intellij.usages.impl.UsageViewImpl.updateImmediately(UsageViewImpl.java:726)
at com.intellij.usages.impl.UsageViewImpl.access$2000(UsageViewImpl.java:71)
at com.intellij.usages.impl.UsageViewImpl$18.run(UsageViewImpl.java:747)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:12)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[162080065] ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 7.0.2 Build #7590
[162080065] ERROR - pplication.impl.LaterInvocator - JDK: 1.6.0_10-ea
[162080065] ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) Client VM
[162080065] ERROR - pplication.impl.LaterInvocator - Vendor: Sun Microsystems Inc.
[162080065] ERROR - pplication.impl.LaterInvocator - OS: Linux
[162080065] ERROR - pplication.impl.LaterInvocator - Last Action: EditorUp


Ryan Vanderwerf - 02 Apr 08 00:40
same problem here, ubuntu 7.10 32 bit, tried turning off desktop effects, installed the jdk 1.6_10 beta, etc. Still have to switch between tabs to get my keyboard back.

Miho - 02 Apr 08 20:11
I have changed the environment and this issue was resolved for me.

Idea : idea-7757
OS : Fedora release 8
Java : jdk1.6.0_05

Also this time I purchased the license, not that I think it was an issue... or maybe?


Anil Gangolli - 01 Jun 08 23:14
[I was the original reporter.]

I finally found relief from both the blank window problem and the loss of keyboard input problem by:
(1) unsetting (i.e. NOT setting) AWT_TOOLKIT="MToolkit"
(2) Adding -Didea.no.jdk.check=true in idea.vmoptions to tell IDEA to accept JDK 1.7.0
(3) running IDEA under current early access versions of JDK 1.7.0 (e.g. b26, b27) [Earlier may work, but haven't tried.]

Despite reports from Miho to the contrary, with recent versions of JDK 1.6.0 (even 1.6.0_05 and Update 10 beta), I could not simultaneously get relief from both the blank window issue and the loss of keyboard input issue.

Note: I am now on Ubuntu 8.04 (not 7.10), still with Compiz Fusion and lots of effects.

Hope this helps others.

Cheers,
--a.


Jacques Morel - 14 Jul 08 00:34
Anil,

Where do you download JDK 1.7 for ubuntu (I am on gutsy 32bit still)

Thanks

Jacques


Anil Gangolli - 14 Jul 08 21:52

JDK 1.7 is still in beta. You can get the latest snapshots here:

http://download.java.net/jdk7/binaries/

Pick the Linux self-extracting file with a .bin extension. Download and then chmod +x the file to make it executable by you. When you run it, it will ask you to accept the license and then extract the contents to a subdir of the working directory.

It should run fine on Gutsy.