GNU bug report logs - #23246
25.0.92; Local face-remapping-alist doesn't affect tooltips

Previous Next

Package: emacs;

Reported by: Artur Malabarba <bruce.connor.am <at> gmail.com>

Date: Fri, 8 Apr 2016 19:23:01 UTC

Severity: wishlist

Found in version 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 23246 <at> debbugs.gnu.org
Subject: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips
Date: Fri, 08 Apr 2016 22:34:50 +0300
> From: Artur Malabarba <bruce.connor.am <at> gmail.com>
> Date: Fri, 08 Apr 2016 16:22:11 -0300
> 
>     (setq x-gtk-use-system-tooltips nil)
>     (add-text-properties (point-min) (point-max) '(help-echo "OKOK"))
>     (face-remap-add-relative 'tooltip '((:foreground "blue")))
> 
> 4. Tooltips displayed are NOT blue.

Why did you expect them to be blue?  Tooltips are special frames that
don't display any buffer, whereas face-remap-add-relative is
documented as affecting only the buffer that was current at the time
it was called.

More generally, face remapping is designed to allow buffer-local
changes to faces.  If you want to affect the way tooltips are
displayed, you should instead customize the 'tooltip' face or the
parameters in 'tooltip-frame-parameters'.

IOW, I don't see any bug here.




This bug report was last modified 9 years and 98 days ago.

Previous Next


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