[10.04] Disappearing icons for Java app

Bug #692922 reported by Torsten Spindler
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
compiz-fusion-plugins-main (Ubuntu)
In Progress
Undecided
Unassigned

Bug Description

Binary package hint: compiz

The icons for a java application disappear in the task bar when a popup window opens for the application.

Steps to reproduce:
1) start java -jar TaskTest.jar
2) click on 'Klick'
3) select 'Abbrechen'

Result:
The icon for the window issuing the popup window disappears.

Expected result:
Icons stay intact in the taskbar.

Tags: patch
Revision history for this message
Torsten Spindler (tspindler) wrote :
Revision history for this message
Torsten Spindler (tspindler) wrote :

Under metacity the icon disappears while the popup is opened, but appears again once the popup is closed.

Revision history for this message
Matthias Klose (doko) wrote :

fixed in OpenJDK, not in Sun Java

  * Let XToolkit.isTraySupported() return true, if Compiz is running.
    Works around sun#6438179. LP: #300948.

Revision history for this message
Torsten Spindler (tspindler) wrote :

The icons also disappear with openjdk on Lucid, version 6b20-1.9.2-0ubuntu1~10.04.1

Revision history for this message
Torsten Spindler (tspindler) wrote :

The problem is fixed in Natty with compiz 0.9.4 and the java taskbar fix workaround. The attached preliminary patch backports the patch itself, but not the user interface integration.

affects: compiz (Ubuntu) → compiz-fusion-plugins-main (Ubuntu)
Revision history for this message
Torsten Spindler (tspindler) wrote :

Test application that illustrates the problem.

description: updated
Revision history for this message
Torsten Spindler (tspindler) wrote :

Debdiff for the change, albeit I'm not sure on the changed po files.

tags: added: patch
Revision history for this message
Michael Vogt (mvo) wrote :

I uploaded this to lucid-proposed now, its waiting in the queue.

Changed in compiz-fusion-plugins-main (Ubuntu):
status: New → In Progress
Revision history for this message
Torsten Spindler (tspindler) wrote :

Updated patch that is coded more defensively and checks for null and replaced the wrong call to findWindow with a for loop over all windows on a screen.

Revision history for this message
Torsten Spindler (tspindler) wrote :

Updated debdiff for the patch.

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.