macOS 10.12.2 Screen Sharing Slave Does Not Release Modifier Keys

Originator:ferguspa
Number:rdar://29781795 Date Originated:12/21/2016
Status:Open Resolved:
Product:macOS + SDK Product Version:10.12.2 16C67
Classification:Something not on this list Reproducible:Always
 
Area:
Something not on this list

Summary:
When controlling a Mac running macOS 10.12.2 via Screen Sharing, if a keyboard command is used (e.g. Cmd-Shift-C in the Finder to go to "Computer") the modifier keys sometimes are not released.  This is visible through:

- Double-clicking a folder in the Finder, it opens in a new Tab rather than the same window
- Dragging a file into Terminal, it causes Terminal to "cd" to the parent directory of the file rather than entering the path into Terminal

Steps to Reproduce:
1. Update a Mac to macOS 10.12.2
2. Control that Mac from another Mac
3. Use keyboard commands
4. Do other things, such as double-clicking a folder in the Finder

Expected Results:
Other activities (such as double-clicking a folder in the Finder) execute normally.

Actual Results:
Other activities (such as double-clicking a folder in the Finder) open new Tabs rather than continuing to open folders in the same window.

Version:
Host:
macOS 10.12.2 16C67, MacBook Pro (Retina, 13-inch, Late 2013)

Targets/Slaves:
MacPro5,1 10.12.2 (16C67)
Fusion 8.5 Pro 10.12.2 (16C67)
MBP (15-inch, Mid 2012) 10.2.1 (16B2657)
Fusion 8.5 Pro 10.12.1 (16B2555)

Notes:
This appears to be a regression when the target/slave Mac upgrades from macOS 10.12.1 to 10.12.2.  A physical Mac and a VM both running macOS 10.12.1 do not exhibit this issue.

Configuration:
VMware Fusion with macOS 10.12.2

Attachments:

Comments


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!