From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Ferguson Newsgroups: gmane.emacs.bugs Subject: bug#59285: 29.0.50; Setting default font as frame parameter upsets tab-bar display height Date: Tue, 15 Nov 2022 11:07:26 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000012091705ed848e8d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10856"; mail-complaints-to="usenet@ciao.gmane.io" To: 59285@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 17:09:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ouyUz-0002UN-1a for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 17:09:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouyUp-0003XZ-TQ; Tue, 15 Nov 2022 11:09:11 -0500 Original-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 1ouyUh-0003Vo-87 for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 11:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouyUg-0005nd-Sb for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 11:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ouyUg-00072d-CT for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 11:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: James Ferguson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Nov 2022 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59285 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166852851027025 (code B ref -1); Tue, 15 Nov 2022 16:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Nov 2022 16:08:30 +0000 Original-Received: from localhost ([127.0.0.1]:55095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouyU9-00071n-RS for submit@debbugs.gnu.org; Tue, 15 Nov 2022 11:08:30 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouyU4-00071d-Ax for submit@debbugs.gnu.org; Tue, 15 Nov 2022 11:08:27 -0500 Original-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 1ouyTX-00033N-G6 for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 11:08:06 -0500 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouyTQ-0005fM-Ts for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 11:07:49 -0500 Original-Received: by mail-ej1-f50.google.com with SMTP id bj12so37127093ejb.13 for ; Tue, 15 Nov 2022 08:07:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ayVR+zXKenu8ZRtUFjLBmErl3mk0nzrr8QEBWOhXNN0=; b=nasTYrD0liQ7e1RE5ettrWJm7vzgPPC44u5UeKaQeRgCIJ+Lju0sGmGYSzO4s+yze7 LrnWS4pINI1gcftSxnPdTYlK2i96ckBR/7RYpN39deuaLNMMPTtG4tviTWJUOZ4SygKS GwE2dPe8sNXO8uCQWVUfC6EvzrGI9z39BfFD6usqgyoyKFcHpeqk/XkywLwTQ9mH4p7h J/Ta1pjdD+qU8pnk06HBEW79rNXIKfHCCkDwPqHRfBi7ZFlxCP0gutPdefriVIHacMy7 ivKTCq6whiZ6cguPUCD9ku2NiFpiRZI1dAVU72SDkRU+3Ki7lSuCXlnqvWEaJvfXRNpT wQAA== X-Gm-Message-State: ANoB5pmlr7/8k7G11v8MbgWmfjCABO+Gh/XE6bWm6LJ/ByIs6F3K5Lk+ LpxRGT3CnrcdR2susYPRouw2UwLvDnkw95aZZdTRVdnJfug= X-Google-Smtp-Source: AA0mqf7cuMwc2h3ssqYMmyl6clzfYXHwiNQHCQq/Y+t7t3sOQSNWcRX+TO89q1rfPhnSqLrDWjrrxNqpnAALqZ0QUuo= X-Received: by 2002:a17:906:824e:b0:7ae:77ef:d048 with SMTP id f14-20020a170906824e00b007ae77efd048mr14900426ejx.740.1668528458564; Tue, 15 Nov 2022 08:07:38 -0800 (PST) Received-SPF: pass client-ip=209.85.218.50; envelope-from=wjcferguson@gmail.com; helo=mail-ej1-f50.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247957 Archived-At: --00000000000012091705ed848e8d Content-Type: text/plain; charset="UTF-8" Changing the selected frame 'default face size with "-" results in a tab bar with a lot of vertical space padding, It also doesn't redisplay it properly with redrawing if you move the mouse over the tab bar, or if you switch tabs. As far as I can tell for the life of the frame. This, I believe, is new since 28.x. I see it with `emacs -q`. e.g.: (tab-bar-mode) (set-frame-parameter (selected-frame) 'font (format "%s-18" (face-attribute 'default :family))) Thanks! In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-11-14 built on jf-laptop Repository revision: 723ceaca1d71850aed75431a503f8616cab8c103 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.5 LTS Configured using: 'configure --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.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 show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t tab-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 80043 7606) (symbols 48 7263 0) (strings 32 20000 1793) (string-bytes 1 624836) (vectors 16 15858) (vector-slots 8 330827 12698) (floats 8 39 43) (intervals 56 449 138) (buffers 984 13)) --00000000000012091705ed848e8d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Changing the selected frame 'default face siz= e with "<family>-<size>"
results in a tab bar with= a lot of vertical space padding, =C2=A0It also
doesn't redisplay it= properly with redrawing if you move the mouse over
the tab bar, or if y= ou switch tabs.

As far as I can tell for the life of the frame.=C2= =A0 This, I believe, is new since 28.x.

I see it with `emacs -q`.
e.g.:

(tab-bar-mode)
(set-frame-parameter (selected-frame)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0'font
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(format "%s-18" (face-attribute 'default :fa= mily)))

Thanks!

In GNU Emacs 29.0.50 (build 1, x86= _64-pc-linux-gnu, GTK+ Version
=C2=A03.24.20, cairo version 1.16.0) of 2= 022-11-14 built on jf-laptop
Repository revision: 723ceaca1d71850aed7543= 1a503f8616cab8c103
Repository branch: master
Windowing system distrib= utor 'The X.Org Foundation', version 11.0.12013000
System Descri= ption: Ubuntu 20.04.5 LTS

Configured using:
=C2=A0'configure = --with-native-compilation'

Configured features:
ACL CAIRO DBU= S FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LI= BOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY I= NOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X= 11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
=C2=A0 valu= e of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2= =A0 locale-coding-system: utf-8-unix

Major mode: Lisp Interaction
Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldo= c-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 el= ectric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode= : t
=C2=A0 tab-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-nam= e-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mod= e: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
=C2=A0= indent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-compos= ition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-= mode: t

Load-path shadows:
None found.

Features:
(shado= w sort mail-extr emacsbug message mailcap yank-media puny dired
dired-lo= addefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-con= fig gnus-util text-property-search mm-decode mm-bodies mm-encode
mail-pa= rse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 iet= f-drums mm-util mail-prsvr mail-utils time-date cl-loaddefs
comp comp-cs= tr warnings icons subr-x rx cl-seq cl-macs gv cl-extra
help-mode bytecom= p byte-compile cl-lib rmc iso-transl tooltip cconv
eldoc paren electric = uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-wi= n x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt frin= ge tabulated-list replace newcomment
text-mode lisp-mode prog-mode regis= ter page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scro= ll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame m= inibuffer nadvice seq simple cl-generic
indonesian philippine cham georg= ian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean jap= anese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethio= pic indian cyrillic chinese
composite emoji-zwj charscript charprop case= -table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded = button loaddefs
theme-loaddefs faces cus-face macroexp files window text= -properties
overlay sha1 md5 base64 format env code-pages mule custom wi= dget keymap
hashtable-print-readable backquote threads dbusbind inotify = lcms2
dynamic-setting system-font-setting font-render-setting cairo
m= ove-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
nativ= e-compile emacs)

Memory information:
((conses 16 80043 7606)
= =C2=A0(symbols 48 7263 0)
=C2=A0(strings 32 20000 1793)
=C2=A0(string= -bytes 1 624836)
=C2=A0(vectors 16 15858)
=C2=A0(vector-slots 8 33082= 7 12698)
=C2=A0(floats 8 39 43)
=C2=A0(intervals 56 449 138)
=C2= =A0(buffers 984 13))
--00000000000012091705ed848e8d--