* bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode
@ 2024-10-06 20:06 Anush V
2024-10-07 11:29 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Anush V @ 2024-10-06 20:06 UTC (permalink / raw)
To: 73671
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode
2024-10-06 20:06 bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode Anush V
@ 2024-10-07 11:29 ` Eli Zaretskii
2024-10-08 0:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2024-10-07 11:29 UTC (permalink / raw)
To: Anush V, Po Lu; +Cc: 73671
> From: Anush V <j@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?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode
2024-10-07 11:29 ` Eli Zaretskii
@ 2024-10-08 0:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-08 11:56 ` Eli Zaretskii
2024-10-08 23:41 ` Stefan Kangas
0 siblings, 2 replies; 6+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-10-08 0:01 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 73671, Anush V
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Anush V <j@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode
2024-10-08 0:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-10-08 11:56 ` Eli Zaretskii
2024-10-08 23:41 ` Stefan Kangas
1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2024-10-08 11:56 UTC (permalink / raw)
To: Po Lu; +Cc: 73671, j
> From: Po Lu <luangruo@yahoo.com>
> Cc: Anush V <j@gnu.org>, 73671@debbugs.gnu.org
> Date: Tue, 08 Oct 2024 08:01:36 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: Anush V <j@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode
2024-10-08 0:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-08 11:56 ` Eli Zaretskii
@ 2024-10-08 23:41 ` Stefan Kangas
2024-10-10 19:19 ` Anush V
1 sibling, 1 reply; 6+ messages in thread
From: Stefan Kangas @ 2024-10-08 23:41 UTC (permalink / raw)
To: Po Lu, Eli Zaretskii; +Cc: Anush V, 73671
Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Anush V <j@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode
2024-10-08 23:41 ` Stefan Kangas
@ 2024-10-10 19:19 ` Anush V
0 siblings, 0 replies; 6+ messages in thread
From: Anush V @ 2024-10-10 19:19 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Po Lu, Eli Zaretskii, 73671
> From: Stefan Kangas <stefankangas@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-10-10 19:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06 20:06 bug#73671: 30.0.60; Make window-tool-bar-mode not show modifier-bar-mode Anush V
2024-10-07 11:29 ` Eli Zaretskii
2024-10-08 0:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-08 11:56 ` Eli Zaretskii
2024-10-08 23:41 ` Stefan Kangas
2024-10-10 19:19 ` Anush V
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).