This is a bug I run into every couple of days, with IntelliJ IDEA's "Go to Class..." (or "Go to File...") dialog.
Usually it closes normally (when a class is selected or Esc pressed), but sometimes the popup is left behind, in the middle of the screen, on top of everything else. Even when I quit (or kill) IDEA completely, it stays. Example of what it looks like:
Only way I've found to get rid of it is logging out completely and then back in (i.e. restart X / GNOME). But having to do that is very annoying, as it can take 10 minutes or whatever to save (and re-setup afterwards) everything I have open.
Is there any other way to get rid of the buggy popup dialog, while remaining logged in? (Such as restarting some GNOME or X service / process.)
Using Ubuntu 11.04 and GNOME (not Unity).
IntelliJ IDEA ultimate edition 10.5, running on Sun's JDK 1.6.0_26 (i.e. sun-java6-jdk
version 6.26-2natty1)
Some info about the graphics driver:
$ jockey-text -l
xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Disabled, Not in use)
And:
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: RV730 PRO [Radeon HD 4650]
vendor: ATI Technologies Inc
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:47 memory:e0000000-efffffff memory:f0100000-f010ffff ioport:1100(size=256) memory:f0120000-f013ffff
I asked on Twitter, and one of IntelliJ IDEA developers (Denis Zhdanov) replied:
I'm now trying if this helps, and will report back later. To recap, this is what I did:
-Dsun.java2d.xrender=true
. As Denis points out, the best way is to edit the file<idea_home>/bin/idea.properties
and addsun.java2d.xrender=true
on a new line.Run
xkill
from the "Run command" window, which can be invoked using alt+f2. Next, click the popup and its process should be killed.Now, of course, this appears to be a bug in the application. I recommend you report it to the developers.