Image cursors on external displays broken by 10.13.4

Originator:gnachman
Number:rdar://39386636 Date Originated:4/12/2018
Status: Resolved:dup of 38782414
Product:AppKit Product Version:
Classification: Reproducible:Sometimes
 
Users report the mouse cursor is invisible on external displays after upgrading to macOS 10.13.4. Adjusting the size of the cursor in system prefs works around the problem. Here are the reports:

https://gitlab.com/gnachman/iterm2/issues/6608
https://gitlab.com/gnachman/iterm2/issues/6623
https://gitlab.com/gnachman/iterm2/issues/6614

I have not been able to reproduce this myself. It appears that only cursors created with [NSCursor initWithImage:hotSpot:] are affected.

Steps to Reproduce:
1. Install iTerm2
2. Place window on external display
3. Move cursor to external display

Expected Results:
Mouse cursor is visible

Actual Results:
Mouse cursor not visible

Version/Build:
10.13.4

Configuration:

Comments

Closed as dup of 38782414

Also confirm this behavior in Sublime Text 3 where the cursor disappears. The temporary fix was increasing the cursor size from the default (smallest) in System Preferences => Accessibility => Display. As a side effect, that "hack" breaks the crosshair showing when taking screenshots using COMMAND + Shift + 4.

I'd like to revert back to using the default (smallest) cursor size and have this issue fixed.


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!