Scrolling problems in 6.0.4 with JDK 1.6

I just upgraded IntelliJ to 6.0.4 (build 6148) a few days ago, and at the same time switched to running it on JDK 1.6. (I know, I changed too many things at once.) When I run it on my machine at work, everything is fine. A compiler crash that was my motive for the upgrades seems to have disappeared so far, and IntelliJ seems a tiny bit faster, though both may be wishful thinking.

But when I'm logged in from home running IntelliJ on a remote NX desktop (http://www.nomachine.com/), I'm getting all sorts of weird artifacts when I scroll in the editor. I turned off smooth scrolling and it got a bit better, but it's still happening. When it tries to scroll the buffer contents up by a line, for example, the image of some lines appears multiple times, and other lines get erased. It looks like some sort of problem with pixmap copying or the like. It actually looks a lot like what's described in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6354265, but that bug was marked as fixed a long time ago. This isn't happening in any other apps when I use NX, and it wasn't happening in IntelliJ until I upgraded to 1.6 and/or 6.0.4.

Has anyone else seen this? Is there a workaround, e.g. a property I can set to tell it to do slower (but correct) scrolling?

I can post a screenshot if anyone wants it.

Details:
IntelliJ 6.0.4, build 6148
JDK 1.6 final
Ubuntu "dapper" Linux running a 2.6.18 kernel.
KDE desktop.

IDEA preferences:
"smooth scrolling" on or off, "use antialiased font in editor" on or off (neither seems to matter)
"prefer moving caret line to minize editor scrolling" on (makes problem less annoying)

KDE preferences: "use anti-aliasing for fonts" on, "use sub-pixel hinting" off

Please sign in to leave a comment.