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.
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.
Java Runtime Engineer
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?
On Wed, Dec 16, 2009 at 6:47 PM, Mike Swingler <email@hidden> wrote:
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?)
> - Jeremy
> On Dec 16, 2009, at 2:28 PM, Greg Kellum wrote:
>> 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