I expect that it's some other problem that is somehow impacting UIButton. Given that every button loses focus, perhaps an errant pointer is overwriting one or more of UIButton's class variables.
Your application runs on OS X, so you should be able to test it under Valgrind (http://www.valgrind.org/). It's available from MacPorts so you shouldn't need to build it yourself. Also try creating a minimal test case. There is some possibility that the problem will go away while you're doing so; if that happens, the fault may lie in whatever code you just removed. Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Thu, Feb 12, 2015 at 6:40 AM, Dragan Milić <mi...@mac.com> wrote: > I’m dealing with a rather strange issue. When running my application on > Yosemite, all buttons lose focus ring (when having focus). When I say all, I > mean absolutely ALL buttons, even those in standard alert panels and sheets. > I can move focus between buttons using keyboard without any problem (provided > that pressing tab is set to move focus between “All controls” in the Keyboard > System Preferences), it’s just that a button currently having focus doesn’t > draw its focus ring. Focus rings of text fields and lists are drawn as > expected. > > When running exactly the same application bundle under Mavericks (and > earlier), everything seems fine, button focusses are shown as expected. I’d > really appreciate any help in solving this mysterious problem. Thanks in > advance. > > — Dragan > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com > > This email sent to mdcrawf...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com