From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 22 21:06:36 2025 Received: (at submit) by debbugs.gnu.org; 23 Mar 2025 01:06:36 +0000 Received: from localhost ([127.0.0.1]:46321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tw9nO-0006ny-4z for submit@debbugs.gnu.org; Sat, 22 Mar 2025 21:06:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49776) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tw9nF-0006lf-Vb for submit@debbugs.gnu.org; Sat, 22 Mar 2025 21:06:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tw9n3-0003tc-11 for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2025 21:06:13 -0400 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tw9mz-0002kG-LC for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2025 21:06:11 -0400 Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-e60ad903382so2244752276.0 for ; Sat, 22 Mar 2025 18:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742691968; x=1743296768; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=VlJcmzWEHUnmfLMhJCscwrqZNfLoZ6POJ/FxsxByy4s=; b=HWUomKSdVg6ZWeS2gN3w0Djg5y4fMbl9IbclyiUy2AOy1IHTRPks+SYo1wimr8kIVn 6xUy/CPhkDtZgKGQtDZr3HhP8cUjtM0LD/tSTyYOJwhQH6sojqvHk7HB+mGbUjVCAdgX Xf70f7yrAo6tmbirC9WWX1Heyp9ZwemA1PhF7BxwDBbCV9xqjHfrcIsrsVQLINIPACyL /gO8HMuRHF0hfsAFyJjRm5Hl+1nhGn6XIe1IIwISuZ/Y9oKIGyPi97NrCDNYoWRAjEee pgY9sRV6hm5ipydbTn5RFAjx9m0tLg4El+tBMyoyNQRCXnMBVh7T10NCKS+aRmGdyD4q 2KZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742691968; x=1743296768; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VlJcmzWEHUnmfLMhJCscwrqZNfLoZ6POJ/FxsxByy4s=; b=FAXowRNq60005Mvar8mUpHXeY+DtbDGPfFYaUcTsMA/i5R5DsAuvyUm/Q6sr+VXKWH uhIu9liexpGvJKIFd9GIuSs0EYaP87zgogsEQHqPG1NXmuMss42WuGixOBCjYrhjF4Et yCLiwKCSoyIsb4ecf/xsKLaVfMCwNhRiqMeFSW4o4BsfI7WIu4tj9Ebjd0xXtJ5C/kB9 HR44dZMX/XDFjy4JIRV44Qz8/FPO7rxOzYD9hg5NGUAYtAMVveCb0chJmbB8Jgen1s3A tGc/a+oBKY5oT41Hq33rN9ZQgBsSnUnbEMewdOE6sm5AIWuIcLC+bunqfcIKCvL6kfeG DkNw== X-Gm-Message-State: AOJu0YyaHuXKFnhUHNOXc56B7KYGrmSx3nE2usqChQAduZ7lHIDUQwsk rTJ9InxxtJPTCsPwMuJeCdhK0xrd4CuJ9MA6FHV2lBxR45I1L8BQOaWsSAxyxeqe9v+E5yD3UtZ SKb4qRzRd2hCl65oZPIrhTMt48u9eH0wF X-Gm-Gg: ASbGnctY0UrUuzna6hGaZAiB6z86qtyYXJVHoonAz3cue9XwpcSfU1BYDt3Mwfmgdt6 egLMeP6hVa68cUIUA8ekGZ50tmT8NOzE07gi5f4YUzsoJuEZ2siAGz9MLyMhk99RatgAMLNIYeK KHms5rcGY/RM8hoSbNX100V/5HQpLbA4196GHgF2LTqDRdehQWa/ALlBFukA== X-Google-Smtp-Source: AGHT+IGkyQXRLgvUJY/c5ceKZwZZ+yfILRJZD+AlvTfPVNj2Q3v7j5vM9sQtCxCcbukAwbixZ+JqkjTO5TejayNiLx4= X-Received: by 2002:a05:6902:1584:b0:e65:c4be:6faf with SMTP id 3f1490d57ef6-e66a4debdb7mr11516845276.21.1742691967811; Sat, 22 Mar 2025 18:06:07 -0700 (PDT) MIME-Version: 1.0 From: Siyuan Chen Date: Sun, 23 Mar 2025 09:05:56 +0800 X-Gm-Features: AQ5f1JooFTkJpOs_w-KbitQtKOweskQgVzwQlgXpysSMGJooJxhIbsM2UrVKPqo Message-ID: Subject: tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000b1c9360630f8171b" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2d; envelope-from=chansey97@gmail.com; helo=mail-yb1-xb2d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Reproduce steps: 1. Emacs -Q 2. M-x eval-expression `(set-face-attribute 'tab-line nil :height 1)` Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (chansey97[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (chansey97[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --000000000000b1c9360630f8171b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=98max-image-size=E2=80=99) [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 --000000000000b1c9360630f8171b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Reproduce steps:

