• 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
Bug with two buttons in a view.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug with two buttons in a view.


  • Subject: Bug with two buttons in a view.
  • From: Sheehan Olver <email@hidden>
  • Date: Wed, 18 Dec 2002 15:03:39 -0600

I may have found a bug, but I wanted to make sure it wasn't something I just was missing. In a view in Project Builder I had two buttons, one called "Merge" with button equiv being return and one called "Next" with no button equiv. I connected the "Merge" button to an action mergePressed: in my controoler, and "Next" to an action called nextPressed:. nextPressed just had an NSLog statement, as I was trying to figure out the problem, so I took all the actual logic out. So in this case, the "Merge" button worked perfectly, but the "Next" button would freeze the whole app, before printing anything out. I tried debugging it, and when I paused the app while frozen it was in the middle of a semaphore wait, which seemed weird because it's a single threaded app, but maybe that has to do with the implementation of AppKit. Finally, I tried removing the key equivalent of the "Merge" button, and sure enough everything worked as expected. Anyone have any ideas?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: NSDocumentController singleton problem, part 2
  • Next by Date: Re: hints for working with text
  • Previous by thread: Re: ANN: Class diagrams of frameworks (free)
  • Next by thread: Re: Bug with two buttons in a view.
  • Index(es):
    • Date
    • Thread