JDK-6551431 : Systray Icon not shown in KDE in Java 6 (last tested with 6u2)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2007-04-28
  • Updated: 2011-01-19
  • Resolved: 2007-04-28
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_02-ea"
Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02)
Java HotSpot(TM) Client VM (build 1.6.0_02-ea-b02, mixed mode, sharing)


ADDITIONAL OS VERSION INFORMATION :
Linux garfield 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux


EXTRA RELEVANT SYSTEM CONFIGURATION :
KDE Version 3.5.5

A DESCRIPTION OF THE PROBLEM :
The systray example provided in

http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/systemtray/SystemTrayExample.zip

does not show the systray icon but only a blank space. clicking into the blank space with the mouse does not produce any of the expected effects.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
mkdir /var/tmp/SYSTRAY
cd /var/tmp/SYSTRAY
wget http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/systemtray/SystemTrayExample.zip
wget http://www.java.net/download/jdk6/6u2/promoted/b02/binaries/jdk-6u2-ea-bin-b02-linux-i586-12_apr_2007.bin
unzip SystemTrayExample.zip
sh jdk-6u2-ea-bin-b02-linux-i586-12_apr_2007.bin
cd SystemTrayExample
../jdk1.6.0_02/bin/java -cp build/classes systemtray.SystemTrayTest


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The icon (A monitor with a java cup) should appear in the system tray section of KDE.
ACTUAL -
A free space is appearing. No icon is visible. No action with the mouse is possible. The blank area is inactive.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
no error is displayed by the program.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Code used is the one downloaded from sun website as shown under "Steps to reproduce".
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
none known