Submitted On 18-JUL-2006
MFernau
I've exactly the same problem!
I'm also using kde 3.5.3 here and get the same problems.
I'm not sure, but I think you can reproduce the image-scrolling-effect by clicking the 'left arrow' in the tray which hides unused Icons from tray (like windows-XP). Maybe this is new feature of kde 3.5 (hiding unused icons) is the problem for this behavior?
Martin
Submitted On 18-JUL-2006
bvongunten
Same here on KDE 3.5.3 with or without transparent tray panel.
Submitted On 18-JUL-2006
claudio_nieder
I observe the same with java version "1.6.0-beta2" and the Systray Example from http://java.sun.com/developer/technicalArticles/J2SE/Desktop/mustang/systemtray/
I have "corrected" that example in that I have moved the tray.gif into the classes directory and verified with strace that it is actually open-ed.
Submitted On 02-OCT-2006
Ingo.Siebert
Same for me, but i see the icon for a half of a second, then it's gone.
(K)ubuntu, KDE 3.5.2
Submitted On 04-OCT-2006
MikeWerner
> Same for me, but i see the icon for a half of a second, then it's gone.
For me too.
I've installed the latest Mustang snapshot and the problem is still there.
Submitted On 17-OCT-2006
bvongunten
Still broken in b102.
I hope it's a typo to move this fix to dolphin rollout ?!
Submitted On 17-OCT-2006
claudio_nieder
Especially as this is a new feature for JDK 6. Does it make to sense to have a new feature starting out broken ???
Submitted On 19-OCT-2006
anton_t
Yes, the bug is fixed in JDK 7. I'd like to have the fix in JDK 6 as well as you, but I'm afraid it's too late =(
However the CR is commited to JDK 6u1. So, the fix will definetely be delivered to that update. Please, be patient.
Anton. AWT.
Submitted On 20-OCT-2006
bvongunten
It would be at least good if the vm would throw an exception if trayicon is not supportet on a plattform.
Current state is worst. Somebody installa a java application, runs it on KDE and it simply does not show up in the systemtray panel. Program is running though and ressources are used.
Submitted On 24-OCT-2006
anton_t
The problem described in this CR is a _bug_. It's not that Java TrayIcon is not supported on latest KDE.
When SystemTray.isSupported() returns 'true' it means that the platform does support minimum functionality. If native system tray is not available (e.g. removed) Java throws AWTException when trying to add an icon.
Anton. AWT.
Submitted On 14-NOV-2006
xlinuks
OMG we've been waiting for years for this feature, and when we got it - we have it broken! What kind of testers are there that they didn't bother testing the SystemTray under KDE??
As if it were artificial intelligence!
I've tested under KDE in Slackware 11 and Mandriva release october 2006 (both last versions) and the icon still won't show up with jdk-beta-104!
What a shame moving it to Dolphin! Microsoft must be laughing!
And not only them!
With lazy and buggy steps Java's never gonna conquer the desktop! huh
Submitted On 15-NOV-2006
oleg.sukhodolsky
Just a side note: KDE is not in the list of officially supported platforms for jdk, thus testers do not test it :(
Submitted On 21-NOV-2006
bvongunten
At earlier jdk 6 betas KDE *WAS* supported !
Submitted On 27-NOV-2006
CristianDeives
It should work on Java 6 :( Still not working on KDE 3.5.4 and jdk1.6.0-b104.
Submitted On 25-DEC-2006
HolgerK
Negative, it does not work (at least for Debian/unstable KDE 3.5.5, JDK 1.6.0). The attached code makes creates just empty space (no image, no toolhelp) in the tray area:
--BEGIN CODE
import java.awt.*;
import java.util.*;
public class Systray {
public static void main(String[] args) throws Exception {
Image image = Toolkit.getDefaultToolkit().getImage("images/javacup.gif");
TrayIcon trayIcon = null;
SystemTray tray = SystemTray.getSystemTray();
trayIcon = new TrayIcon(image, "Tray Demo");
trayIcon.setImageAutoSize(true);
tray.add(trayIcon);
// keep VM running
new Timer().schedule( new TimerTask() {
public void run() {
System.out.println( "running..." );
}
}, 1000, 1000 );
}
}
--END CODE
Submitted On 12-JAN-2007
linuxhippy
a putback into jdk-6.0_u1 would be great.
We were so happy that we can use tray now - but all our Linux-Customers don't see this :-/
I think this stuff shouldn't break anything else?
Submitted On 18-FEB-2007
Orclev
On a somewhat related note to this, why arn't they using the OpenDesktop standard for system tray icons? I tryed to get the system tray running on XKCD which follows to OpenDesktop standard (Amarok displays just fine), but SystemTray.isSupported() returns false. Maybe kill 2 birds with one stone by simple switching to OpenDesktop standard?
Submitted On 18-FEB-2007
Orclev
Correction to previous post, I should have said FreeDesktop instead of OpenDesktop.
Submitted On 05-APR-2007
harddev
For the moment the only solution is to use the JDIC TrayIcon class. That seemed to work for me on KDE. The trayIcon wasn't scaled though and appeared in a rectangular area.
Submitted On 13-APR-2007
chasan
>> However the CR is commited to JDK 6u1. So, the fix will
>> definitely be delivered to that update. Please, be patient.
I've been sufficiently patient for u1 but still nothing has happened. Does this mean that Sun is ignoring KDE?
>> Just a side note: KDE is not in the list of officially
>> supported platforms for jdk, thus testers do not test it
So WORA does not apply to Java, is it so? Do I understand that Java is OS independent, but is desktop environment dependent?
Submitted On 17-APR-2007
Andriy_Tsykholyas
JRockit the independent implementation of Java 6 is generally available for download:
http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp
The good news is Systray is working fine on KDE on JRockit.
Unfortunately I can't use it, but if you have no such limitation - go ahead.
Submitted On 26-APR-2007
claudio_nieder
The problem persists in JDK 6u2 as I just tested on Debian Etch and KDE 3.5.5.
I think it is bad, that once a bug has been closed because it has been fixed for some release in the far future (here jdk7) voting for the bug is not possible any more, so it gets lost behind any newly submitted bugs against the current jdk with the result that it is not fixed in minor releases.
Submitted On 25-MAY-2007
One year and no progress - please fix! :(
Submitted On 02-JUL-2007
anton_t
Finally, the fix is in the JDK 6 coming update. It has been integrated into the 6u3 b01. I hope it's in public access soon. And thanks for the patience...
Submitted On 09-SEP-2007
I think sun will not pay more attention to kde, in jdk6 docs it is officially said that tray icon works on windows and linux(gnome), without kde.
Submitted On 12-SEP-2007
But at the same time Sun must understand that Gnome guys are busy with Mono (.NET port for Linux) and care very little, if at all they do, about Java.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|