1. Emacs -Q

2. M-x eval-ex= pression `(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* buff= er printed: Invalid image size (see =E2=80=98max-image-size=E2=80=99) [12 t= imes]

Try `(insert (icon-string 'tab-line-clos= e))` 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-l= ine height in Emacs 29.3 and it works very well.=C2=A0

=
This issue only occurs on Emacs 30.1.

Environment

Emacs 30.1 on Windows 10.

Thanks.

Best regards= ,
Siyuan Chen
--000000000000b1c9360630f8171b-- From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 02:41:31 2025 Received: (at 77196) by debbugs.gnu.org; 23 Mar 2025 06:41:31 +0000 Received: from localhost ([127.0.0.1]:47188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twF1W-0004yi-Ir for submit@debbugs.gnu.org; Sun, 23 Mar 2025 02:41:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42976) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twF1U-0004xv-0T for 77196@debbugs.gnu.org; Sun, 23 Mar 2025 02:41:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1twF1O-0001QV-2h; Sun, 23 Mar 2025 02:41:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XfNW8e0QuOvBO2HvP3JveYdquArVlLR1jyn87oC+qTg=; b=YR3yIHtAX8t2QG2bjOSE bNAKfwTrEEcqYlY1edsJZN2UxfF9ftJwT6DljCniSzJeCVp0IPq9owhTcgSmR5ejMB/4CSqMRAvIz J7/4gT9ghNzUJPZ+vLeFCtwEihyktMZyHS+ObzDbXUmOmFO7wj5H8+pz07V+f3MayzJeHW8ecnbX/ n+XOLlDV+G9sZijQFH3eco/DIP187Hh4SHscGagleiz3mRQ2uftMeB9U4YcrtbCE7BUcmktwIjqPZ wbZpHTGVxwjGaLHnKEZ80a9WBMmjA6RvhOkC6HmOTqWpH5hOCxduWrU7bo67vtGkSeFjsuDtRjgDu jwqE/tR1utb02w==; Date: Sun, 23 Mar 2025 08:41:19 +0200 Message-Id: <86msdcgsfk.fsf@gnu.org> From: Eli Zaretskii To: Siyuan Chen , Cecilio Pardo In-Reply-To: (message from Siyuan Chen on Sun, 23 Mar 2025 09:05:56 +0800) Subject: Re: bug#77196: tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77196 Cc: 77196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Siyuan Chen > Date: Sun, 23 Mar 2025 09:05:56 +0800 > > 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. I confirm the issue in Emacs 30. But when I try this in Emacs 31, Emacs crashes. The backtrace is below. Cecilio, could you please look at this? warning: DirectWrite HRESULT failed: (-2147024809) Failed to GetGdiCompatibleGlyphMetrics w32dwrite.c:514: Emacs fatal error: assertion failed: SUCCEEDED (hr) Thread 1 hit Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:425 425 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:425 #1 0x00e769e8 in die (msg=0x10c9935 "SUCCEEDED (hr)", file=0x10c9929 "w32dwrite.c", line=514) at alloc.c:7452 #2 0x00febfc8 in verify_hr (hr=-2147024809, msg=0x10c9984 "Failed to GetGdiCompatibleGlyphMetrics") at w32dwrite.c:514 #3 0x00fec306 in text_extents_internal (dwrite_font_face=0x5f95ef8, font_size=0, code=0xbfd680, nglyphs=1, metrics=0xbfc9a6) at w32dwrite.c:613 #4 0x00fecd0b in w32_dwrite_draw (hdc=0xe30117e7, x=0, y=38, glyphs=0xbfd680, len=1, color=33554432, font=0xaf2e738) at w32dwrite.c:891 #5 0x00fc510b in w32font_draw (s=0xbfd8e0, from=0, to=1, x=0, y=53, with_background=false) at w32font.c:716 #6 0x00fcffaf in w32_draw_glyph_string_foreground (s=0xbfd8e0) at w32term.c:1411 #7 0x00fd4197 in w32_draw_glyph_string (s=0xbfd8e0) at w32term.c:2787 #8 0x00cf23a4 in draw_glyphs (w=0xae7cc58, x=673, row=0xaed5ca8, area=TEXT_AREA, start=0, end=148, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:31581 #9 0x00cf95e2 in gui_write_glyphs (w=0xae7cc58, updated_row=0xaed5ca8, start=0x8fea570, updated_area=TEXT_AREA, len=148) at xdisp.c:33728 #10 0x00c5ec1f in update_text_area (w=0xae7cc58, updated_row=0xaed5ca8, vpos=0, partial_p=0xbfdc6e) at dispnew.c:4735 #11 0x00c5f706 in update_window_line (w=0xae7cc58, vpos=0, mouse_face_overwritten_p=0xbfdca7) at dispnew.c:4993 #12 0x00c5e2b3 in update_window (w=0xae7cc58) at dispnew.c:4533 #13 0x00c5d6a4 in update_window_tree (w=0xae7cc58) at dispnew.c:4224 #14 0x00c5c337 in update_window_frame (f=0xae7ca38) at dispnew.c:3856 #15 0x00c5d21b in update_frame (f=0xae7ca38, inhibit_scrolling=false) at dispnew.c:4108 #16 0x00cc0406 in redisplay_internal () at xdisp.c:17726 #17 0x00cbdb51 in redisplay () at xdisp.c:16802 #18 0x00dc3f17 in read_char (commandflag=1, map=XIL(0xc000000005eb7a50), prev_event=XIL(0), used_mouse_menu=0xbff31f, end_time=0x0) at keyboard.c:2672 #19 0x00ddcd1e in read_key_sequence (keybuf=0xbff5f8, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10848 #20 0x00dbfaf2 in command_loop_1 () at keyboard.c:1424 #21 0x00eb4a4f in internal_condition_case (bfun=0xdbf490 , handlers=XIL(0x90), hfun=0xdbe4e9 ) at eval.c:1620 #22 0x00dbeef5 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1163 #23 0x00eb3bdb in internal_catch (tag=XIL(0x12840), func=0xdbeebe , arg=XIL(0x90)) at eval.c:1300 #24 0x00dbee60 in command_loop () at keyboard.c:1141 #25 0x00dbdf49 in recursive_edit_1 () at keyboard.c:749 #26 0x00dbe1e7 in Frecursive_edit () at keyboard.c:832 #27 0x00db9210 in main (argc=2, argv=0x5e525f8) at emacs.c:2560 Lisp Backtrace: "redisplay_internal (C function)" (0x0) (gdb) From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 14:36:45 2025 Received: (at 77196) by debbugs.gnu.org; 23 Mar 2025 18:36:45 +0000 Received: from localhost ([127.0.0.1]:52605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twQBh-0003Zo-3O for submit@debbugs.gnu.org; Sun, 23 Mar 2025 14:36:45 -0400 Received: from mail.imayhem.com ([82.223.54.191]:48495 helo=zealous-pike.82-223-54-191.plesk.page) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1twQBe-0003Za-H4 for 77196@debbugs.gnu.org; Sun, 23 Mar 2025 14:36:43 -0400 Received: from [192.168.68.104] (224.red-88-21-10.staticip.rima-tde.net [88.21.10.224]) by zealous-pike.82-223-54-191.plesk.page (Postfix) with ESMTPSA id 53380801CB; Sun, 23 Mar 2025 18:36:34 +0000 (UTC) Authentication-Results: zealous-pike.82-223-54-191.plesk.page; spf=pass (sender IP is 88.21.10.224) smtp.mailfrom=cpardo@imayhem.com smtp.helo=[192.168.68.104] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Message-ID: <83e63769-36d6-4da6-b27d-e499c68b251f@imayhem.com> Date: Sun, 23 Mar 2025 19:36:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#77196: tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute To: Eli Zaretskii , Siyuan Chen References: <86msdcgsfk.fsf@gnu.org> Content-Language: es-ES From: Cecilio Pardo In-Reply-To: <86msdcgsfk.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77196 Cc: 77196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 23/03/2025 7:41, Eli Zaretskii wrote: >> Environment >> >> Emacs 30.1 on Windows 10. > > I confirm the issue in Emacs 30. But when I try this in Emacs 31, > Emacs crashes. The backtrace is below. Cecilio, could you please > look at this? Ok. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 27 08:35:54 2025 Received: (at 77196) by debbugs.gnu.org; 27 Mar 2025 12:35:54 +0000 Received: from localhost ([127.0.0.1]:48035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txmSg-0006rl-0X for submit@debbugs.gnu.org; Thu, 27 Mar 2025 08:35:54 -0400 Received: from mail.imayhem.com ([82.223.54.191]:52235 helo=zealous-pike.82-223-54-191.plesk.page) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1txmSc-0006rJ-QU for 77196@debbugs.gnu.org; Thu, 27 Mar 2025 08:35:52 -0400 Received: from [192.168.68.104] (224.red-88-21-10.staticip.rima-tde.net [88.21.10.224]) by zealous-pike.82-223-54-191.plesk.page (Postfix) with ESMTPSA id 5163A801A6; Thu, 27 Mar 2025 12:35:42 +0000 (UTC) Authentication-Results: zealous-pike.82-223-54-191.plesk.page; spf=pass (sender IP is 88.21.10.224) smtp.mailfrom=cpardo@imayhem.com smtp.helo=[192.168.68.104] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Content-Type: multipart/mixed; boundary="------------djcsb2AcbIoV1EyqgIaTlsIP" Message-ID: <3d9a468f-8732-4dde-9ae3-012bcdd54008@imayhem.com> Date: Thu, 27 Mar 2025 13:35:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#77196: tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute From: Cecilio Pardo To: Eli Zaretskii , Siyuan Chen References: <86msdcgsfk.fsf@gnu.org> <83e63769-36d6-4da6-b27d-e499c68b251f@imayhem.com> Content-Language: es-ES In-Reply-To: <83e63769-36d6-4da6-b27d-e499c68b251f@imayhem.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77196 Cc: 77196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------djcsb2AcbIoV1EyqgIaTlsIP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > On 23/03/2025 7:41, Eli Zaretskii wrote: >>> Environment >>> >>> Emacs 30.1 on Windows 10. >> >> I confirm the issue in Emacs 30.  But when I try this in Emacs 31, >> Emacs crashes.  The backtrace is below.  Cecilio, could you please >> look at this? I can reproduce the original bug, but not the crash. Anyway, it seems to happen because some glyph index is outside of the font range, so this patch should fix the crash. --------------djcsb2AcbIoV1EyqgIaTlsIP Content-Type: text/plain; charset=UTF-8; name="0001-w32-fail-gracefully-when-using-invalid-glyphs-on-dwr.patch" Content-Disposition: attachment; filename*0="0001-w32-fail-gracefully-when-using-invalid-glyphs-on-dwr.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA1ZDFlYTdjM2RjZGVhOWQwMDkwMDcxODEzY2M3MzI4MTVjNjg4ZjQ3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBDZWNpbGlvIFBhcmRvIDxjcGFyZG9AaW1heWhlbS5j b20+CkRhdGU6IFRodSwgMjcgTWFyIDIwMjUgMTM6MjY6MDAgKzAxMDAKU3ViamVjdDogW1BB VENIXSA7IHczMjogZmFpbCBncmFjZWZ1bGx5IHdoZW4gdXNpbmcgaW52YWxpZCBnbHlwaHMg b24gZHdyaXRlCgoqIHNyYy93MzJkd3JpdGUuYyAodGV4dF9leHRlbnRzX2ludGVybmFsKTog UmV0dXJuIGZhbHNlIGluc3RlYWQKb2YgY3Jhc2hpbmcgd2l0aCBiYWQgZ2x5cGggaW5kZXhl cy4KLS0tCiBzcmMvdzMyZHdyaXRlLmMgfCA4ICsrKysrKysrCiAxIGZpbGUgY2hhbmdlZCwg OCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvc3JjL3czMmR3cml0ZS5jIGIvc3JjL3cz MmR3cml0ZS5jCmluZGV4IDRkYzY1YjE1ZGI3Li4xMGFmODU0NWExMSAxMDA2NDQKLS0tIGEv c3JjL3czMmR3cml0ZS5jCisrKyBiL3NyYy93MzJkd3JpdGUuYwpAQCAtNjEwLDYgKzYxMCwx NCBAQCB0ZXh0X2V4dGVudHNfaW50ZXJuYWwgKElEV3JpdGVGb250RmFjZSAqZHdyaXRlX2Zv bnRfZmFjZSwKIAkJCQkJCQkgICAgICAgbmdseXBocywKIAkJCQkJCQkgICAgICAgZ21ldHJp Y3MsCiAJCQkJCQkJICAgICAgIGZhbHNlKTsKKworICAvKiBFX0lOVkFMSURBUkcgbWVhbnMg c29tZSBvZiB0aGUgZ2x5cGhzIGluZGV4IGlzIG91dCBvZiBib3VuZHMgZm9yIHRoZSBmb250 LiAgKi8KKyAgaWYgKGhyID09IEVfSU5WQUxJREFSRykKKyAgICB7CisgICAgICBTQUZFX0ZS RUUgKCk7CisgICAgICByZXR1cm4gZmFsc2U7CisgICAgfQorCiAgIGlmICghdmVyaWZ5X2hy IChociwgIkZhaWxlZCB0byBHZXRHZGlDb21wYXRpYmxlR2x5cGhNZXRyaWNzIikpCiAgICAg ewogICAgICAgU0FGRV9GUkVFICgpOwotLSAKMi4zNS4xLndpbmRvd3MuMgoK --------------djcsb2AcbIoV1EyqgIaTlsIP-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 27 09:04:42 2025 Received: (at 77196) by debbugs.gnu.org; 27 Mar 2025 13:04:42 +0000 Received: from localhost ([127.0.0.1]:48140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txmuX-00034o-Ff for submit@debbugs.gnu.org; Thu, 27 Mar 2025 09:04:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48850) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txmuU-00033a-R0 for 77196@debbugs.gnu.org; Thu, 27 Mar 2025 09:04:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1txmuN-00025m-9i; Thu, 27 Mar 2025 09:04:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=R18BUB4M14W9TZlnbiL8kp6Hm9Z4s6A3KiJzVWzmeq4=; b=czlHWHGAM9ngGyyEd2ox 2sDQv+ivztNamra0G6nFydXZqNIQVkmpxDc5YZ3xnB+XPpbUwfolAdeI5tRSeAXl6Whj8Q5eRUJk6 Teut2yc6hNc7X0nWYbt4JeexBg1vZ/zvrFppO8N5YM5C/dovYryxuZrSmCX7gyrAY7YSTurEYaJJP gS/vXcd1Zsfp8O1M9rP/fFmHkBkPdF9FuQ8C8EPeU1kzdjzjXDFyy6ZilLZmAuvrQ5gUiA2s3ZtfY Qm17psdcFk9zPi1qU9dRheDfCjJW6OTSFoEi8p5L3YjFYsHumXMGy22uuw7sqytIE2PjNCeoyapYS DRo9g3qkZru6sg==; Date: Thu, 27 Mar 2025 15:04:20 +0200 Message-Id: <8634eyd3qj.fsf@gnu.org> From: Eli Zaretskii To: Cecilio Pardo In-Reply-To: <3d9a468f-8732-4dde-9ae3-012bcdd54008@imayhem.com> (message from Cecilio Pardo on Thu, 27 Mar 2025 13:35:41 +0100) Subject: Re: bug#77196: tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute References: <86msdcgsfk.fsf@gnu.org> <83e63769-36d6-4da6-b27d-e499c68b251f@imayhem.com> <3d9a468f-8732-4dde-9ae3-012bcdd54008@imayhem.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77196 Cc: chansey97@gmail.com, 77196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 27 Mar 2025 13:35:41 +0100 > From: Cecilio Pardo > Cc: 77196@debbugs.gnu.org > > > On 23/03/2025 7:41, Eli Zaretskii wrote: > >>> Environment > >>> > >>> Emacs 30.1 on Windows 10. > >> > >> I confirm the issue in Emacs 30.  But when I try this in Emacs 31, > >> Emacs crashes.  The backtrace is below.  Cecilio, could you please > >> look at this? > > I can reproduce the original bug, but not the crash. Probably because your Emacs is not built with --enable-checking. > Anyway, it seems to happen because some glyph index is outside of > the font range, so this patch should fix the crash. Thanks, I installed this on the master branch. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 27 22:01:16 2025 Received: (at 77196) by debbugs.gnu.org; 28 Mar 2025 02:01:16 +0000 Received: from localhost ([127.0.0.1]:52039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txz23-0003CW-NE for submit@debbugs.gnu.org; Thu, 27 Mar 2025 22:01:16 -0400 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]:47363) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1txz1y-0003CD-1r for 77196@debbugs.gnu.org; Thu, 27 Mar 2025 22:01:13 -0400 Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-e6582542952so1230188276.3 for <77196@debbugs.gnu.org>; Thu, 27 Mar 2025 19:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743127264; x=1743732064; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=brdQydOiqMuWTDrdAqxSPGsMG99QGyRONyi8pg/EY6U=; b=KYr3VST/GZJlqXHRoOo3tVWphJjau5XLc6oLGSfsWf9+AXhltj75sZui+iKvqIZIaF 2t+F3j0gCNLo0b50Xk2K11VpXntcxl97vU/9J4a5rt75CHk3NlK0hDx7mtTofbMJVz7O tMgo4BwhzPjK1Paw01wWDuYpqVzR2eWMowErTJ/ofBc7sRF31Ie/Y4l+BLv9RRxZVjhw cZ0sEGkqBGjFO4DQ6oYNXhAXqdo4dcS9oFt8QRsnAAEWCCkJzmQtGjHeywkWIl0QVBN/ AWUz1FSoMbawMa/P9gKGQYyzxr+61tuNt/f41utnOMWkr/qJ4p5eRDcg/z9+Ouh0nVax mpCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743127264; x=1743732064; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=brdQydOiqMuWTDrdAqxSPGsMG99QGyRONyi8pg/EY6U=; b=PNj6hSNtU4vK0zNp3sGdYbS+9QhYCIuxwb3toYeN/ooQuowjjPf5n9x/PWd09dvXoj uaUYjfagxQ7zQQ9mzhCd9tZy0MDUSyApdCs5da4zPdgXO0560fT/6xtvHPr1bIqN0VRq g9c7G+gb0ek+6I9kNBD7J44DDwWBeAkKXck+gBC+W3mZy0DPiEnSzhG4+L+pumbs0Zrp nQ/eFhNUteFgYXd6qBKR4ei1SlH98J/xqCZDPAXc5NkatwdCabECsbX1LiH+p/FBf4Yt mNKpJ6axTN+4B7e589mnXC6x4uRrlawainZySUxaktsAdBVNB3IrvTCpKhlFnJJgxbU3 ZISw== X-Forwarded-Encrypted: i=1; AJvYcCUuWlqinps1NmxfJVwwRCyJKgG7Df/6f9vN/OWTNez5KLFc1ZIoSkuLO6S9SIiOQK9u5Mve3w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyJlJOOE7wezVx3PU7VSDnLz2TQaIad/TvuvAtjVP6mo4wmEZ6w NY3LNYzG1uTEA7XFmFhnA/TyOQBZ2vZDuslcWbTkQPjlZRvS9sYOsod//bvyUAm/N6zpc158m0A Kq/Y9uW3O06gKbRBZq2uZBqfDWyL960qX X-Gm-Gg: ASbGncvDegncBCNAv69xx3DIOUJAKrGdgWiSgs4PNxA/uORj632a5MVo9wldM77n/zU fE1I+GxyZIYbdwPlGcSEtoYh4O+V/O2WzaOI6/85aqWsjJkOzlxvAM+cc9GQUKopWDNEQdF1LJO UUuk3YQakvHd33gIs12aWlSIXJngFOsPobsMhM0vykxMQWU1Dlzg11b0uExDf0UlkWLELd X-Google-Smtp-Source: AGHT+IGL9bzsKqqUT/w8EiPwdZW0x94IV5ZgXktAXe2ZRNIaH3SfYkRzndas/FQV/AwJUeJtRAyFsJv3j65hapXEUig= X-Received: by 2002:a05:6902:2843:b0:e63:7555:79c with SMTP id 3f1490d57ef6-e694356153dmr8335462276.18.1743127264183; Thu, 27 Mar 2025 19:01:04 -0700 (PDT) MIME-Version: 1.0 References: <86msdcgsfk.fsf@gnu.org> <83e63769-36d6-4da6-b27d-e499c68b251f@imayhem.com> <3d9a468f-8732-4dde-9ae3-012bcdd54008@imayhem.com> <8634eyd3qj.fsf@gnu.org> In-Reply-To: <8634eyd3qj.fsf@gnu.org> From: Siyuan Chen Date: Fri, 28 Mar 2025 10:01:12 +0800 X-Gm-Features: AQ5f1JpFz15LMl2JERNU6lCQUxTK4nz9LadIe1UL_8grrOMJBqVcA7AAUoThmT4 Message-ID: Subject: Re: bug#77196: tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute To: Eli Zaretskii Content-Type: multipart/alternative; boundary="0000000000006153eb06315d719e" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 77196 Cc: Cecilio Pardo , 77196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --0000000000006153eb06315d719e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Cecili. Eli, could you share some information about the release cycle for Windows binaries? I've been using the pre-built version from ftp.gnu.org (2025-02-23) and was wondering when the next Windows release might be available. Unfortunately I don=E2=80=99t have a Windows build environment s= etup locally, so I rely on the official binaries. Best regards, Siyuan Chen On Thu, Mar 27, 2025 at 9:04=E2=80=AFPM Eli Zaretskii wrote: > > Date: Thu, 27 Mar 2025 13:35:41 +0100 > > From: Cecilio Pardo > > Cc: 77196@debbugs.gnu.org > > > > > On 23/03/2025 7:41, Eli Zaretskii wrote: > > >>> Environment > > >>> > > >>> Emacs 30.1 on Windows 10. > > >> > > >> I confirm the issue in Emacs 30. But when I try this in Emacs 31, > > >> Emacs crashes. The backtrace is below. Cecilio, could you please > > >> look at this? > > > > I can reproduce the original bug, but not the crash. > > Probably because your Emacs is not built with --enable-checking. > > > Anyway, it seems to happen because some glyph index is outside of > > the font range, so this patch should fix the crash. > > Thanks, I installed this on the master branch. > --0000000000006153eb06315d719e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Cecili.

Eli, could you share some information about the r= elease cycle for Windows binaries? I've been using the pre-built versio= n from ftp.gnu.org (2025-02-23) and was = wondering when the next Windows release might be available. Unfortunately I= don=E2=80=99t have a Windows build environment setup locally, so I rely on= the official binaries.

Best regards,
Siyuan Chen

On Thu, Mar 27, 2025 at 9:04=E2=80=AFPM Eli Zaretskii= <eliz@gnu.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">> Date: Thu, 27 Mar 202= 5 13:35:41 +0100
> From: Cecilio Pardo <cpardo@imayhem.com>
> Cc: 77196@d= ebbugs.gnu.org
>
> > On 23/03/2025 7:41, Eli Zaretskii wrote:
> >>> Environment
> >>>
> >>> Emacs 30.1 on Windows 10.
> >>
> >> I confirm the issue in Emacs 30.=C2=A0 But when I try this in= Emacs 31,
> >> Emacs crashes.=C2=A0 The backtrace is below.=C2=A0 Cecilio, c= ould you please
> >> look at this?
>
> I can reproduce the original bug, but not the crash.

Probably because your Emacs is not built with --enable-checking.

> Anyway, it seems to happen because some glyph index is outside of
> the font range, so this patch should fix the crash.

Thanks, I installed this on the master branch.
--0000000000006153eb06315d719e-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 28 03:42:45 2025 Received: (at 77196) by debbugs.gnu.org; 28 Mar 2025 07:42:45 +0000 Received: from localhost ([127.0.0.1]:52670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ty4MX-0002qP-9O for submit@debbugs.gnu.org; Fri, 28 Mar 2025 03:42:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55774) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ty4MU-0002q6-4E for 77196@debbugs.gnu.org; Fri, 28 Mar 2025 03:42:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ty4MO-00046A-Ff; Fri, 28 Mar 2025 03:42:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=HYjJtCvrUBU1IktC0CBIIDuz9qnTaW2EjUX9C0Jc0q0=; b=J7AZH1LSZwKv5XGvOlHa KRemURTMFZZQyWfHwpGXn5gNg+29L/DTYOODL4936mefMVj/K60ioAlffhnyLxRxTt+4a7o9CY72n 0pjncQDYOar2E7Hr/su1M8vps+Y4Zpn5wbHwqJwBeS453Qg/6t7cGrHTJ2LP3zhLMaT02WMB68iji tB1zfm+vwIi6cwmCu33scgIs0M1w6kfnRsxAt9vDaAgM56C3DTlgrbfLMiDnJnn+jHG2wWTJ6Vdxc MZm3RkFZ0n8vlIZo7XpOg3XZYO6TTWVrei4gU4SR0gBHfaQOsscF4j1p8kIYH97E+ljDISXP7qmwl 0C6R0O0WuN7wUg==; Date: Fri, 28 Mar 2025 10:42:33 +0300 Message-Id: <86zfh5a9ee.fsf@gnu.org> From: Eli Zaretskii To: Siyuan Chen , Corwin Brust In-Reply-To: (message from Siyuan Chen on Fri, 28 Mar 2025 10:01:12 +0800) Subject: Re: bug#77196: tab-line-mode 's close-button show white rectangle when adjusting height via set-face-attribute References: <86msdcgsfk.fsf@gnu.org> <83e63769-36d6-4da6-b27d-e499c68b251f@imayhem.com> <3d9a468f-8732-4dde-9ae3-012bcdd54008@imayhem.com> <8634eyd3qj.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77196 Cc: cpardo@imayhem.com, 77196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Siyuan Chen > Date: Fri, 28 Mar 2025 10:01:12 +0800 > Cc: Cecilio Pardo , 77196@debbugs.gnu.org > > Eli, could you share some information about the release cycle for Windows binaries? I've been using the > pre-built version from ftp.gnu.org (2025-02-23) and was wondering when the next Windows release might be > available. Unfortunately I don’t have a Windows build environment setup locally, so I rely on the official > binaries. Adding Corwin, who prepares the Windows binaries. Since you are talking about the master branch, you want another snapshot of Emacs 31, I guess.