We develop a custom authorization plugin for the macOS login screen. We use the SFAuthorizationPluginView class to display our plugin's UI overriding the default macOS login screen, as it is done in the NameAndPassword example (https://github.com/antoinebell/NameAndPassword).
We experience a heavy lag - both when using our plugin or NameAndPassword plugin - on the UI when we click any of the user's avatar and there is an animation in which the avatar slides into the middle of the screen, and a custom password box is appearing. This lag also comes when we go back to where the user can select another users. (deactivation of the plugin). We use of course the "List of users" login window display mode.
Here I want to emphasise the issue with the NameAndPassword example, because the source code is provided for it and it is a small example created originally by Apple.
Are you aware of any bugs in the SFAuthorizationPluginView class which blocks the main/UI thread in the above mentioned cases?
We use macOS Monterey 12.6, tried both on M1 and Intel based chipset. We tried the NameAndPassword plugin both on physical machine and Parallel's VM.
- Original behaviour: https://www.icloud.com/iclouddrive/0b2Z87L3GrTDouwg4pjj0vL2g#original_macOS_login_screen_animation
- The laggy behaviour with the NameAndPassword plugin: https://www.icloud.com/iclouddrive/0d2_GASYjDGaClboAxXjejH6g#NameAndPassword_lag
Thanks for the help in advance!