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

Previous Next

Package: emacs;

Reported by: HaiJun Zhang <netjune <at> outlook.com>

Date: Fri, 10 Apr 2020 15:37:01 UTC

Severity: minor

Found in version 28.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40541 in the body.
You can then email your comments to 40541 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#40541; Package emacs. (Fri, 10 Apr 2020 15:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to HaiJun Zhang <netjune <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 10 Apr 2020 15:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: HaiJun Zhang <netjune <at> outlook.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; macOS: Cursor color doesn't restore after the frame
 changes from unfocused to focused
Date: Fri, 10 Apr 2020 23:36:30 +0800
[Message part 1 (text/plain, inline)]
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

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Blink-Cursor mode disabled
funcall-interactively: End of buffer [7 times]

Configured using:
'configure --with-mac --with-modules --disable-acl --without-makeinfo
'CFLAGS=-O2 -g0''

Configured features:
RSVG GLIB NOTIFY KQUEUE GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
 value of $LANG: zh_CN.UTF-8
 locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
 tooltip-mode: t
 global-eldoc-mode: t
 eldoc-mode: t
 electric-indent-mode: t
 mouse-wheel-mode: t
 tool-bar-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 auto-composition-mode: t
 auto-encryption-mode: t
 auto-compression-mode: t
 line-number-mode: t
 transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search seq
byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x
cl-loaddefs cl-lib cus-start cus-load light-blue-theme china-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core term/tty-colors frame
minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite charscript charprop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 52410 13532)
(symbols 48 6858 1)
(strings 32 17060 1106)
(string-bytes 1 524325)
(vectors 16 9827)
(vector-slots 8 183804 8540)
(floats 8 20 46)
(intervals 56 183 0)
(buffers 992 10))
[Message part 2 (text/html, inline)]

Severity set to 'minor' from 'normal' Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 15 Apr 2020 16:00:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40541; Package emacs. (Sat, 25 Apr 2020 14:14:02 GMT) Full text and rfc822 format available.

Message #10 received at 40541 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: HaiJun Zhang <netjune <at> outlook.com>
Cc: 40541 <at> debbugs.gnu.org
Subject: Re: bug#40541: 28.0.50; macOS: Cursor color doesn't restore after the
 frame changes from unfocused to focused
Date: Sat, 25 Apr 2020 16:12:47 +0200
HaiJun Zhang <netjune <at> outlook.com> 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

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40541; Package emacs. (Fri, 22 Apr 2022 19:54:02 GMT) Full text and rfc822 format available.

Message #13 received at 40541 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: HaiJun Zhang <netjune <at> outlook.com>, 40541 <at> debbugs.gnu.org
Subject: Re: bug#40541: 28.0.50; macOS: Cursor color doesn't restore after
 the frame changes from unfocused to focused
Date: Fri, 22 Apr 2022 20:53:14 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> HaiJun Zhang <netjune <at> outlook.com> 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




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Mon, 16 May 2022 09:25:01 GMT) Full text and rfc822 format available.

Notification sent to HaiJun Zhang <netjune <at> outlook.com>:
bug acknowledged by developer. (Mon, 16 May 2022 09:25:01 GMT) Full text and rfc822 format available.

Message #18 received at 40541-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Alan Third <alan <at> idiocy.org>
Cc: HaiJun Zhang <netjune <at> outlook.com>, 40541-done <at> debbugs.gnu.org
Subject: Re: bug#40541: 28.0.50; macOS: Cursor color doesn't restore after the
 frame changes from unfocused to focused
Date: Mon, 16 May 2022 11:24:33 +0200
Alan Third <alan <at> idiocy.org> writes:

> 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?

I can no longer reproduce this on current master.  Since there has
been no other reply within 3 weeks, I'm going to assume this is fixed
and close this bug.  If anyone is still seeing this, please report
back and we can reopen the bug.  Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Jun 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.