Not possible to draw focus ring partway through animating using public API

Originator:jake.petroules
Number:rdar://23700589 Date Originated:30-Nov-2015 10:02 PM
Status:Closed Resolved:
Product:OS X SDK Product Version:
Classification: Reproducible:Always
 
It's currently not possible to draw focus rings in intermediate state using public API. Please make _NSSetFocusRingStyleForTime public API in OS X 10.12.

A constant to indicate the length of the animation (currently 250ms) would be helpful as well.

Comments

Discussed with Apple engineers on-site at WWDC: if the characteristics of the focus ring animation change in the future, the animation duration may be insufficient to render the focus ring, therefore this API cannot reasonably be made public. Qt's use case of rendering animated focus rings without relying on global state is not supported and native controls should be used instead.

By jake.petroules at June 10, 2017, 2:15 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!