Re: NSToolbar doesn't add default items issue on 10.5.2
Re: NSToolbar doesn't add default items issue on 10.5.2
- Subject: Re: NSToolbar doesn't add default items issue on 10.5.2
- From: Martin Redington <email@hidden>
- Date: Fri, 28 Mar 2008 15:12:31 +0000
Well, I resolved my other problems, but I'm still seeing my toolbar
issue.
Inspection with F-Script shows that my toolbar is correctly set, and
has the right delegate.
I'll see if I can get a test case,
On 28 Mar 2008, at 00:43, Martin Redington wrote:
On 27 Mar 2008, at 19:34, Peter Ammon wrote:
On Mar 27, 2008, at 10:58 AM, Martin Redington wrote:
On Tiger, I can see the delegates -toolbarDefaultItemIdentifiers:
method get called, followed by the NSToolbarItem calls, after the
setToolbar: method.
On Leopard (10.5.2/9C31) [latest security update not installed
yet], the delegate methods aren't getting called, and I get an
empty toolbar, which looks to be slightly less tall than the
standard toolbar with small items.
Hmm. When you open up your app's preferences with Property List
Editor, what data is there for your toolbar, as its autosaved
configuration?
None when the problem occurs, as it only seems to hit new users,
with no existing prefs.
After I've run the app once, I see no entries for the toolbar in
the prefs.
When I customise the toolbar, and drag the default set in, then
restart the app, everything works normally, and the prefs look ok.
I think this must be something I'm doing wrong somewhere, as it
looks like some other expected keys don't make it into the prefs in
the problem case, and presumably if this was widespread, or an
underlying bug, it would have been reported far more widely by now,
but I'm not really seeing any trace of it via google.
It is a bit odd that whatever I'm doing wrong (which I would guess
is something subtle and not directly toolbar related) leads to this
behaviour though. I'm pretty sure I'll track this down, so I'll
post anything I uncover on this thread.
-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:
40ucl.ac.uk
This email sent to email@hidden
_______________________________________________
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:
This email sent to email@hidden