Bug 350976

Summary: Glitching graphics when running Java applications
Product: kdm Reporter: tomas.sedlak
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: major CC: dan, kde.bugzilla.2012, spam, uishnik
Priority: NOR    
Version: 4.11.10   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the glitching window

Description tomas.sedlak 2015-08-04 20:30:01 UTC
I'm experiencing window graphic glitch when running java apps (Netbeans or Idea).
This appens only to the newly opened windows.
After closing Java application everything goes back to normal.
Gnome (GTK) apps seem to be unaffected by this bug.

Example: 
http://i.imgur.com/jzCM6tp.png

Reproducible: Always

Steps to Reproduce:
1. Open Java app with UI
2. wait a minute or two
3. open any kde app
Comment 1 tomas.sedlak 2015-08-04 20:31:20 UTC
Created attachment 93887 [details]
Screenshot of the glitching window
Comment 2 Dan Haworth 2015-08-20 12:21:36 UTC
Confirmed here on two plasma 5 installs, one running Netbeans the other running the Cisco ASDM client. Gtk apps and Kde framework 5 apps are unaffected, only kde framework 4 apps it seems. Glitching seen in both kopete and dolphin that is identical to Thomas' screenshot.
Comment 3 uishnik 2015-09-05 07:59:29 UTC
I have this issue when running Pycharm on my archlinux, kde and plasma 4. I install plasma 5 but it did't fix the problem.
This problem appeared about a month ago.
Comment 4 spam 2015-09-14 17:39:29 UTC
I have the same problem in Gentoo Linux.

When I have Netbeans running after a few minutes my graphics glitches. Especially the KDE system-settings. GTK windows are not affected by this. Even without compositing effects.

However, when I use Oracle JDK 1.8.0.51 [oracle-jdk-bin-1.8] instead of IcedTea JDK 7.2.6.1 [icedtea-bin-7] as my default VM I have no glitching problems at all. So I believe it has something to do with the IcedTea JDK?

Greetings,
-imax.
Comment 5 uishnik 2015-09-15 08:19:00 UTC
Installing Oracle JDK 1.8.0.60 and using it by default did not fix the problem in my case.
Comment 6 tomas.sedlak 2015-09-15 08:28:44 UTC
For me glitching stopped after I uninstalled all java packages except OpenJDK 1.8.0.
I suspect that some of the java applications picked java 7 jre and that caused the glitches.
Still don't know why the java 7 (OpenJDK 1.7.0) was causing the glitches.
Comment 7 uishnik 2015-09-17 11:25:38 UTC
tomas.sedlak@centrum.sk, installing OpenJDK 1.8 fix the problem. Thanks!