GNU bug report logs - #1032
foreground-color in default-frame-alist affects tooltips, while background-color does not

Previous Next

Packages: w32, emacs;

Reported by: "Juanma Barranquero" <lekktu <at> gmail.com>

Date: Fri, 26 Sep 2008 08:50:03 UTC

Severity: normal

Found in version 23.0.60

Done: "Juanma Barranquero" <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: "Juanma Barranquero" <lekktu <at> gmail.com>
Subject: bug#1032 closed by "Juanma Barranquero" <lekktu <at> gmail.com> (Re: 
 bug#1032: foreground-color in default-frame-alist affects tooltips, while 
 background-color does not)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs,w32 package:

#1032: foreground-color in default-frame-alist affects tooltips, while background-color does not

It has been closed by "Juanma Barranquero" <lekktu <at> gmail.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact "Juanma Barranquero" <lekktu <at> gmail.com> by
replying to this email.


-- 
1032: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1032
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "martin rudalics" <rudalics <at> gmx.at>
Cc: 1032-done <at> debbugs.gnu.org
Subject: Re: bug#1032: foreground-color in default-frame-alist affects tooltips, while background-color does not
Date: Thu, 30 Oct 2008 02:43:27 +0100
Martin, I've fixed #1032 with a variant of the patch you sent.

The other issue, about tooltip-show modifying
tooltip-frame-parameters, seems deliberate. tooltip.el defines a
function tooltip-set-param with the explicit intent of modifying its
argument alist, and `tooltip-show' copies `tooltip-frame-parameters'
with copy-sequence, instead of copy-alist, and then uses
`tooltip-set-param' on it.

I can only imagine the idea was that `tooltip-frame-parameters' should
not contain misleading (fore|back)ground-color entries that weren't
really applied while creating the tooltip. Still, it seems weird to
modify under-the-hood a customizable variable.

             Juanma

[Message part 3 (message/rfc822, inline)]
From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: foreground-color in default-frame-alist affects tooltips, while background-color does not
Date: Fri, 26 Sep 2008 10:40:10 +0200
Package: emacs,w32
Version: 23.0.60

default-frame-alist affects tooltips on Windows, but the background of
the tooltip window is not affected.

With

(setq default-frame-alist
      '((background-mode  . dark)
	(background-color . "black")
	(foreground-color . "white")))

the tooltip text foreground is white, but the background is still the
default lightyellow, so the text is not visible.




This bug report was last modified 16 years and 268 days ago.

Previous Next


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