• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Toolbar with unifier toolbar/title bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolbar with unifier toolbar/title bug?


  • Subject: Re: Toolbar with unifier toolbar/title bug?
  • From: Daniel Jalkut <email@hidden>
  • Date: Fri, 3 Feb 2006 21:48:32 -0500


On Feb 3, 2006, at 5:21 PM, Aidas Dailide wrote:

1. Make window with unified toolbar/title look.
2. Add toolbar with few items.
3. Make sure that toolbar items validation method returns no.
4. Run the app and hide/show toolbar.
You will notice that text of disabled toolbar items is garbled.

I've used to SimpleToolbar example from /Developer/Examples/AppKit folder to quickly re-produce it.

*Precisely* what did you do to SimpleToolbar to reproduce this issue? I've followed your steps above by doing the following to SimpleToolbar:


1. add "return NO;" in first line of validateToolbarItem: implementation.
2. Check the "Unified title/toolbar" checkbox in Interface Builder for the window in MyDocument.nib.
3. Run app and click the hide/show button a few times.


No bug. It will always help get a better answer if you can lead the readers of the list to a certain reproduction of your bug.

Any ideas what might be wrong and how to fix it?

Perhaps the method you're using to feed toolbar items to the NSToolbar is providing names that are autoreleased and thus valid when first sent to the Toolbar, but garbage when it later has to redraw them from scratch?


Daniel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Toolbar with unifier toolbar/title bug?
      • From: Daniel Jalkut <email@hidden>
References: 
 >Toolbar with unifier toolbar/title bug? (From: Aidas Dailide <email@hidden>)

  • Prev by Date: Re: Simple loadNibNamed Question
  • Next by Date: Re: Toolbar with unifier toolbar/title bug?
  • Previous by thread: Toolbar with unifier toolbar/title bug?
  • Next by thread: Re: Toolbar with unifier toolbar/title bug?
  • Index(es):
    • Date
    • Thread