From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33452: Color of tooltip text on macOS with dark mode Date: Fri, 23 Nov 2018 22:13:40 +0200 Message-ID: <83o9afft6z.fsf@gnu.org> References: <20181121.163056.945274585923720498.tkk@misasa.okayama-u.ac.jp> <8336ruixqg.fsf@gnu.org> <20181121.191435.1741777328559031241.tkk@misasa.okayama-u.ac.jp> <831s7eiuvp.fsf@gnu.org> <20181121194458.GA3180@breton.holly.idiocy.org> <83va4of5ni.fsf@gnu.org> <20181123181049.GA24527@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1543003925 9795 195.159.176.226 (23 Nov 2018 20:12:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 20:12:05 +0000 (UTC) Cc: tkk@misasa.okayama-u.ac.jp, 33452@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 23 21:12:00 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQHo0-0002Qm-JY for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Nov 2018 21:12:00 +0100 Original-Received: from localhost ([::1]:54163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQHq6-0008SC-Tz for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Nov 2018 15:14:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQHq1-0008Ry-GN for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 15:14:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQHpy-00050s-DI for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 15:14:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQHpy-000508-83 for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 15:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gQHpy-0007N6-2Z for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 15:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Nov 2018 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33452 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33452-submit@debbugs.gnu.org id=B33452.154300403628312 (code B ref 33452); Fri, 23 Nov 2018 20:14:02 +0000 Original-Received: (at 33452) by debbugs.gnu.org; 23 Nov 2018 20:13:56 +0000 Original-Received: from localhost ([127.0.0.1]:44591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQHpq-0007MY-96 for submit@debbugs.gnu.org; Fri, 23 Nov 2018 15:13:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQHpo-0007ML-Pi for 33452@debbugs.gnu.org; Fri, 23 Nov 2018 15:13:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQHpg-0004bc-Em for 33452@debbugs.gnu.org; Fri, 23 Nov 2018 15:13:47 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQHpf-0004aT-GF; Fri, 23 Nov 2018 15:13:44 -0500 Original-Received: from [176.228.60.248] (port=4550 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gQHpf-0006f0-4B; Fri, 23 Nov 2018 15:13:43 -0500 In-reply-to: <20181123181049.GA24527@breton.holly.idiocy.org> (message from Alan Third on Fri, 23 Nov 2018 18:10:49 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152721 Archived-At: > Date: Fri, 23 Nov 2018 18:10:49 +0000 > From: Alan Third > Cc: tkk@misasa.okayama-u.ac.jp, 33452@debbugs.gnu.org > > > Are you saying that tooltips on NS couldn't use colors before that > > change? Or was that color support broken at some point? If the > > latter, when was it broken and by what changeset? > > Tooltips on NS couldn’t use colours before that change. > > What happened is that tooltips set the background to yellow and left > the foreground (text) to be the system default (black). > > MacOS Mojave has introduced ‘dark mode’, which makes the foreground > colour light, and therefore we’re seeing light text on a yellow > background. > > If you don’t want to apply the above commit the absolute minimum fix > for emacs-26 would be to explicitly set a foreground colour for > tooltips, or not set the background, therefore reverting to the system > default. Sorry, I'm confused: does "system default" mean the tooltips will be without colors, or does it mean they will use the system colors? If the latter, then why did you say in the beginning that "tooltips on NS couldn't use colors"?