From unknown Mon Jun 23 07:48:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45737 <45737@debbugs.gnu.org> To: bug#45737 <45737@debbugs.gnu.org> Subject: Status: 27.1.50; Assertion failure in window_box_height Reply-To: bug#45737 <45737@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:48:39 +0000 retitle 45737 27.1.50; Assertion failure in window_box_height reassign 45737 emacs submitter 45737 martin rudalics severity 45737 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 04:33:11 2021 Received: (at submit) by debbugs.gnu.org; 9 Jan 2021 09:33:11 +0000 Received: from localhost ([127.0.0.1]:51220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyAcR-0005ee-8d for submit@debbugs.gnu.org; Sat, 09 Jan 2021 04:33:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:41772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyAcQ-0005eX-35 for submit@debbugs.gnu.org; Sat, 09 Jan 2021 04:33:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyAcP-0003mT-SL for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2021 04:33:09 -0500 Received: from mout.gmx.net ([212.227.17.21]:37723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyAcM-0008QT-Mf for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2021 04:33:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610184783; bh=5wpzzzwJBuexeylK0ubNWImoAu1rYVAESnruPi1obrU=; h=X-UI-Sender-Class:To:From:Subject:Date; b=b7KfDPWagG/rwLsAMdRQJb/+rn07BqWv6ZbSl1Y15xl8tAfEHNaftosyZHi7Unwwb 4IUoGnGjK0/gyGVBjKTHrdzvF0nQaVAJEHuPUVlw7WKiCRPin7fFz7Pfgw63CyHtJW Hx/SrOiponXq5pGMToonUT1e320s4cHLuoeK3wMQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.231]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mlw7f-1kGYTU0OLj-00izkI for ; Sat, 09 Jan 2021 10:33:03 +0100 To: Bug-Gnu-Emacs From: martin rudalics Subject: 27.1.50; Assertion failure in window_box_height Message-ID: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> Date: Sat, 9 Jan 2021 10:33:02 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------3F442C920321F473A41BAECB" Content-Language: en-US X-Provags-ID: V03:K1:g02EY9G9Cx9QAtuasC5ZQRDkjKkSlB4ucTKPQPQgAl6VQV/D5mC NuNYRe9vSXYlmSpvr1Ctjg7DysUbzXnyqZP6IHxSDOiA45jSfEhiARR65DYv3ku/4NPSiqk RxBPrJu2jHjiF3Va3wiYGxamOnw8/Xh6TTLrPKCYIJ7sJvl5Rp0eqvLJ8auNH2S49L7q5k5 7KRLRs+Agcw3m0oRDTOjw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:mTstSmlJtiU=:7Y5zm//MUMNZ+hUy7GLe6R vV9S5N5kV9y4+5ENM5lDHSUziBNwHBIPRjzGlHyB7cWLVIaO32pO4Nx8Iz9mMXkm+fDtiwUyg /eut8VpMAcZVEjIrcct/2LMwxo9OeEqEfs/EpWGnloGDrn2zMu+dKk4yzNqPP2e/RIE1B11Ux 2CVfzTiQ/3l+uDz5AjGI5IY+3aO30Oh+pelBlar6Tf1mJ6kN0+Ty6IBAkNMIiDK4UcxY/sPf9 DPW/2Jdzh8GObXzSfz4vXiy3f0N5TKUKagkqExIkroQ1uI1jm/b8Ko3Avp94d61KlNJ05rxR5 VGR6GYVR04r/T4mS9mGHFLYhRMCHxrUTRJ0gvw1K1EJQ+XDJBhlPZb2h/MYdEclcOj3dESEP0 uHr502Jw01QBXEtViusq+mJ1N5J9ysaJP3K8Lb4OwMQfZfn7/WxkJJ7HzPq7t21UGEacBUExj MFJ8GI+68omNjUnqYi2Y1vEhkRPOf16m787kYgEkSdk2cDl1jyPoQ3uQ2mlBPx9hUnA0qVqPB GrjzrolWgVbLOKRkz2cC+IODeCRb+3AXmL8nc/vnkDAHBDtcnpSQ9ZDjaReJdeQ9egaiTHFdh ntmmFR8nghE3EzsLwFcgF/Jzhom1Vkxc5trTuxqa2zgY3/Up9XTHf4nlmRpaEIINy0JCoNF6Q pI3DuIdkRMFjQbrJ3X7hHwRv2afR1JQBX0B4+ziTMpISTmgTv5qH/bn6kRR7wBXPlZ7+SpseV rPnpoS+3UCcDgg+9VCa+7VrypnTlnaTkeJvK4bhnDifHU9gpXwewQMpLLUIXZza3NnNeKpjS5 0PRaOAM9XkXayLqapwsjn+StMbZruXNHTa908mOVRRQkbe7rDvbHJ3doV/a5t8j3ODI9E+E32 v9jytNm0aPVJQM/oJUpQ== Received-SPF: pass client-ip=212.227.17.21; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) This is a multi-part message in MIME format. --------------3F442C920321F473A41BAECB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit With the current release version running emacs -Q, evaluating (progn (tab-line-mode) (split-window (split-window) nil t) (split-window) (split-window (split-window nil nil t) nil t)) and resizing the frame by dragging its lower right corner with the mouse to very small rectangles I can trigger the following assertion failure: ../../src/xdisp.c:1170: Emacs fatal error: assertion failed: height >= 0 The backtrace (gdb) bt #0 0x000000000063e1b3 in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at ../../src/emacs.c:379 #1 0x000000000075894d in die (msg=0x96109c "height >= 0", file=0x961032 "../../src/xdisp.c", line=1170) at ../../src/alloc.c:7240 #2 0x0000000000458382 in window_box_height (w=0x149d100) at ../../src/xdisp.c:1170 #3 0x00000000004212da in required_matrix_height (w=0x149d100) at ../../src/dispnew.c:1740 #4 0x000000000042147d in allocate_matrices_for_window_redisplay (w=0x149d100) at ../../src/dispnew.c:1806 #5 0x00000000004220ed in adjust_frame_glyphs_for_window_redisplay (f=0x1422c60) at ../../src/dispnew.c:2123 #6 0x0000000000421547 in adjust_frame_glyphs (f=0x1422c60) at ../../src/dispnew.c:1827 #7 0x00000000004fd9f9 in resize_mini_window_apply (w=0x149d100, delta=-72) at ../../src/window.c:5216 #8 0x00000000004fdb98 in grow_mini_window (w=0x149d100, delta=18) at ../../src/window.c:5251 #9 0x0000000000481952 in resize_mini_window (w=0x149d100, exact_p=false) at ../../src/xdisp.c:11715 #10 0x0000000000480969 in display_echo_area_1 (a1=21614848, a2=XIL(0)) at ../../src/xdisp.c:11557 #11 0x000000000047fc66 in with_echo_area_buffer (w=0x149d100, which=1, fn=0x480933 , a1=21614848, a2=XIL(0)) at ../../src/xdisp.c:11327 #12 0x00000000004808de in display_echo_area (w=0x149d100) at ../../src/xdisp.c:11523 #13 0x0000000000483022 in echo_area_display (update_frame_p=false) at ../../src/xdisp.c:12038 #14 0x00000000004898c5 in redisplay_internal () at ../../src/xdisp.c:15456 #15 0x000000000048b5e3 in redisplay_preserve_echo_area (from_where=11) at ../../src/xdisp.c:16125 #16 0x000000000084ed6c in wait_reading_process_output (time_limit=30, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at ../../src/process.c:5482 #17 0x000000000042cbb2 in sit_for (timeout=make_fixnum(30), reading=true, display_option=1) at ../../src/dispnew.c:6064 #18 0x000000000064fe21 in read_char (commandflag=1, map=XIL(0x10878b3), prev_event=XIL(0), used_mouse_menu=0x7fffffffe10f, end_time=0x0) at ../../src/keyboard.c:2738 #19 0x00000000006621ef in read_key_sequence (keybuf=0x7fffffffe2a0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9554 #20 0x000000000064b774 in command_loop_1 () at ../../src/keyboard.c:1350 #21 0x00000000007afe18 in internal_condition_case (bfun=0x64b2f8 , handlers=XIL(0x90), hfun=0x64a907 ) at ../../src/eval.c:1356 #22 0x000000000064aedd in command_loop_2 (ignore=XIL(0)) at ../../src/keyboard.c:1091 #23 0x00000000007af2cc in internal_catch (tag=XIL(0xd110), func=0x64aeb0 , arg=XIL(0)) at ../../src/eval.c:1117 #24 0x000000000064ae7b in command_loop () at ../../src/keyboard.c:1070 #25 0x000000000064a3ee in recursive_edit_1 () at ../../src/keyboard.c:714 #26 0x000000000064a5e6 in Frecursive_edit () at ../../src/keyboard.c:786 #27 0x00000000006409ef in main (argc=4, argv=0x7fffffffe798) at ../../src/emacs.c:2066 Lisp Backtrace: "redisplay_internal (C function)" (0x0) (gdb) frame 2 #2 0x0000000000458382 in window_box_height (w=0x149d100) at ../../src/xdisp.c:1170 1170 eassert (height >= 0); (gdb) p height $2 = -54 (gdb) indicates that the total height of one of the windows dropped to -54 pixels. The problematic code is in 'window-sizable' which is not prepared for the case that window sizes can drop below their minimum size, something which can happen when a frame with many windows is made very small. I propose the attached patch to fix this. OK to install? martin In GNU Emacs 27.1.90 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2021-01-09 built on restno Repository revision: 74d18957b898e687dcc07ba86559367c8d8ba482 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=no --without-pop --enable-gcc-warnings=warn-only --enable-checking=yes --enable-check-lisp-object-type=yes 'CFLAGS=-O0 -g3 -no-pie'' Configured features: XPM JPEG GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER Important settings: value of $LANG: de_AT.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 43920 4887) (symbols 48 5978 1) (strings 32 15451 1816) (string-bytes 1 503632) (vectors 16 9266) (vector-slots 8 124434 11300) (floats 8 20 29) (intervals 56 195 0) (buffers 1000 11)) --------------3F442C920321F473A41BAECB Content-Type: text/x-patch; name="window-sizable.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="window-sizable.diff" --- a/lisp/window.el +++ b/lisp/window.el @@ -1716,9 +1716,11 @@ window-sizable (setq window (window-normalize-window window)) (cond ((< delta 0) - (max (- (window-min-size window horizontal ignore pixelwise) - (window-size window horizontal pixelwise)) - delta)) + (let ((min-size (window-min-size window horizontal ignore pixelwise)) + (size (window-size window horizontal pixelwise))) + (if (<= size min-size) + 0 + (max (- min-size size) delta)))) ((> delta 0) (if (window-size-fixed-p window horizontal ignore) 0 --------------3F442C920321F473A41BAECB-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 05:00:57 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 10:00:57 +0000 Received: from localhost ([127.0.0.1]:51228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyB3I-0006Jw-QH for submit@debbugs.gnu.org; Sat, 09 Jan 2021 05:00:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyB3G-0006Ji-EQ for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 05:00:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57822) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyB39-00051R-9b; Sat, 09 Jan 2021 05:00:48 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2808 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kyB37-0007jj-Nd; Sat, 09 Jan 2021 05:00:46 -0500 Date: Sat, 09 Jan 2021 12:00:50 +0200 Message-Id: <8335zaig4t.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> (message from martin rudalics on Sat, 9 Jan 2021 10:33:02 +0100) Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45737 Cc: 45737@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: martin rudalics > Date: Sat, 9 Jan 2021 10:33:02 +0100 > > (progn > (tab-line-mode) > (split-window (split-window) nil t) > (split-window) > (split-window (split-window nil nil t) nil t)) > > and resizing the frame by dragging its lower right corner with the mouse > to very small rectangles I can trigger the following assertion failure: > > ../../src/xdisp.c:1170: Emacs fatal error: assertion failed: height >= 0 > [...] > Lisp Backtrace: > "redisplay_internal (C function)" (0x0) > (gdb) frame 2 > #2 0x0000000000458382 in window_box_height (w=0x149d100) at ../../src/xdisp.c:1170 > 1170 eassert (height >= 0); > (gdb) p height > $2 = -54 > (gdb) > > indicates that the total height of one of the windows dropped to -54 > pixels. The problematic code is in 'window-sizable' which is not > prepared for the case that window sizes can drop below their minimum > size, something which can happen when a frame with many windows is made > very small. I propose the attached patch to fix this. OK to install? What happens in the above scenario with your patch installed? From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 05:28:16 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 10:28:16 +0000 Received: from localhost ([127.0.0.1]:51244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyBTk-0006x1-HI for submit@debbugs.gnu.org; Sat, 09 Jan 2021 05:28:16 -0500 Received: from mout.gmx.net ([212.227.15.18]:38249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyBTi-0006wm-US for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 05:28:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610188088; bh=S/x2Tfq/gio6lUYGd95i12jf27OIMZq3Z2sa4MXQlYk=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=MekBL7dJNRd/ODQpDNOJx/eiZnSDsqGS/Yc8P0er8nY0afDYVP+5+pmdzZ0OSlJE1 ADCAzHnazHvAk94W0mvdPxz+29wjqyR9JfYBTxKw/5D+IkycZr+lu6C42ADRRWwnZp SkQRE9aqhyOf0jfENPtopeBg0kueSwxOpUhB3/FM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([46.125.249.80]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M4JqV-1kxuMT0znl-000HgF; Sat, 09 Jan 2021 11:28:08 +0100 Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height To: Eli Zaretskii References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> From: martin rudalics Message-ID: <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> Date: Sat, 9 Jan 2021 11:28:06 +0100 MIME-Version: 1.0 In-Reply-To: <8335zaig4t.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:4bu7ID/n+KwUsz4RvbWgZeABwNye/9KoitVW5KCpnKhANItFEvs RjtpItGQx4ZVN9RL6Sjo4Rds0q86scPtAURxMtz6ixH28UJo3olEd5AnX1bZG+wxAdEzGU1 V0bFNVVSNBra/uliBq39+UjKi0fl8GgVVfUfQVdajYmGmZlOo0c2xzRmBKjtPdOyWoe54tP KtGz0H3/AqOCR9bnRzTiQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:WtbTG1UIrrw=:Q1byvlRibB63seafFx1pyW He5XXHREc+vKWaDSR1GztjieGRTS9VZL4rCbnba8chCSo9O5NDlS/Tr7ODxGDuaIcZY8kr1Ub QL8L9VJvs3R3fUyaD4DzgjSAeQQveurreIEUUPUWhGjt1ZB6WSkUtNdk9GyexBqnr2m1ra7Ft 4ugDygORJwq8/2NPVLvW4mJMcOMDYxD3Ig/j2XsXlXoK/JAtQXAkiThzwgxtQkKcF1GyhK3Op nAXO4R2lpswXQ9Z7QrP6d1aAwubF17ZeGWg+vQHhHitWeaG2kDSwt2syIipEX33zyVa0Itg2X WnrvvqKNprUYwv2KpDii23ODu07Z72uqfZpplzE+udEQiPVp6typPul5UeN/5C/uRVU6d5ZMg VHw/vWrwtfiOHa7HxgDbsFDmupsDfJX16jsDoJHwz3OKJUC8o+uS5W4YfPKUIau9BPZgd1QnJ h9RofWkZXGyuLJXgj5onbOCgj7BfJaBMQAS4MI9Z0YekUK1aTBtaJZnCujOcfOOlqfBuQv7QS addmIBexBs7Os1cO70giKe7f12AmwLRU9V9gvretJwhn9detzCZCGcxCDVds3+yvf8oYXGQTz vw/OcdyxoZH4zp90FlvXW3r4alD15wvjsCxvzFlJ8tgrxcmQFsD0bZZ8AKJMWHTtYR32Du344 ZrmFIij5diDSkgkRU/R/j3PIkfY7yK9lkB6zqF1FadMBWSy+yj5/7yBF7AOEAAFIos2Qn7ixE L1m/BQw14Kp4ieZM1LeMXSg1eAnQdEfnp1KiIGlVjm0KiP/NThBmvAjoMmu++1bw0UGfedtIc q3IO2OzECywILS0tOvJoYHA0sTYz2rVPMcXcyevqDWfxeuUYJz1xrQN6z/wNsLvY9w2t5srfO 3ormzOPhCkP0sgKLKK4A== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45737 Cc: 45737@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.7 (-) > What happens in the above scenario with your patch installed? What Emacs is asking for in the scenario is to enlarge the minibuffer window (for whatever reason, I didn't care). With the patch installed, Emacs won't do that but keep the minibuffer window size alone. Note that for the assertion failure to trigger here, the minibuffer window must not be visible already. All this happens in the limbo where the body size of a window exceeds its total size, that is at least parts of a window are off-screen. Coincidentally, I can't trigger the bug when I enable 'ruler-mode' too so don't ask me what we are really doing here. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 06:43:45 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 11:43:45 +0000 Received: from localhost ([127.0.0.1]:51286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyCen-0000fj-9P for submit@debbugs.gnu.org; Sat, 09 Jan 2021 06:43:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyCel-0000fU-D6 for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 06:43:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58492) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyCef-0003J5-PC; Sat, 09 Jan 2021 06:43:37 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1205 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kyCeb-0007kD-Tz; Sat, 09 Jan 2021 06:43:35 -0500 Date: Sat, 09 Jan 2021 13:43:39 +0200 Message-Id: <83zh1igwt0.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> (message from martin rudalics on Sat, 9 Jan 2021 11:28:06 +0100) Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45737 Cc: 45737@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 (---) > Cc: 45737@debbugs.gnu.org > From: martin rudalics > Date: Sat, 9 Jan 2021 11:28:06 +0100 > > > What happens in the above scenario with your patch installed? > > What Emacs is asking for in the scenario is to enlarge the minibuffer > window (for whatever reason, I didn't care). With the patch installed, > Emacs won't do that but keep the minibuffer window size alone. Note > that for the assertion failure to trigger here, the minibuffer window > must not be visible already. So the frame will resize as result dragging by mouse, but the mini-window will not be visible? If that is the effect, then I'm okay with installing this on emacs-27, but I wonder whether we could do better on master, so as to ensure that at least one screen line of the mini-window is still visible? Btw, is this issue new in Emacs 27, or did it exist before? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 12:07:03 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 17:07:03 +0000 Received: from localhost ([127.0.0.1]:52511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyHhf-0002aS-Dh for submit@debbugs.gnu.org; Sat, 09 Jan 2021 12:07:03 -0500 Received: from mout.gmx.net ([212.227.15.18]:55051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyHhd-0002Zp-0B for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 12:07:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610212014; bh=l61uqUuSxvwp2Wvqu55xXqOM8IAwQD8hCiNae2JubeE=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=g3HRz8Pj2zkdI9f7nVaKNHy7HZBWQLs1EjEHEfYtcr4mBBpkV2pL+E42BgUk0d0S3 YfDzLqnDEJKPyF/Ve5HWVXH4+SY26vJucGP+6BxqFjeOk325rsxMhEypIi3YJffeaU rcO43do+zUaYh5tMqDF0ZPDN1yKUrJW6Q/5vRx/I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([46.125.249.80]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7i8O-1juc3Q1mDK-014oWx; Sat, 09 Jan 2021 18:06:54 +0100 Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height To: Eli Zaretskii References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> <83zh1igwt0.fsf@gnu.org> From: martin rudalics Message-ID: <48610ec3-59d8-575f-4360-598077630266@gmx.at> Date: Sat, 9 Jan 2021 18:06:53 +0100 MIME-Version: 1.0 In-Reply-To: <83zh1igwt0.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:m+3uEHp7Ms3/PcbCvEAQyQIVABMG7a8TOHo3Bl4JPtqcxZogA6V XHG7AR2wmmBr8Q1YMobuT1FgSJT3sJRjDNGaBzdwJndKKT2V/vu0rSsrZHzeDsYkVoLnATk 7C5mrEWaRmnu+zzrtQ39u/WkVfMn9ov4joCkr7m3K59L9shezp+558UurXBMhMdA9Z9gOSD +CrDHB4Y4evRt1/HFc1AQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:PPh9Y1liuLQ=:Sf8GCpio0bg4SkAFy64W3q f/7AKNOfFUqie1FIamkVXjrTCX807WnPpx7sF6JLyxoFjhtvA1V1KhNqSwR6L/yYKlK4OLFx2 N6JNj4qXCYSZw7GUPHoZpSXQ46H0ZnT2NHS971ZuAWshHEDkjTjXGMIR7u21SPIrqKExhQDsW f11CrCntvN4Beoe7xWArkyCrJaPDc3/yLM6d80o406Tt7JQoojwavBWo2K9aDjMIqfZqspmdS zLkGsyMLVVkJoocnWmm6D2peu9B3/qDrfxgLWmQshp/f8dAiv09oePwGD8fI4nZgBRPK8Ang0 bNsf+lP++QItTuYpHZShcHh/VuRozAc8iOpEUjIf6Ln6wdE8H1aiSnW8rQVTDyFLTBQxU69jD d1K3xnqCemBBQWg1txQhkiK29w1RuSrMGFchbNy5SDPYot+xBGza9Tb/HMwUbBGIZbN+0t+ey OSOACyp+qDxIOgRds0hrfXMZ/ZQc64VLSs6xFeDcQFm5PuxgKxQT8yo5BVLV4yC8h+84fdBCk LZ1ILz2evzvmi5IAWXGgfGsewFf2OowbKTKUdJp1tgkE0875X5wmagwNFRQx64OyMbToo1wyB z+guuybjrFgpLIE8kQPXlx/CdNhHrZKFUi3SJWoIk9vCjNe7srHrnrWg4KLRxH8Y9fG4XqXVm lDcCkaP1xM4FtBMtANtWJWoBiVu/JCijqgPomQF/AOxZtrX4nf2j3/D7/m7SK5PrGbNOydVfp NkTAJ7sUHWxUvHXQxiTdHaz90fTNoTAtCJwJeWVa3JTj6IX9xrlRmbSJgSm+9BHtYesDKbefK /3HvCoanwobCDAtgge6+GnsI5MOVe1QcDDb+DUHWwrnw+A6TrxcH9vUv1U1MGqL/JXejeW5sX 3AnYNgiUzMNfJWj17fHA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45737 Cc: 45737@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.7 (-) > So the frame will resize as result dragging by mouse, but the > mini-window will not be visible? Right. With our gtk size hints, for example, we set #define FRAME_TEXT_LINES_TO_PIXEL_HEIGHT(f, lines) \ ((lines) * FRAME_LINE_HEIGHT (f) \ + FRAME_TOP_MARGIN_HEIGHT (f) \ + FRAME_SCROLL_BAR_HEIGHT (f) \ + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) base_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 1) + FRAME_MENUBAR_HEIGHT (f) + FRAME_TOOLBAR_HEIGHT (f); so we pretend that tab, menu and scroll bar, internal border and one text line remain visible. With the earlier recipe I get one text line for the topmost normal window(s). With (progn (ruler-mode) (tab-line-mode) (horizontal-scroll-bar-mode) (split-window (split-window) nil t) (split-window) (split-window (split-window nil nil t) nil t)) the smallest frame shows the normal windows with a tab line and a ruler, apparently stealing the space from the scroll bar. The mini window never shows up in practice. > If that is the effect, then I'm okay with installing this on emacs-27, > but I wonder whether we could do better on master, so as to ensure > that at least one screen line of the mini-window is still visible? That would be better indeed. But I suppose this would require to implement zero-height windows, something you didn't like when we discussed it about a year ago. Alternatively, we (maybe) could set our size hints in a way that all windows can be shown but maybe people wouldn't like it and on Windows there's no way to do that without frames snapping back. > Btw, is this issue new in Emacs 27, or did it exist before? New because tab lines didn't exist before Emacs 27. And I couldn't reproduce it with the ruler - maybe because it never wanted to write something into the echo area. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 12:25:16 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 17:25:16 +0000 Received: from localhost ([127.0.0.1]:52525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyHzI-00031x-JM for submit@debbugs.gnu.org; Sat, 09 Jan 2021 12:25:16 -0500 Received: from mout.gmx.net ([212.227.17.20]:47051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyHzF-00031h-QT for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 12:25:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610213107; bh=z0ENoZnfiXihJlHHV0054C3ttU1iE/whHPl+lgxcCLA=; h=X-UI-Sender-Class:Subject:From:To:Cc:References:Date:In-Reply-To; b=FBcAt0AdM/aKjG0zOWsMo7ngviFxxCq3npAhvfF/AaVCJ7+YeLzss/yCGvZBbH2Nb +wl6OGq8xQzFkeNvfXmqJtdT69+CHKXpX1tvqBNm/ycDh6FW2X6UnhJV7cFIFZpYcS emqsto7TcqOsQIpozC32xhdIaY0SEleHWer3ZZeg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([46.125.249.80]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MPXdC-1kcmor1Un4-00Majd; Sat, 09 Jan 2021 18:25:07 +0100 Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height From: martin rudalics To: Eli Zaretskii References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> <83zh1igwt0.fsf@gnu.org> <48610ec3-59d8-575f-4360-598077630266@gmx.at> Message-ID: <75cee40d-d2c1-06db-9240-5fd9f9f2c96e@gmx.at> Date: Sat, 9 Jan 2021 18:25:06 +0100 MIME-Version: 1.0 In-Reply-To: <48610ec3-59d8-575f-4360-598077630266@gmx.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:734iaY8ENuYl1UsFE6aNTSo/hCDrEP8GssRkdRxXwztW46ErV0o bDmcT4C/4h/eCRdUmQqqX2JkaHmng9iiRoSZ+yhYtFGy5YcsOis6OhI6hYTam/3O8LqpON3 SaFEWDl0omUCizSzI2dmrr6ukb1uQ/Eido24cDrRRV1gYCQ4TZjEYGo+XWbvs3RfdaxxXvk pBnMfw07S1gMURWWfn9BA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:IeMIC2FeoZM=:gzdEoiuUNOQL7kcAOq8OoJ UwmV6lqy9nNGH9U8ivQ5Qr5ICJSxAot9gWe6d/MWCZsrIXLfq64kBepaFOGkMKd+IfCOKpkS7 1PYOgX6d0FNV6YiHp2/UlOKmh+l6HDhGUPq6yC0okPgW7gpdYpUVuxkrdfO6j2zQExlhbx+kA +1++q7iEnYrvs13MyUJ4yuY2B2X6F7iyPO/nhgdQzHmvKRaF7f1/DIcIt0sURqpJenP3u7DdT I/i6w75jvDn4+QHAijlPQBhf3/hyAMOydTBeFi1F87rUS3rhflleIOGS2UVpdH8FFVXFUP17O rB7hQ5lU/R+Lnogt4HQ6y9+1nFIat1ScQVTIBJx7bEUFiOTzJyNnfNMKr2sPH+rU9ejjafUlw 5jeckkzNSKxwFPrwCPoZRai5rPJMM0f9hmbOK3q7QD+kiMHY52hqMx7cigcYwC7a6MRXti/zd 7KTfbQJZ8I+RlinNOQUMUPFt2RbVK0QevP5Z5DxyMQLTsv48Fnpk/4Ao5a+qKQIneDBNCRICM BHlzSBZAEO+3UZ7EyWXj9n0Mi5+TMrSXfNSHVI8iRgBgtEOZ5BvWTgVt1gUhtcu0fFIuS/l7j gHsCrnjbdrrKO1wP0VufRLHTWx/doxCTOp1YrNj4N1K775koh8oyASH4mFdVFZCA91hN2bWGV H6uOR0QN1ZadpKMHl+q3FCzIXu02/yCtTLUm/IOymvv1KoZCh3eQYKs98GpgfayOs22T315KX eA7Ddgnpj+kRsYY+uypKKLj6+MnaGma5uWCXSNArZGnlpF607oOemona6fFzt2TyBqgaUy9TK vtEHJ05rCHyUJT19h1RLIQEvazo9ocFZuEh/9k6LqD6pDeVXFdYXIul7u7u9jddITdOids2Oz uQuJli0bXk5+DMpcxnew== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45737 Cc: 45737@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.7 (-) > base_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 1) > + FRAME_MENUBAR_HEIGHT (f) + FRAME_TOOLBAR_HEIGHT (f); > > so we pretend that tab, menu and scroll bar, internal border and one Obviously, I should have written "tool, menu and scroll bar" here. We could include the tab bar as well but so far I didn't experiment with it. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 12:49:58 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 17:49:58 +0000 Received: from localhost ([127.0.0.1]:52579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyINB-0003fA-Ll for submit@debbugs.gnu.org; Sat, 09 Jan 2021 12:49:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyINA-0003em-Ct for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 12:49:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34626) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyIN4-0002PW-VJ; Sat, 09 Jan 2021 12:49:50 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4716 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kyIN4-0001y2-Af; Sat, 09 Jan 2021 12:49:50 -0500 Date: Sat, 09 Jan 2021 19:49:56 +0200 Message-Id: <83pn2egfuj.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <48610ec3-59d8-575f-4360-598077630266@gmx.at> (message from martin rudalics on Sat, 9 Jan 2021 18:06:53 +0100) Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> <83zh1igwt0.fsf@gnu.org> <48610ec3-59d8-575f-4360-598077630266@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45737 Cc: 45737@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 (---) > Cc: 45737@debbugs.gnu.org > From: martin rudalics > Date: Sat, 9 Jan 2021 18:06:53 +0100 > > > If that is the effect, then I'm okay with installing this on emacs-27, > > but I wonder whether we could do better on master, so as to ensure > > that at least one screen line of the mini-window is still visible? > > That would be better indeed. But I suppose this would require to > implement zero-height windows, something you didn't like when we > discussed it about a year ago. Can you help me understand why this would mean zero-height windows? What I had in mind was to constraint resizing so that the min-window is always at least 1-line high. In any case, please install the fix on emacs-27. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 13:48:43 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 18:48:43 +0000 Received: from localhost ([127.0.0.1]:52616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyJI3-000566-4K for submit@debbugs.gnu.org; Sat, 09 Jan 2021 13:48:43 -0500 Received: from mout.gmx.net ([212.227.17.22]:38889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyJI0-00055s-1u for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 13:48:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610218113; bh=WpQQoDhFr7EOvHAdHlfRwAI6U5DCvPgpPVeCrHdYGyM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=fdwM7iIOOgGybUmDkhUho0MMrBu4UHRzgs3a7KcwzbGzABmpDHDQWmcMK0aexnYS9 FQPB+tPY/zAj/mWdEGORs6ZU8WkuhvsbAM1NsUtns4/MssGskc0wYE03YVfhwdUAY9 g/CnPJlWqcwzVzW/9DcdrF/hqIFnHJ96yvwpaO7c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([46.125.249.80]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MO9z7-1kZkAC1PSr-00OZ8f; Sat, 09 Jan 2021 19:48:33 +0100 Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height To: Eli Zaretskii References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> <83zh1igwt0.fsf@gnu.org> <48610ec3-59d8-575f-4360-598077630266@gmx.at> <83pn2egfuj.fsf@gnu.org> From: martin rudalics Message-ID: <9f684e70-0195-e2a1-fccf-bed4b2e8ad1c@gmx.at> Date: Sat, 9 Jan 2021 19:48:32 +0100 MIME-Version: 1.0 In-Reply-To: <83pn2egfuj.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Q54Y1uF3IqIlE6SlgZm1D8vPQShiIl55vLz2qCuzAM2r9iy5B0u xlbCl+HBbSiQlL6Ugn0kWgkT5ItD2ffuF6v/UkNtFwlLUjXkD3xMctFydr1RvE/97aws67M NQDpxw1FRcZxyzkfWRgvCZXC/kJ4xB+Qu9D33ZdI8Q/sxAFxp1BhbxSVzmSUavE8ly4VuC2 E/5uBMzvwX/tHGM97rIxw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:7YdXK2/Fi+A=:5M7VNG2WjMW/elLXO7VOgh oFtAY+snOE9cd/1/dMAY/AJeBNtOlDuz2+h+kJyxZN+pyQhDlKFjX7+ocfsq38wXXvhyGTd2P mkfnSIzNrYD3/PPJR1rcx+mXdIVD6kDXBW2WRO3d+vDwaQ9FUX8A2S1YGGVbnGYPGPtcs/fvW dV3pNWsHnm0mdSOrsM6rQzZK/5Av/GvFYPQibEuypi8VEAGHXqkssS03KaULg2c4FKzQ9GuN2 XhHQVMdaC51V2zn23lshKrM6TT2nPPgX0E6lumMSvRzezEx1bqYERlIYwnhqe7N0S4XrjU0zE NSBQ12YyC7zjJqtO8DEUJ2V019BjOeslRU56ZUsHR0aGPqc/lQ20MLEK+CSEHYnrq9Fvx5isL sD8qpGuYWpcw8L+7pX2H0st8RmldARMArCD308e2WDAbQ79tZlTbWLPLCLCjyC7zLoaM8bEJN ArLWG2vIuZw2b5AaVAKXwJfYALBlk/+Dv3X/RTsA3Cawdo9jjqmElo7XojQo5YTBN0mGOgz+J fse9AO5ff3SHaoUicxIQN9Edo5bGYWPcD5/YDmC0PoChe8Dkh579T5EuXdK8r0tREIzQg1MTt 0Xq+ujk5gpDULSRqakPx6b7gc17ipefJ7AAKN46EbrIvvnESI9ogwIMY+RBeEc1S8/dxl2yGm aXHCc9VDTu5Nhqpa70X+glEF2WsoAD8T8MRy6txUci4Octv2Kk1rC0oIT+Vr38QURYdL6cwGo um18tIwLQEYtmmbdW/qCmDk4L7GR6cpFK0VRppMewG6Qbw/WHNB5r1dr4KF8Oep5YN0uFod0v vFOa3ksa4zf/nAxT4XBbhzn+BYcDG67ET/Pl0EnYAsauXW2iGYu5o9tYtT0brBR+7aED8V8M/ JhFnwurTcOTd7aN7cWig== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45737 Cc: 45737@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.7 (-) >> That would be better indeed. But I suppose this would require to >> implement zero-height windows, something you didn't like when we >> discussed it about a year ago. > > Can you help me understand why this would mean zero-height windows? > What I had in mind was to constraint resizing so that the min-window > is always at least 1-line high. It depends on what you have in mind with "constraint resizing". - We can constraint the frame size via size hints so a user can never make the frame smaller than needed to make all its windows visible. Whether this works with other window managers depends to be seen, is not general practice with practically all other applications I know of and, as mentioned before, doesn't really work on Windows. And we would have to make it optional to avoid offending any users. - Otherwise we'd have to constraint the size of normal windows since 'window-safe-min-height' gives them always at least one frame line and if a frame contains two windows above each other and shrinks to two lines, these lines will be filled up already. So the display engine and/or the windows code would have to "skip" these windows to allow showing the minibuffer window instead. For me skipping a window is tantamount to giving it "zero height". But maybe I'm missing something. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 14:02:12 2021 Received: (at 45737) by debbugs.gnu.org; 9 Jan 2021 19:02:12 +0000 Received: from localhost ([127.0.0.1]:52620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyJV6-0005QA-CS for submit@debbugs.gnu.org; Sat, 09 Jan 2021 14:02:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyJV4-0005Pw-0z for 45737@debbugs.gnu.org; Sat, 09 Jan 2021 14:02:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35913) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyJUy-0002VV-Q4; Sat, 09 Jan 2021 14:02:04 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1359 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kyJUy-0003ma-5D; Sat, 09 Jan 2021 14:02:04 -0500 Date: Sat, 09 Jan 2021 21:02:09 +0200 Message-Id: <83h7nqgci6.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <9f684e70-0195-e2a1-fccf-bed4b2e8ad1c@gmx.at> (message from martin rudalics on Sat, 9 Jan 2021 19:48:32 +0100) Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> <83zh1igwt0.fsf@gnu.org> <48610ec3-59d8-575f-4360-598077630266@gmx.at> <83pn2egfuj.fsf@gnu.org> <9f684e70-0195-e2a1-fccf-bed4b2e8ad1c@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45737 Cc: 45737@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 (---) > Cc: 45737@debbugs.gnu.org > From: martin rudalics > Date: Sat, 9 Jan 2021 19:48:32 +0100 > > > Can you help me understand why this would mean zero-height windows? > > What I had in mind was to constraint resizing so that the min-window > > is always at least 1-line high. > > It depends on what you have in mind with "constraint resizing". > > - We can constraint the frame size via size hints so a user can never > make the frame smaller than needed to make all its windows visible. > Whether this works with other window managers depends to be seen, is > not general practice with practically all other applications I know of > and, as mentioned before, doesn't really work on Windows. And we > would have to make it optional to avoid offending any users. > > - Otherwise we'd have to constraint the size of normal windows since > 'window-safe-min-height' gives them always at least one frame line and > if a frame contains two windows above each other and shrinks to two > lines, these lines will be filled up already. So the display engine > and/or the windows code would have to "skip" these windows to allow > showing the minibuffer window instead. For me skipping a window is > tantamount to giving it "zero height". I'm okay with the frame resetting itself back to a safe size, if the WM cannot be hinted. The main point is not to reduce the frame size to dimensions that don't allow us to keep a mini-window of at least one line. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 10 11:06:46 2021 Received: (at 45737) by debbugs.gnu.org; 10 Jan 2021 16:06:46 +0000 Received: from localhost ([127.0.0.1]:54755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kydEs-0004NA-0J for submit@debbugs.gnu.org; Sun, 10 Jan 2021 11:06:46 -0500 Received: from mout.gmx.net ([212.227.15.15]:34181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kydEq-0004Mr-5p for 45737@debbugs.gnu.org; Sun, 10 Jan 2021 11:06:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610294798; bh=IIttsJXBVFUuv0EtaoOmEJI2NigemMz5OniwafEvQ/0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=iKO2YGw2zs+xDIDQ1rM+f6uKUwkx1GQHewFjLSNpaVZOdpIZoaTBlRQ4lG2hGDXnM adC4lkxNjFNZFmNaDrdh9uqk0PMEoT9ScSYPXzkaNfoKFmBC5pvAmXICA2KQRBDmjU QdarnCRj3TRoaz5w/bNqQyk5GwviV58dOOjjJ8iI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.93]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MXp5a-1kSn3K1RGu-00YDuV; Sun, 10 Jan 2021 17:06:38 +0100 Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height To: Eli Zaretskii References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <8335zaig4t.fsf@gnu.org> <8d247025-528e-00a7-b92a-c59c775f6968@gmx.at> <83zh1igwt0.fsf@gnu.org> <48610ec3-59d8-575f-4360-598077630266@gmx.at> <83pn2egfuj.fsf@gnu.org> <9f684e70-0195-e2a1-fccf-bed4b2e8ad1c@gmx.at> <83h7nqgci6.fsf@gnu.org> From: martin rudalics Message-ID: Date: Sun, 10 Jan 2021 17:06:36 +0100 MIME-Version: 1.0 In-Reply-To: <83h7nqgci6.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:610dsOCfvyby3VPdaEkP7G/39DOIwxzxBAVTAO6LRHC/EGPqDRl r1zQwhEFJkBz1fSoVeYrEgwaXiDx0LvBo3AbtWR8FqC9eYUlXpMbq3UepX4f4ZUCT3zFbRm 6/ZICUVJJD27e6g3eVarMNQxNbIvStXnaGKKh5iRYSBydd/MMt5lZruU7UDsNv+FvZth07V 9b8np2OTWv3662QUxMAPQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rj2vXFg5frs=:cB4C6QqL4wMXJIEMHbhLVk bz9giCB6m632bZmQMeL08U69uqrqqbkxxExSMvjS5m0nMkjSIospBYJyCx0AtmbjZwb2VAy5y TSL6U2/UTnybZdpQfEDrt/1tevFnsbivzCaVXkM4Y2/jI/kjm1PZbZdZtCwvQ3rJOJQryBvq5 0cfauqu4jNzCf0SpSjKjfNDsmvbPr8x2QopaK427pqKkZE8QG9Bm4G23ZQSFNQP5Lw7VI1nyx zfQDA2nY4yvost2sHTYnNBWHAXztP0uGBbfXnyBusQFQvPb9R7whqJBVMOJLVFVh4aihJkDTH 2UgYNEoxJoGq2T0mH3bXeBdN98GUfajUrOuKOH4JwyXGlMijyFKVgm3wJwHOzH9BcK6g7aqL2 P3mX9rZEpk+ZUAaNBPIkiwiCHgy5eZBeYSTdJXASzR34OKRP+EMSq3zPguk2iab9qONL4yHlP kMy2Qg0mrFpdlOw7iWeEgvQ0HFjJigAdN7hjiQoQQtCwtn45DuOBnC+xz16k5cutdPkDvbJCF ZJNc+Zj54/WpGcl5+2Pcmqn8diNDhxg9u1zS4j1uEj+IIi8VLI6Fokb7W5k4uOP7scY3TeWIq 9ijE2YBvhW6uQIADHsovsXfn8DbcY/vq1S2t/A3XN1kq89P1Yv7t5s6rClcU6De7YZLOY82eS c37MpDkd9XO0ikNBnmUR9RW6/4V+3TAwlMRS9X7i1+NIpeincZP8lWPIGWs97K1TkYIUJS3Tm Y3FGERl2RQkdvmGQfsRiVAulV3jQzD8m+dovLSzwCcQgDa+67xV9xMy3WI3tiFSdzrA1LDLhZ EJN4Kvl9zv8c3P8kLzNSC0mFKyly+OvQQACPjeFPozmvuRr8Mv2CDuYXzzp5L2HglRMw86FEO +ZT8xpa1gOY6sFFALjNOviWQWmadyzrrmFx5qahKk= X-Spam-Score: 2.8 (++) 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: > I'm okay with the frame resetting itself back to a safe size, if the > WM cannot be hinted. We can try to hint the WM and even make that the default. But this won't help people on tiling WMs or embedded frames. And a WM that cannot be hinted might just size the frame back as well. We had som [...] Content analysis details: (2.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [212.95.5.93 listed in zen.spamhaus.org] -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.15 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 45737 Cc: 45737@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.8 (+) 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: > I'm okay with the frame resetting itself back to a safe size, if the > WM cannot be hinted. We can try to hint the WM and even make that the default. But this won't help people on tiling WMs or embedded frames. And a WM that cannot be hinted might just size the frame back as well. We had som [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [212.95.5.93 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.15 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders > I'm okay with the frame resetting itself back to a safe size, if the > WM cannot be hinted. We can try to hint the WM and even make that the default. But this won't help people on tiling WMs or embedded frames. And a WM that cannot be hinted might just size the frame back as well. We had some issues with GNOME shell in the past and with pgtk/Wayland most of our desires to control screen layout will have become a pipe dream anyway. > The main point is not to reduce the frame size > to dimensions that don't allow us to keep a mini-window of at least > one line. It depends on what _we_ want to show above that line. The screen estate within the native frame rectangle is and will stay with us forever. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 20:05:15 2022 Received: (at 45737) by debbugs.gnu.org; 7 Feb 2022 01:05:15 +0000 Received: from localhost ([127.0.0.1]:40409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGsSx-0004ST-C3 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:05:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGsSw-0004S9-2K for 45737@debbugs.gnu.org; Sun, 06 Feb 2022 20:05:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GQa55cLQsRGGDzSuMrXRxVL0XmM6bTSznaAAfw+GM+g=; b=jG/WZIGxfAJoe8na0wMSAb2bDT V34oqPsbnrW8Og6C3xxazUW8o75pO386jgOstguWfycbRSxrMbx0/CtFESLzlgWjyox/Bq00pBjcu V3Z7h9RghxDZDBMKhNE7UBMzP6/N2jV+nPf0YXb+gRRA+bHhJzXZbksVH/AVUSdIOCAY=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGsSm-0001tq-1A; Mon, 07 Feb 2022 02:05:07 +0100 From: Lars Ingebrigtsen To: martin rudalics Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> X-Now-Playing: Patrick Cowley & Jorge Socarras's _Catholic_: "I Never Want To Fall In Love" Date: Mon, 07 Feb 2022 02:05:03 +0100 In-Reply-To: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> (martin rudalics's message of "Sat, 9 Jan 2021 10:33:02 +0100") Message-ID: <878run1o74.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: martin rudalics writes: > With the current release version running emacs -Q, evaluating > > (progn > (tab-line-mode) > (split-window (split-window) nil t) > (split-window) > (split-window (split-window nil nil t) nil t)) > > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45737 Cc: 45737@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 (---) martin rudalics writes: > With the current release version running emacs -Q, evaluating > > (progn > (tab-line-mode) > (split-window (split-window) nil t) > (split-window) > (split-window (split-window nil nil t) nil t)) > > and resizing the frame by dragging its lower right corner with the mouse > to very small rectangles I can trigger the following assertion failure: > > ../../src/xdisp.c:1170: Emacs fatal error: assertion failed: height >= 0 I'm unable to reproduce this in Emacs 29 on Debian/bookworm. But it does spew out a lot of these warnings: emacs:609181): Gtk-CRITICAL **: 02:04:10.529: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 07 03:57:42 2022 Received: (at 45737) by debbugs.gnu.org; 7 Feb 2022 08:57:42 +0000 Received: from localhost ([127.0.0.1]:40887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGzq9-0000KZ-Tt for submit@debbugs.gnu.org; Mon, 07 Feb 2022 03:57:42 -0500 Received: from mout.gmx.net ([212.227.15.19]:42779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGzq6-0000KG-AD; Mon, 07 Feb 2022 03:57:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644224252; bh=n7kUZN69hYdd1YDR589nnZ1k8vc7CMayhq2sLapV3Yc=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=Bpe+ferTFlaZvANzRAsTq/CNpbQSfmGKnVVnmmvkewJyMpEwbZKEXNs0cL5XW7fi6 aIdI6UBrDI/30YKyWVyWZnWgY2MnMzM3RmYfqU2S3o+QviGHpbd8rFlcAu6JEtd+m2 po+IxZlCkb3O9I1716IFxWaRcCmIuuKeahuggy8g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([213.142.97.131]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M9nxn-1nMkb03WRZ-005pd5; Mon, 07 Feb 2022 09:57:31 +0100 Message-ID: <01a12c74-7a9f-bd81-fbdc-e9bf5755c2c6@gmx.at> Date: Mon, 7 Feb 2022 09:57:28 +0100 MIME-Version: 1.0 Subject: Re: bug#45737: 27.1.50; Assertion failure in window_box_height Content-Language: en-US To: Lars Ingebrigtsen References: <2fcf7ec9-8b85-e81f-6ae3-9d08abda8b3f@gmx.at> <878run1o74.fsf@gnus.org> From: martin rudalics In-Reply-To: <878run1o74.fsf@gnus.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Z31J4guabp5sGBmDMcSklj8RvYoKKzIdjsmWHi9jXlEgINfl99J 1ud1rSR+7ZotdCZi9K6to1U2dJEgu4CMU+jmDYSnMqutM4LKE7vOkkDg+KfMQbzA4iFKnu0 KLJfP/U4b3MQkxJ/AgdEXKc9YSu0ZaYwCK7X5THPChphkffTfi56Q2bUooSxFoB/1VszLt6 9is1mUW4G1YypoI3oQMWg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:mkQTEqqunoY=:FrV4/vg9sKPtHqFWmKy2I1 fc/yLJuXwqKPgczPrD9tq8Cujlyb3HIivzQ4mg3IYTBR1zRJYcjuoTToopK4tOWtnEDzzUCnx xyf0yLM5QwehhBmadetkuSnZqYubkbMOzVwlUbZmJww/uVaCaTy+kOmpn/CC3B36INcP359S8 hITTlfj0aCCoB1C3XxiOeBuGy4CF7oORKbNGdihDSrORlydFVUXHCuy+W9bNIk/x6dWuO8n/W jIfuUWIbJsBZGw5kYa6KUX45LY85wmRQdeCCad7kLntDiYzKIj6r1rchm/TeGxTZB2AREthzT CFnHHC7szc19aTzsOykK77GcYIby9RHI54R+6NuBtz2CXAF7T2eIEOe9L7wYTJ3A9UEnoN8u9 DHHYrX7jpqjjw12kIwXAD9aNzcndtdroQkAFM75G8RWbsIV/VpTyAo3PFLiByX6eG2Ui1XT/P lLutKcyeBIVYXpQlrtbT5KHAkc7Fyz3nhmq2reSClye+tzV/GtpMZu+V1fN2PEAThpIkygJc1 GY7+jadqlTh7tmYTtl256W181p79010D+9p9eDDOGmhdU7+xW5jxh4rQaYJVhRTRXUMlu4Pyg yYI7daf9/95zfgmczXsUeqTWh7JJ3RRrncOGyg1tvSklRWH+VcqB/zleEWu6hynJe+JjOXTNF +KPEmB1Tc2xur/gzGjHAnPzNXYFjii7QZyb7P+9a36WRgMC7Iere7jEeRx5JzWEI11u5IsLsY GSX54m1jU5xkJQHJmQx22QHcXo1b2Qf5tULRVCeVuoLNpRTU6zzf6qv6SQSnDVz/UYM2cvLGw 2KjaWFy3sbBboCvWKMxSkbnBAgl+0XkjAzDojbdvvj5WVs/Sl3fIk+6ntP/M4vJbVEFO5FM+Z hiSoJDU0F7CtR/OZyXxa95k7a/VlcafBM77LMW3k5zy/fLeC03Ah5vAuv+Vtx+BxgEU80zJNm dYlIMYCAN3QIrzfYi3H7woyP23VVex5JMPV+mWwBR3meNL7ei5YzNAO2VfNmNI97DYzzstGM4 pBSPzVslowEa1RQb4XS1bzR1VuqaBmkNSG3QXXLOimoSgxqv3WqEF5vXHryXMGKG2XXCvH4nh 0ssGa1Gw76vEzw= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45737 Cc: 45737@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.7 (-) close 45737 27.1 quit > I'm unable to reproduce this in Emacs 29 on Debian/bookworm. Good. I (hopefully) closed that bug now. > But it > does spew out a lot of these warnings: > > emacs:609181): Gtk-CRITICAL **: 02:04:10.529: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed That's either the GTK menu or tool bar. Try with them disabled. martin From unknown Mon Jun 23 07:48:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 07 Mar 2022 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator