Wrong version of Keyboard preference pane opens when remote controlling Touch Bar MacBook Pro

Number:rdar://FB7696500 Date Originated:5/10/2020
Status:Open Resolved:
Product:macOS Product Version:macOS Mojave 10.14.6
Classification:System Preferences Reproducible:Always
On a MacBook Pro with a Touch Bar the Keyboard preference pane now allows the option to switch to F1, F2 etc. keys for all apps, as requested by rdar://32719268. This is good.
The problem is there's a weird behavior when screen sharing is used to open the pane:
1. Control the MacBook Pro using Screen Sharing.
2. Close System Preferences if open.
3. Wait a minute until the Touch Bar goes completely black.
4. Using the screen sharing, open System Preferences, and
5. Switch to the Keyboard pane.

The keyboard pane will be the same as the one on non-Touch Bar apps. But this doesn't actually work on the Touch Bar Mac. For example, if you now use the checkbox "Use F1, F2, etc. keys as standard function keys" to toggle the function keys, it has no effect, even if you use the MacBook Pro keyboard rather than Screen sharing.

This pane is persistent: once the non-Touch Bar pane appears, it will continue to display even if you switch to other panes and back using the Touch Bar MacBook Pro.

Note: It may be that it isn't really Screen Sharing that triggers the problem. It could be that it is related to starting the Keyboard pane when the Touch Bar is black, but it is harder to do that without using Screen Sharing.


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!