compiz mis-draws Java windows and makes them sluggish

Bug #1145770 reported by Rocko
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I run Java applications in unity in Ubuntu 13.04, the Java window contents are badly drawn. It looks like compiz is drawing the contents of the window starting at the top left, then drawing the titlebar on afterwards, overwriting the top of the contents and leaving a transparent area the same size as the titlebar below (see attached examples).

The titlebar then doesn't work properly - you can't move or maximize the window using it. I can move the windows using Alt-mouse click, however.

The windows are also very sluggish to respond - it can take five seconds or more to redraw them, eg when you change tabs in netbeans' Project Properties window, and there is a similar delay when I try to enter text in a text box in a popup window.

This happens with both oracle-jdk7 (7u15-0~webupd8~1) and openjdk7 (7u15-2.3.7-1ubuntu1).

It also happens whether or not I enable the Java titlebar and window workarounds using ccsm.

It does NOT happen in gnome-shell, however, so I suspect compiz is the problem.

An easy way to reproduce this is to install netbeans (I'm using 7.3), run it, and try to use it.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: compiz 1:0.9.9~daily13.03.01-0ubuntu1
Uname: Linux 3.9.0-rc1-git-20130304.1118 x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.9-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Tue Mar 5 10:23:55 2013
DistUpgraded: Fresh install
DistroCodename: raring
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:050e]
 NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev ff) (prog-if ff)
InstallationDate: Installed on 2012-08-25 (191 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120724.2)
MachineType: Dell Inc. Dell System XPS L502X
MarkForUpload: True
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.9.0-rc1-git-20130304.1118 root=UUID=135c8090-427c-460a-909d-eff262cd44b6 ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
XorgConf:
 Section "Device"
  Identifier "Card0"
  Driver "intel"
  Option "AccelMethod" "sna"
 EndSection
dmi.bios.date: 05/29/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0NJT03
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd05/29/2012:svnDellInc.:pnDellSystemXPSL502X:pvr:rvnDellInc.:rn0NJT03:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS L502X
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.9~daily13.03.01-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.42-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0.2-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.2-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.3-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.6-0ubuntu3

Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
nicolas (nico1038) wrote :

Same here. I noticed that when i restart unity ("setsid unity"), it solves the problem.

Revision history for this message
Jannis Haase (jannishaase) wrote :
Revision history for this message
Rocko (rockorequin) wrote :

setsid unity doesn't fix it for me, it only confuses unity about the windows already open so that it (eg) directs input from chrome to firefox.

Revision history for this message
Chris Sandberg (chris12349) wrote :

setsid unity does 'fix' it for me temporarly. I think this is an important bug to fix, anyone playing Minecraft is going to run into this.

Revision history for this message
Chris Sandberg (chris12349) wrote :

Just did an update and the problem is gone for me. Java windows load normally.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.