Subject: bug#40541: 28.0.50; macOS: Cursor color doesn't restore after the frame changes from unfocused to focused

From: Alan Third <[email-masked]>
Date: Fri, 22 Apr 2022 20:53:14 +0100

Stefan Kangas <[email-masked]> writes:

> HaiJun Zhang <[email-masked]> writes:
>> Reproducing steps:
>> 1. emacs -Q
>> 2. M-x blink-cursor-mode
>> 3. menu-->Options-->Set default font-->choose a bigger size
>> 4. M-x load-theme light-blue
>> 5. switch to other app and then back to Emacs
>> 6. The color of the cursor doesn't restore.
>> 7. After a mouse click in the emacs frame, the cursor color restores.
>>
>> In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G12034))
>> of 2020-04-10 built on jundeMac
>> Repository revision: e18c24b35a7cf9bb1b91288b706fa448ed28a7c2
>> Repository branch: master
>> Windowing system distributor 'Apple', version 10.3.1561
>> System Description:  Mac OS X 10.13.6
>
> I can reproduce this.
>
> In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin17.7.0, NS
> appkit-1561.61 Version 10.13.6 (Build 17G10021))
>  of 2020-04-25 built on Stefans-MacBook-Pro.local
> Repository revision: a98c8f5a098cf646c282be67cce9fb7999d353d7
> Repository branch: master
> Windowing system distributor 'Apple', version 10.3.1561
> System Description:  Mac OS X 10.13.6

Interesting that you both appear to be using 10.13. I made some changes
that affect 10.13 rendering on the master branch recently. Can one of
you please check whether you still see this on master?
-- 
Alan Third