Re: NSWindow setMiniwindowImage Bug?
Re: NSWindow setMiniwindowImage Bug?
- Subject: Re: NSWindow setMiniwindowImage Bug?
- From: Ali Ozer <email@hidden>
- Date: Tue, 2 Oct 2001 19:00:03 -0700
From the older (10.0) AppKit release notes: "There is a user default,
AppleDockIconEnabled, to enable setting the image in a minimized window
tile with -[NSWindow setMiniwindowImage:]. The image will be scaled as
necessary to fit the tile. This behavior is off by default, so you must
set AppleDockIconEnabled to YES if you want to enable this behavior. "
The reason this is disabled by default was that the wrong thing was
happening for a large number of apps; that is, a lot of apps were
showing old, crufty 48x48 icons in the dock.
You can get your app to register this default in its initialization.
Ali
On Tuesday, October 2, 2001, at 04:51 PM, email@hidden wrote:
I sent out a question about a month ago about whether or not the
setMiniwindowImage worked in Cocoa and got no responses. I will try
one more time and then maybe I should go file a bug.
Should this method:
setMiniwindowImage
in the class NSWindow actually SET the icon in the dock for this window
as it is minimized? Or is it just a fake method? The method
setMiniwindowTitle DOES in fact work as you would expect - however
setMiniwindowImage (in neither ObjectiveC nor in Java) does NOT work.
I know I have the images loaded, because I can use the NSApplication
method for setApplicationIconImage and it works just fine.
Am I the only one that has tried to set the icon of a minimized
window? If anybody could confirm this - that would be great. Also, is
the place to report this type of byg over at bugreport.apple.com or is
there a cocoa related bug submission thing?