Internal window decoration is not working correctly in Java apps

Bug #878937 reported by Federico Vera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Undecided
Unassigned
Compiz Core
Invalid
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
compiz (Ubuntu)
Invalid
Undecided
Unassigned
java-common (Ubuntu)
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When opening a Java app that uses the system's look and feel then all the internal window decorations are wrongly painted.

I attach a screenshot and a small code (and a compiled jar) that can reproduce the problem.
This happens with default-jdk, sun-java6-jdk, openjdk-6-jdk and openjdk-7-jdk

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: default-jre 1:1.6-42ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Thu Oct 20 13:07:27 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
SourcePackage: java-common
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Federico Vera (fedevera) wrote :
Revision history for this message
Federico Vera (fedevera) wrote :
Revision history for this message
Federico Vera (fedevera) wrote :
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

This doesn't sound like a compiz bug to me. If that's being painted inside the application I'd guess that java is doing something wrong.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Incomplete for now, as per Sam's comment above

Changed in compiz (Ubuntu):
status: New → Incomplete
Omer Akram (om26er)
Changed in unity (Ubuntu):
status: New → Incomplete
Changed in unity:
status: New → Incomplete
Revision history for this message
Federico Vera (fedevera) wrote :

Might this error be related to Bug #762167?
I did a fresh install of ubuntu, and when running that app I got a lot of:

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap"

And the app looked different than before (see new screenshot), it was only when installing 'gtk2-engines-pixbuf' that the app tried *and failed* to load the correct theme.

Revision history for this message
dino99 (9d9) wrote :

That version has reached EOL since a while, so it will not receive update. If that issue still exist, report again using ubuntu-bug.

Changed in unity (Ubuntu):
status: Incomplete → Invalid
Changed in compiz (Ubuntu):
status: Incomplete → Invalid
Changed in unity:
status: Incomplete → Invalid
Changed in java-common (Ubuntu):
status: New → Invalid
Changed in compiz-core:
status: New → Invalid
Changed in compiz:
status: New → Invalid
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.