GNU bug report logs - #37685
27.0.50; Value of tab-bar-close/new-button calculated incorrectly

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Wed, 9 Oct 2019 20:34:01 UTC

Severity: normal

Found in version 27.0.50

Done: Alex Branham <alex.branham <at> gmail.com>

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 37685 in the body.
You can then email your comments to 37685 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#37685; Package emacs. (Wed, 09 Oct 2019 20:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex Branham <alex.branham <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 09 Oct 2019 20:34:02 GMT) Full text and rfc822 format available.

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

From: Alex Branham <alex.branham <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; Value of tab-bar-close/new-button calculated incorrectly
Date: Wed, 09 Oct 2019 16:33:13 -0400
It appears that the values of both tab-bar-close-button and
tab-bar-new-button get calculated incorrectly somehow. Instead of using
data-directory (which is
"/nix/store/jg7i2xsp7lzas52cc3c6i0fv6hjx8rp1-emacs-27.0.50/share/emacs/27.0.50/etc/"
for me), they use "/build/source/etc/images/tabs/". This results in the
buttons close/open buttons showing and many thousands of messages about
it.

Re-evaluating the default expression once Emacs starts fixes the issue.

Thanks,
Alex

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
Windowing system distributor 'The X.Org Foundation', version 11.0.12005000
System Description: NixOS 19.09.716.88bbb3c8096 (Loris)

Recent messages:
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’

Configured using:
 'configure
 --prefix=/nix/store/jg7i2xsp7lzas52cc3c6i0fv6hjx8rp1-emacs-27.0.50
 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft
 CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37685; Package emacs. (Tue, 15 Oct 2019 19:48:01 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 37685 <at> debbugs.gnu.org
Subject: Re: bug#37685: 27.0.50; Value of tab-bar-close/new-button
 calculated incorrectly
Date: Tue, 15 Oct 2019 22:45:52 +0300
> It appears that the values of both tab-bar-close-button and
> tab-bar-new-button get calculated incorrectly somehow. Instead of using
> data-directory (which is
> "/nix/store/jg7i2xsp7lzas52cc3c6i0fv6hjx8rp1-emacs-27.0.50/share/emacs/27.0.50/etc/"
> for me), they use "/build/source/etc/images/tabs/". This results in the
> buttons close/open buttons showing and many thousands of messages about
> it.
>
> Re-evaluating the default expression once Emacs starts fixes the issue.
>
> Recent messages:
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’ [2 times]
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’

Like Eli suggested to compute the value at run time the first time
the tab bar is activated, this was changed accordingly.
Please see if this is really fixed for you.




Reply sent to Alex Branham <alex.branham <at> gmail.com>:
You have taken responsibility. (Thu, 24 Oct 2019 01:20:02 GMT) Full text and rfc822 format available.

Notification sent to Alex Branham <alex.branham <at> gmail.com>:
bug acknowledged by developer. (Thu, 24 Oct 2019 01:20:02 GMT) Full text and rfc822 format available.

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

From: Alex Branham <alex.branham <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 37685-done <at> debbugs.gnu.org
Subject: Re: bug#37685: 27.0.50; Value of tab-bar-close/new-button
 calculated incorrectly
Date: Wed, 23 Oct 2019 21:19:28 -0400
On Tue 15 Oct 2019 at 22:45, Juri Linkov <juri <at> linkov.net> wrote:

> Like Eli suggested to compute the value at run time the first time
> the tab bar is activated, this was changed accordingly.
> Please see if this is really fixed for you.

Yes, seems to be fixed now. Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 21 Nov 2019 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 155 days ago.

Previous Next


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