GNU bug report logs - #58862
29.0.50; tab-bar-mode doesn't display after display-time-mode with format option

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Sat, 29 Oct 2022 07:24:01 UTC

Severity: minor

Tags: notabug

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

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 58862 in the body.
You can then email your comments to 58862 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 juri <at> linkov.net, bug-gnu-emacs <at> gnu.org:
bug#58862; Package emacs. (Sat, 29 Oct 2022 07:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefankangas <at> gmail.com>:
New bug report received and forwarded. Copy sent to juri <at> linkov.net, bug-gnu-emacs <at> gnu.org. (Sat, 29 Oct 2022 07:24:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; tab-bar-mode doesn't display after display-time-mode with
 format option
Date: Sat, 29 Oct 2022 00:23:00 -0700
Severity: minor

In emacs -Q:

    0. Evaluate
           (setq tab-bar-format '(tab-bar-format-global))
    1. M-x tab-bar-mode RET
    2. M-x display-time-mode RET

The tab bar is not visible.  I expect that it is, just as when I do
this:

    (progn
       (setq tab-bar-format '(tab-bar-format-global))
       (tab-bar-mode 1)
       (display-time-mode 1))

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.34, cairo version 1.16.0) of 2022-10-25 built on joffe
Repository revision: 9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Debian GNU/Linux bookworm/sid

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 SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58862; Package emacs. (Sat, 29 Oct 2022 17:58:02 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 58862 <at> debbugs.gnu.org
Subject: Re: bug#58862: 29.0.50; tab-bar-mode doesn't display after
 display-time-mode with format option
Date: Sat, 29 Oct 2022 20:54:11 +0300
> Severity: minor
>
> In emacs -Q:
>
>     0. Evaluate
>            (setq tab-bar-format '(tab-bar-format-global))
>     1. M-x tab-bar-mode RET
>     2. M-x display-time-mode RET
>
> The tab bar is not visible.  I expect that it is, just as when I do
> this:
>
>     (progn
>        (setq tab-bar-format '(tab-bar-format-global))
>        (tab-bar-mode 1)
>        (display-time-mode 1))

The tab bar is not visible because an empty tab bar can't be displayed:

  (tab-bar-format-list tab-bar-format)
  => ((global menu-item "" ignore))

So it works fine when you change the initialization order to:

    0. Evaluate
           (setq tab-bar-format '(tab-bar-format-global))
    1. M-x display-time-mode RET
    2. M-x tab-bar-mode RET




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58862; Package emacs. (Sat, 12 Nov 2022 20:35:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 58862 <at> debbugs.gnu.org
Subject: Re: bug#58862: 29.0.50; tab-bar-mode doesn't display after
 display-time-mode with format option
Date: Sat, 12 Nov 2022 12:33:55 -0800
Juri Linkov <juri <at> linkov.net> writes:

>> Severity: minor
>>
>> In emacs -Q:
>>
>>     0. Evaluate
>>            (setq tab-bar-format '(tab-bar-format-global))
>>     1. M-x tab-bar-mode RET
>>     2. M-x display-time-mode RET
>>
>> The tab bar is not visible.  I expect that it is, just as when I do
>> this:
>>
>>     (progn
>>        (setq tab-bar-format '(tab-bar-format-global))
>>        (tab-bar-mode 1)
>>        (display-time-mode 1))
>
> The tab bar is not visible because an empty tab bar can't be displayed:
>
>   (tab-bar-format-list tab-bar-format)
>   => ((global menu-item "" ignore))
>
> So it works fine when you change the initialization order to:
>
>     0. Evaluate
>            (setq tab-bar-format '(tab-bar-format-global))
>     1. M-x display-time-mode RET
>     2. M-x tab-bar-mode RET

Sorry for the late reply here.  I guess what surprised me is that the
order mattered here.  If you don't think this is a bug, we can close
this.  Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58862; Package emacs. (Sun, 13 Nov 2022 18:25:02 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 58862 <at> debbugs.gnu.org
Subject: Re: bug#58862: 29.0.50; tab-bar-mode doesn't display after
 display-time-mode with format option
Date: Sun, 13 Nov 2022 20:23:55 +0200
tags 58862 notabug
close 58862 29.0.50
thanks

>> The tab bar is not visible because an empty tab bar can't be displayed:
>>
>>   (tab-bar-format-list tab-bar-format)
>>   => ((global menu-item "" ignore))
>>
>> So it works fine when you change the initialization order to:
>>
>>     0. Evaluate
>>            (setq tab-bar-format '(tab-bar-format-global))
>>     1. M-x display-time-mode RET
>>     2. M-x tab-bar-mode RET
>
> Sorry for the late reply here.  I guess what surprised me is that the
> order mattered here.  If you don't think this is a bug, we can close
> this.  Thanks.

I really have no idea how to display an empty tab-bar.
Fortunately, this is not a frequent problem, just need
to be careful not to enable tab-bar-mode when
the tab-bar is empty.  But when someone will get
an idea how to handle it, this could be reopened.




Added tag(s) notabug. Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Sun, 13 Nov 2022 18:25:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 29.0.50, send any further explanations to 58862 <at> debbugs.gnu.org and Stefan Kangas <stefankangas <at> gmail.com> Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Sun, 13 Nov 2022 18:25:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58862; Package emacs. (Sun, 13 Nov 2022 18:39:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 58862 <at> debbugs.gnu.org
Subject: Re: bug#58862: 29.0.50; tab-bar-mode doesn't display after
 display-time-mode with format option
Date: Sun, 13 Nov 2022 10:30:49 -0800
Juri Linkov <juri <at> linkov.net> writes:

> I really have no idea how to display an empty tab-bar.
> Fortunately, this is not a frequent problem, just need
> to be careful not to enable tab-bar-mode when
> the tab-bar is empty.  But when someone will get
> an idea how to handle it, this could be reopened.

Sounds good to me, and thanks for taking the time to explain things.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 12 Dec 2022 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 251 days ago.

Previous Next


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