GNU bug report logs - #77196
tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute

Previous Next

Package: emacs;

Reported by: Siyuan Chen <chansey97 <at> gmail.com>

Date: Sun, 23 Mar 2025 01:07:01 UTC

Severity: normal

Full log


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

From: Siyuan Chen <chansey97 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: tab-line-mode 's close-button show white rectangle when adjusting
 height via set-face-attribute
Date: Sun, 23 Mar 2025 09:05:56 +0800
[Message part 1 (text/plain, inline)]
Reproduce steps:

1. Emacs -Q

2. M-x eval-expression `(set-face-attribute 'tab-line nil :height 1)`

3. M-x tab-line-mode

The tab-line-mode is enabled but the close-button shows a white rectangle.

Also the *Messages* buffer printed: Invalid image size (see
‘max-image-size’) [12 times]

Try `(insert (icon-string 'tab-line-close))` in a buffer and Evaluate Last
S-expression, it can show the icon 'x'.

Background:

Emacs' default tab-line is too small, I used the method to adjust tab-line
height in Emacs 29.3 and it works very well.

This issue only occurs on Emacs 30.1.

Environment

Emacs 30.1 on Windows 10.

Thanks.

Best regards,
Siyuan Chen
[Message part 2 (text/html, inline)]

This bug report was last modified 83 days ago.

Previous Next


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