Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Leopard, GC] Custom view in NSMenuItem crashes




On Jan 29, 2008, at 9:21 AM, Pierre Bernard wrote:

Using a custom view in an NSMenuItem causes a crash in GC applications.

A plain NSView works fine. An NSView with an enclosed NSSearchField leads to a crash when the menu item is opened multiple times.
A sample project can be found at http://www.houdah.com/MenuView.zip


I have filed this under Radar #5712323. Now I am desperately searching for a workaround.

Hi Pierre,

Let me first thank you for filing this bug and providing a sample that reproduces it. I've modified the sample with the recommended workaround and put it here: http://homepage.mac.com/gershwin/ MenuView.zip

I hope this helps,
-Peter

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >[Leopard, GC] Custom view in NSMenuItem crashes (From: Pierre Bernard <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.