Re: Toolbar customizer crashes on Leopard when using menu delegate

2010-03-25 Thread Peter Ammon
On Mar 25, 2010, at 9:10 AM, Markus Spoettl wrote: > Hi Peter, > > On Mar 24, 2010, at 11:13 PM, Peter Ammon wrote: >> Yes, this is a known problem on Leopard. The issue is that when NSToolbar >> shows the customization palette, well, a view can't be in the toolbar and >> the customization pa

Re: Toolbar customizer crashes on Leopard when using menu delegate

2010-03-25 Thread Markus Spoettl
Hi Peter, On Mar 24, 2010, at 11:13 PM, Peter Ammon wrote: > Yes, this is a known problem on Leopard. The issue is that when NSToolbar > shows the customization palette, well, a view can't be in the toolbar and the > customization palette simultaneously, so NSToolbar "copies" the popup via > N

Re: Toolbar customizer crashes on Leopard when using menu delegate

2010-03-24 Thread Peter Ammon
Hi Markus, Yes, this is a known problem on Leopard. The issue is that when NSToolbar shows the customization palette, well, a view can't be in the toolbar and the customization palette simultaneously, so NSToolbar "copies" the popup via NSKeyedArchiver. Unfortunately, NSMenu's encodeWithCoder

Re: Toolbar customizer crashes on Leopard when using menu delegate

2010-03-24 Thread Markus Spoettl
On Mar 23, 2010, at 10:02 PM, Markus Spoettl wrote: > My toolbar contains an item hosting a NSPopUpButton which has a menu. That > menu contains regular items and a sub-menu which has its delegate assigned to > the File's Owner because it's dynamic and needs to be rebuilt each time it is > displ

Toolbar customizer crashes on Leopard when using menu delegate

2010-03-23 Thread Markus Spoettl
Hello, I've been running into a strange crash for a toolbar customizer that happens only on Leopard and works fine on Snow Leopard. My toolbar contains an item hosting a NSPopUpButton which has a menu. That menu contains regular items and a sub-menu which has its delegate assigned to the Fi