← Back to team overview

openjdk team mailing list archive

[Bug 300948] Re: openjdk : SystemTray.isSupported() bug

 

Please could the compiz packagers have a look at this code? Search for
the files awt_wm.c XWM.java, XTrayIconPeer.java and XWindowPeer.java.
All these have explicit code to handle Metacity. Please send a patch to
handle Compiz as well.

Or should this handled on the compiz side?


** Also affects: compiz (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: openjdk-6 (Ubuntu)
       Status: New => Incomplete

-- 
openjdk : SystemTray.isSupported() bug
https://bugs.launchpad.net/bugs/300948
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “compiz” package in Ubuntu: New
Status in “openjdk-6” package in Ubuntu: Incomplete

Bug description:
SystemTray.isSupported()
returns false with openjdk using gnome + compiz, while it returns true if I use metacity instead of compiz.

This problem was known is sun-java, and should be corrected in java 6 update 10 : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6438179
"Specifically, it returns true only if the window manager is named "Metacity" or "KWin".

As a result, impossible to make a java program which use systray for people using compiz :(