JDK-4088017 : Animated GIF as Frame's icon image hangs java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,windows_95
  • CPU: generic,x86
  • Submitted: 1997-10-22
  • Updated: 2012-04-11
  • Resolved: 2012-04-11
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Name: joT67522			Date: 10/22/97


when use the method setIconImage(Image) to set a Frame's icon image,
 if the Image is an animated GIF, this program will halt with no 
 exception or error message. Although the program can be terminated
 by typing Ctrl-C, i still recommanded it as a bug of awt.

Follows is a uuencode file that will create AnIcon.zip.
unzip AnIcon.zip will produce f.gif, An05.gif and AnIcon.java.

begin 600 AnIcon.zip
M4$L#!!0    ( .ME/B-A<"/Q? 8  .D(   %    9BYG:6:E5']L$]<=__IR
M%\YVEISMRR\I@[.3, *99_)"939MLE/'!$B#(3^6:6RS WE-*C1""<O6L<AV
M3'4!###@###.###5%:=D)&3:%AC2&%2K+0C:NJ<)1"?ECV2":IK2:4*LZY:6"&[O
MW;2JTE+^V?OO>]_O^_SZWMVV[6'_UE@)N	 (,?:AC$,+!A((,]816E!B4&
MQ09%!@7>)-0@Q"#8(,@@P&<Q-3 Q,#8P,C#PJX@:B!@(&P@9"#@V4 .( =@ 
M9 !P8 [-L-AE-@V<AQ]"*:8440J<EE6$4((I090 5\&:F%",*484 Q?%9A&A
M"%.$* *FD5VE0"A@"H@"<,G< Q/-5#)9P!UP)@;-L-AEX(9XS0XF!!$"W!^C
M917&!"."@=ME*E@388(00<#<,U%LE@ F@ @ #X.'Q6ZS.)A_X-EP2PR,B68J
M@4?%B1DV@V98P)/C;5:S@S &'B3SQVA9A1!&P')E=ID*UL2 , "/F6^%\%D>
M-/#4>7:$7^5Q %\"=T@X$A<-?"=<!^' '!KXBO@TX3S\ -L8"Y+Y8[2L0@!@
MO@U@[AO,C8*Y,S"W F;N8"8+9G9@I@.F?S =@ND!3)5@Z@"3"4PL,*=9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A#*FBQINZFTJ@&PE ;2((CCQP)C8C#!H5'!A\& 82'8R,BX["!45&A@3'8
ML(@-F."UF-# N/^!,! ;$WHP+#8N- 8\20B-B16BC&3\E\B%'Z_!<VO7W1%!
MA@9$B"@@A00@ /0_/VXCXXZ"8 T-#H8Q "D$:!+[3Q/".CPL*B@R,";D/YS$
M_S<G\O]TDOBOG( =_PU02P,$%     @ 1TI/(PN'D;YG 0  A ,   L   !!
M;DEC;VXN:F%V88U2NV[",!2=B91_N&(R%0J@B@EUZ )BJTJWJL,E,<9MXEBV
M(14H_UX[<1Z"(-5*Y,>YSW,NSV2N#'SC&2,L3/2T"@-^\\8S9+1"PD">]BF/
M(4Y1:W@5VS@70'\-%8F&M<*,0AA<H5IA 'YYI]J<3,)@=.W 9CGL#05-0<(+
M"%IT+V2RNK?')"%R")"1IF;'+Y0LYO.I_8>,MJXGX!E;V&2,FH\\3W^X(9/(
M7BJ0C \1XX?QD/=L!AX%K@&%_2Q)AB:PV:ZAYNO>RY;E6JJCN]0N]*ATM-K=
MDZ0-&KN=<YY AEP0V!G%!0-43']^P0/VO!0H&_(:LH>8DQU%2TO1\S!%WNR=
M:G[!?4J)42=:E3RJH&->D'X'I0]1ST8G9S,>]:VKO96@R]U3O&>H3Y*J?B?6
MY[%J*.;+6^&<7NW[/R0KVY-7I9)#6CD,V2B41QYK8/T: 5B4*"Q:<:=^^*;F
MR/4-O67O9L]_4$L! C(+%     @ ZV4^(V%P(_%\!@  Z0@   4         
M   @ +:!     &8N9VEF4$L! C(+%     @ &W$V(\6LAK@:&0  1R(   @ 
M           @ +:!GP8  &%N,#4N9VEF4$L! C(+%     @ 1TI/(PN'D;YG
M 0  A ,   L          0 @ +:!WQ\  $%N26-O;BYJ879A4$L%!@     #
-  , H@   &\A        
 
end


======================================================================
###@###.### 2004-08-20

Comments
EVALUATION Name: ksT78225 Date: 09/28/98 K Suresh (###@###.###), 28th Sep 1998 Reproducible when tested in the following platforms Windows95, WindowsNT 4.0 : JDK-1.1.7-K, JDK-1.2FCS-I 1. Animated GIF as icon image hangs java 2. Normal GIF as icon image is working properly when tested in the following platforms Solaris intel, Solaris sparc : JDK-1.1.7-K 1. Animated GIF as icon image throws NullPointerException as follows java.lang.NullPointerException at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:121) at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:87) at sun.awt.motif.MToolkit.createFrame(MToolkit.java:117) at java.awt.Frame.addNotify(Frame.java:203) at java.awt.Window.show(Window.java:145) at AnIcon.main(AnIcon:java:22) 2. Doesn't show up image when using normal GIF as icon image when tested in the following platforms Solaris intel, Solaris sparc : JDK-1.2FCS-I 1. Doesn't show up image when using animated GIF or normal GIF as icon image NOTE: Use any animated GIF in the following code ----------------------------------------------------------------------------------- import java.awt.*; import java.awt.image.*; public class AnIcon extends Frame { public AnIcon() { IconPanel p = new IconPanel(); add(p); p.setSize(100,100); Image img1 = getToolkit().getImage("rvlogo.gif"); // "rvlogo.gif" is an animated GIF image. // or use any animated gif setIconImage(img1); } public static void main( String args[] ) { AnIcon app = new AnIcon(); app.setSize(500,300); app.setResizable(true); app.show(); } } class IconPanel extends Panel { Image img; IconPanel() { super(); img = getToolkit().getImage("newroll.gif"); // "newroll.gif" is an animated GIF image. // or use any animated gif } public void paint(Graphics g) { g.drawImage(img,100,100,this); } } ====================================================================== 5/8/2000 kevin.ryan@eng -- reproducible with 1.1.8_003 and kestrel (1.3.0-C) on both win32 and Solaris. Name: atR10251 Date: 01/14/2004 The problem is that animated gif seems to be unsupported for Frame. I'm trying to figure out how it can be solved. ###@###.### 2004-01-14 ====================================================================== Name: atR10251 Date: 01/19/2004 Really, looking through the code I see that Frame's icon isn't expected to be a multiframe image. I succeeded in animating icon image by roughly intervention in the code. Now I'm thinking of correct way of implementing this feature. ###@###.### 2004-01-19 ====================================================================== Name: atR10251 Date: 01/22/2004 1. In our Frame's peers we use <sun.awt.image.ImageRepresentation.reconstruct> method when setting icon image. This method expects flags from java.awt.image.ImageObserver interface as a parameter. We're not able to detect if an image static or multiframe. So when we have multiframe image and pass ImageObserver.ALLBITS value to ImageRepresentation.reconstruct it gets stuck in infinite loop. If we pass ImageObserver.FRAMEBITS it doesn't hang (but it will in case of static image). So we can't use this method due to we can't know what image we're given. A solution is to use MediaTracker instead of calling reconstruct directly or to try to change this method somehow. 2. It's able to implement multiframe icon image supporting implicitly for a user. But this requires a lot overpatching. Moreover a user is able to do it himself. I put the example code showing this in the Workaround area. Thus we need to solve only the problem of hanging. ###@###.### 2004-01-22 ====================================================================== The investigation should be proceeded in the next releases. ###@###.### 2005-06-17 11:06:30 GMT
17-06-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
21-08-2004

WORK AROUND Name: joT67522 Date: 10/22/97 ====================================================================== Name: atR10251 Date: 01/22/2004 This code is an example showing implementation of multiframe image icon: import java.awt.*; import java.awt.event.*; import java.awt.image.*; public class IconTest { public static void main(String args[]) { final Frame frame = new Frame("Test"); Button button = new Button("Open"); final IconFrame animGifFrame = new IconFrame("anim.gif"); final Thread animator = new Thread(new IconAnimator(animGifFrame)); animGifFrame.setAnimator(animator); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { animGifFrame.setVisible(true); animator.start(); } }); frame.add(button); frame.pack(); frame.setVisible(true); } } class IconFrame extends Frame { Thread animator; IconFrame(String image) { final Image img = getToolkit().getImage(image); setIconImage(img); setSize(50, 50); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { IconFrame.this.dispose(); animator.interrupt(); } }); } void setAnimator(Thread animator) { this.animator = animator; } } class IconAnimator implements Runnable { Frame target; Image im; IconAnimator(Frame target) { this.target = target; im = target.getIconImage(); } public void run() { MediaTracker tracker = new MediaTracker(target); tracker.addImage(im, 0); while (true) { try { tracker.waitForID(0); } catch (InterruptedException e) { return; } if (tracker.isErrorID(0) || Thread.currentThread().interrupted()) { return; } target.setIconImage(im); } } } ======================================================================
21-08-2004