GNU bug report logs - #59285
29.0.50; Setting default font as frame parameter upsets tab-bar display height

Previous Next

Package: emacs;

Reported by: James Ferguson <james <at> faff.org>

Date: Tue, 15 Nov 2022 16:09:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59285 in the body.
You can then email your comments to 59285 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#59285; Package emacs. (Tue, 15 Nov 2022 16:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Ferguson <james <at> faff.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 15 Nov 2022 16:09:02 GMT) Full text and rfc822 format available.

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

From: James Ferguson <james <at> faff.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Setting default font as frame parameter upsets tab-bar
 display height
Date: Tue, 15 Nov 2022 11:07:26 -0500
[Message part 1 (text/plain, inline)]
Changing the selected frame 'default face size with "<family>-<size>"
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))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59285; Package emacs. (Tue, 15 Nov 2022 23:03:02 GMT) Full text and rfc822 format available.

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

From: Gabriel <gabriel376 <at> hotmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#59285: 29.0.50; Setting default font as frame parameter
 upsets tab-bar display height
Date: Tue, 15 Nov 2022 20:01:58 -0300
James Ferguson <james <at> faff.org> writes:
>
> Changing the selected frame 'default face size with "<family>-<size>"
> 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!
>

Related (and potential duplicated) to bug#59271.

---
Gabriel




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59285; Package emacs. (Wed, 16 Nov 2022 03:21:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Gabriel <gabriel376 <at> hotmail.com>
Cc: 59285 <at> debbugs.gnu.org
Subject: Re: bug#59285: 29.0.50; Setting default font as frame parameter
 upsets tab-bar display height
Date: Wed, 16 Nov 2022 11:19:52 +0800
Gabriel <gabriel376 <at> hotmail.com> writes:

> James Ferguson <james <at> faff.org> writes:
>>
>> Changing the selected frame 'default face size with "<family>-<size>"
>> 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!
>>
>
> Related (and potential duplicated) to bug#59271.
>
> ---
> Gabriel

Indeed.  Garbiel, James, could you please see if the bug has now been
fixed on master?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59285; Package emacs. (Sat, 19 Nov 2022 06:04:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Gabriel <gabriel376 <at> hotmail.com>
Cc: 59285 <at> debbugs.gnu.org
Subject: Re: bug#59285: 29.0.50; Setting default font as frame parameter
 upsets tab-bar display height
Date: Sat, 19 Nov 2022 14:02:49 +0800
Po Lu <luangruo <at> yahoo.com> writes:

> Gabriel <gabriel376 <at> hotmail.com> writes:
>
>> James Ferguson <james <at> faff.org> writes:
>>>
>>> Changing the selected frame 'default face size with "<family>-<size>"
>>> 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!
>>>
>>
>> Related (and potential duplicated) to bug#59271.
>>
>> ---
>> Gabriel
>
> Indeed.  Garbiel, James, could you please see if the bug has now been
> fixed on master?

Ping! Could you please answer that?





bug Marked as fixed in versions 29.1. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 24 Nov 2022 18:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59285; Package emacs. (Tue, 24 Jan 2023 21:14:01 GMT) Full text and rfc822 format available.

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

From: James Ferguson <james <at> faff.org>
To: 59285 <at> debbugs.gnu.org
Subject: Appears to be fixed in current emacs-29 branch
Date: Tue, 24 Jan 2023 16:12:34 -0500
[Message part 1 (text/plain, inline)]
I built with current emacs-29 branch (bc78285e686) and this issue appears
to have been fixed.

Thank you!
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59285; Package emacs. (Tue, 24 Jan 2023 21:17:02 GMT) Full text and rfc822 format available.

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

From: James Ferguson <james <at> faff.org>
To: 59285 <at> debbugs.gnu.org
Subject: Re: Appears to be fixed in current emacs-29 branch
Date: Tue, 24 Jan 2023 16:16:33 -0500
[Message part 1 (text/plain, inline)]
Apologies, looking online there was chatter about this bug, but for some
reason I don't receive it.

On Tue, Jan 24, 2023 at 4:12 PM James Ferguson <james <at> faff.org> wrote:

>
> I built with current emacs-29 branch (bc78285e686) and this issue appears
> to have been fixed.
>
> Thank you!
>
>
>
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Wed, 25 Jan 2023 03:29:02 GMT) Full text and rfc822 format available.

Notification sent to James Ferguson <james <at> faff.org>:
bug acknowledged by developer. (Wed, 25 Jan 2023 03:29:02 GMT) Full text and rfc822 format available.

Message #27 received at 59285-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: James Ferguson <james <at> faff.org>
Cc: 59285-done <at> debbugs.gnu.org
Subject: Re: bug#59285: Appears to be fixed in current emacs-29 branch
Date: Wed, 25 Jan 2023 05:28:47 +0200
> From: James Ferguson <james <at> faff.org>
> Date: Tue, 24 Jan 2023 16:12:34 -0500
> 
> I built with current emacs-29 branch (bc78285e686) and this issue appears to have been fixed.

Thanks, so I'm closing this bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 Feb 2023 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 62 days ago.

Previous Next


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