Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: application's minimized icon is broken / Problem with Java update 1 for Snow leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: application's minimized icon is broken / Problem with Java update 1 for Snow leopard



I don't recall ever seeing these pixelated icons on any earlier versions, including ones that ran under Java5.  If the shift to Java6 broke the way a dock icon was set, I would have thought there would have been more noise about it then -- but I don't recall any noise.  Perhaps Java 5 did it correctly, allowing an Info.plist specified icon to take precedence.  It's hard to test now, though, since OS X doesn't provide any way to install or run something under JDK5.  Oh well.

You're of course welcome (and obviously in more of a position) to implement this however you choose, but given that Java6 has been available for a year, this does seem like a very significant backwards incompatible change.

Sam

On Wed, Dec 16, 2009 at 7:22 PM, Mike Swingler <email@hidden> wrote:
These apps would have also had the ugly art in J2SE 5.0 as well (where setIconImage() works as expected). The regression per-se, was that we broke this in the initial port of Java SE 6, and have now fixed it. If you'd like to request a system property to ignore calls to the standard API, please file a bug at <http://bugreporter.apple.com> with a suggestion for what that Apple-specific property should be called.

Thanks,
Mike Swingler
Java Runtime Engineer
Apple Inc.

On Dec 16, 2009, at 4:03 PM, Sam Berlin wrote:

That seems like a pretty serious regression, Mike.  It basically will cause all Java apps out there in the world that used to have pretty icons (by following the guidelines of having a .icns file & an Info.plist) to now have ugly icons (if they used the standard setIconImage API).  Wouldn't you want to introduce a setting to cause this backwards incompatible behavior?  Or, better yet, if an icns file is specified, use that instead?

Sam

On Wed, Dec 16, 2009 at 6:47 PM, Mike Swingler <email@hidden> wrote:

As Jeremy mentioned, I believe this "bug" is actually Radar #7173154 (Frame.setIconImage() is broken and Window.setIconImages() is unimplemented in Java SE 6.) from <http://developer.apple.com/mac/library/releasenotes/CrossPlatform/JavaSnowLeopardUpdate1LeopardUpdate6RN/ResolvedIssues/ResolvedIssues.html>.

We are now showing the icon you are specifying via setIconImage(), which you may not want to set when running under Mac OS X.

On Dec 16, 2009, at 2:33 PM, Jeremy Wood wrote:

> Hmmm... first thought that comes to mind:
>
> Do you make this call anywhere:
> myFrame.setIconImage( image );
>
> (And if you do: can you try disabling any such lines?  Does the bug still reproduce?)
>
> Regards,
> - Jeremy
>
> On Dec 16, 2009, at 2:28 PM, Greg Kellum wrote:
>
>> Hi,
>>
>> Since installing the first Snow Leopard upgrade, the icon that is shown in the tray after our application is minimized is broken.  It used to show a miniature picture of the application with an even smaller version of the application's icon superimposed on top of this.  But now it just shows a large and severely pixelated version of the application's icon.  It looks like it is taking the small version of the application icon that should be superimposed over the miniature version of the application window and it's stretching this icon out.  I noticed that the same thing has happened to the jEdit application, but oddly enough, Eclipse still minimizes correctly.  This might be because the Eclipse team apparently wrote their own JavaApplicationStub...
>>
>> I would appreciate it if anyone could suggest any work arounds for this problem.  I haven't filed it as a bug yet with Apple, because I wanted to get some feedback from the list first.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >application's minimized icon is broken / Problem with Java update 1 for Snow leopard (From: Greg Kellum <email@hidden>)
 >Re: application's minimized icon is broken / Problem with Java update 1 for Snow leopard (From: Jeremy Wood <email@hidden>)
 >Re: application's minimized icon is broken / Problem with Java update 1 for Snow leopard (From: Mike Swingler <email@hidden>)
 >Re: application's minimized icon is broken / Problem with Java update 1 for Snow leopard (From: Sam Berlin <email@hidden>)
 >Re: application's minimized icon is broken / Problem with Java update 1 for Snow leopard (From: Mike Swingler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.