GNU bug report logs - #73671
30.0.60; Make window-tool-bar-mode not show modifier-bar-mode

Previous Next

Package: emacs;

Reported by: Anush V <j <at> gnu.org>

Date: Mon, 7 Oct 2024 03:45:01 UTC

Severity: minor

Found in version 30.0.60

To reply to this bug, email your comments to 73671 AT debbugs.gnu.org.

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#73671; Package emacs. (Mon, 07 Oct 2024 03:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anush V <j <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 07 Oct 2024 03:45:02 GMT) Full text and rfc822 format available.

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

From: Anush V <j <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode
Date: Sun, 06 Oct 2024 16:06:03 -0400
Dear maintainers,

I just discovered the 'global-window-tool-bar-mode'. This allows us to
have a frame-wide 'tool-bar-mode' and buffer-specific tool bars.

This is nice, except when combined with 'modifier-bar-mode', in that scenario,
the modifier bar is shown on all windows along with frame-wide toolbar.  Is
there a way to make the modifier-bar appear only in the frame-wide toolbar?


This is the configuration I used,

    (tool-bar-mode)
    (modifier-bar-mode 1)
    (setq tool-bar-always-show-default t)
    (global-window-tool-bar-mode 1)


Thank you for your time.

* * *

In GNU Emacs 30.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo
version 1.18.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101012
System Description: Guix System

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash
 SHELL=/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash --prefix=/gnu/store/hicgrdcmv63hq1lgpdrvd6nmn4cvz3mi-emacs-next-30.0.60-1.4e22ef8 --enable-fast-install --with-cairo --with-modules --with-native-compilation=aot --disable-build-details'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

--
Regards,
Anush V




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73671; Package emacs. (Mon, 07 Oct 2024 11:30:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Anush V <j <at> gnu.org>, Po Lu <luangruo <at> yahoo.com>
Cc: 73671 <at> debbugs.gnu.org
Subject: Re: bug#73671: 30.0.60;
 Make window-tool-bar-mode not show modifier-bar-mode
Date: Mon, 07 Oct 2024 14:29:24 +0300
> From: Anush V <j <at> gnu.org>
> Date: Sun, 06 Oct 2024 16:06:03 -0400
> 
> I just discovered the 'global-window-tool-bar-mode'. This allows us to
> have a frame-wide 'tool-bar-mode' and buffer-specific tool bars.
> 
> This is nice, except when combined with 'modifier-bar-mode', in that scenario,
> the modifier bar is shown on all windows along with frame-wide toolbar.  Is
> there a way to make the modifier-bar appear only in the frame-wide toolbar?

The doc string says modifier-bar-mode is a global minor mode, so I
guess not.  Po Lu, any suggestions?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73671; Package emacs. (Tue, 08 Oct 2024 00:03:01 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 73671 <at> debbugs.gnu.org, Anush V <j <at> gnu.org>
Subject: Re: bug#73671: 30.0.60; Make window-tool-bar-mode not show
 modifier-bar-mode
Date: Tue, 08 Oct 2024 08:01:36 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Anush V <j <at> gnu.org>
>> Date: Sun, 06 Oct 2024 16:06:03 -0400
>> 
>> I just discovered the 'global-window-tool-bar-mode'. This allows us to
>> have a frame-wide 'tool-bar-mode' and buffer-specific tool bars.
>> 
>> This is nice, except when combined with 'modifier-bar-mode', in that scenario,
>> the modifier bar is shown on all windows along with frame-wide toolbar.  Is
>> there a way to make the modifier-bar appear only in the frame-wide toolbar?
>
> The doc string says modifier-bar-mode is a global minor mode, so I
> guess not.  Po Lu, any suggestions?

I'm reasonably certain that this is simply a bug, since I never intended
that the modifier bar should be displayed in tool bars created by
global-window-tool-bar-mode.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73671; Package emacs. (Tue, 08 Oct 2024 11:58:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 73671 <at> debbugs.gnu.org, j <at> gnu.org
Subject: Re: bug#73671: 30.0.60; Make window-tool-bar-mode not show
 modifier-bar-mode
Date: Tue, 08 Oct 2024 14:56:50 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: Anush V <j <at> gnu.org>,  73671 <at> debbugs.gnu.org
> Date: Tue, 08 Oct 2024 08:01:36 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Anush V <j <at> gnu.org>
> >> Date: Sun, 06 Oct 2024 16:06:03 -0400
> >> 
> >> I just discovered the 'global-window-tool-bar-mode'. This allows us to
> >> have a frame-wide 'tool-bar-mode' and buffer-specific tool bars.
> >> 
> >> This is nice, except when combined with 'modifier-bar-mode', in that scenario,
> >> the modifier bar is shown on all windows along with frame-wide toolbar.  Is
> >> there a way to make the modifier-bar appear only in the frame-wide toolbar?
> >
> > The doc string says modifier-bar-mode is a global minor mode, so I
> > guess not.  Po Lu, any suggestions?
> 
> I'm reasonably certain that this is simply a bug, since I never intended
> that the modifier bar should be displayed in tool bars created by
> global-window-tool-bar-mode.

OK, but when you fix this, please make sure that the modifier bar
could be left displayed even if the tool bar isn't, at least as a user
option, since I can envision perfectly valid use cases where users
might want to have the modifier bar on display, but not the tool bar.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73671; Package emacs. (Tue, 08 Oct 2024 23:44:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: Anush V <j <at> gnu.org>, 73671 <at> debbugs.gnu.org
Subject: Re: bug#73671: 30.0.60;
 Make window-tool-bar-mode not show modifier-bar-mode
Date: Tue, 8 Oct 2024 16:41:54 -0700
Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> From: Anush V <j <at> gnu.org>
>>> Date: Sun, 06 Oct 2024 16:06:03 -0400
>>>
>>> I just discovered the 'global-window-tool-bar-mode'. This allows us to
>>> have a frame-wide 'tool-bar-mode' and buffer-specific tool bars.
>>>
>>> This is nice, except when combined with 'modifier-bar-mode', in that scenario,
>>> the modifier bar is shown on all windows along with frame-wide toolbar.  Is
>>> there a way to make the modifier-bar appear only in the frame-wide toolbar?
>>
>> The doc string says modifier-bar-mode is a global minor mode, so I
>> guess not.  Po Lu, any suggestions?
>
> I'm reasonably certain that this is simply a bug, since I never intended
> that the modifier bar should be displayed in tool bars created by
> global-window-tool-bar-mode.

BTW, when using global-window-tool-bar-mode, the modifier buttons
displayed in the tab bar do not seem to work.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73671; Package emacs. (Thu, 10 Oct 2024 19:22:02 GMT) Full text and rfc822 format available.

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

From: Anush V <j <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, Eli Zaretskii <eliz <at> gnu.org>,
 73671 <at> debbugs.gnu.org
Subject: Re: bug#73671: 30.0.60; Make window-tool-bar-mode not show
 modifier-bar-mode
Date: Thu, 10 Oct 2024 15:19:46 -0400
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Tue,  8 Oct 2024 16:41:54 -0700

> [... 23 lines elided]

> BTW, when using global-window-tool-bar-mode, the modifier buttons
> displayed in the tab bar do not seem to work.

Yes, I could reproduce this, it’s happening on my end as well.




Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 12 Oct 2024 14:11:04 GMT) Full text and rfc822 format available.

This bug report was last modified 249 days ago.

Previous Next


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