Re: All buttons lost focus ring on Yosemite
Re: All buttons lost focus ring on Yosemite
- Subject: Re: All buttons lost focus ring on Yosemite
- From: Corbin Dunn <email@hidden>
- Date: Mon, 16 Feb 2015 16:04:31 -0800
> On Feb 12, 2015, at 6:40 AM, Dragan Milić <email@hidden> 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.
Sounds like you have added a bad category on NSButton, NSButtonCell, NSControl or NSView that overrides some default behavior.
corbin
>
> — Dragan
> _______________________________________________
>
> 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
_______________________________________________
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