bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56607: 29.0.50; (setq auto-resize-tool-bars 'grow-only) has no effec


From: Po Lu
Subject: bug#56607: 29.0.50; (setq auto-resize-tool-bars 'grow-only) has no effect (pgtk)
Date: Sun, 17 Jul 2022 13:46:59 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Richard Hansen <rhansen@rhansen.org> writes:

> emacs -Q
> M-: (setq auto-resize-tool-bars 'grow-only) RET
> C-s
>
> The tool bar now shows a ridiculously oversized marine life ring icon
> on the "Help" button, and the height of the tool bar has grown to
> accommodate the icon's size.
>
> C-g
>
> Expected behavior: The tool bar reverts back to how it was before C-s
> was pressed, except its height stays the same.
>
> Actual behavior: The tool bar reverts back to how it was before,
> including reverting to its original height.
>
> The continually changing tool bar height causes the windows under the
> toolbar to "bounce".  This is particularly annoying when a mouse click
> causes the tool bar to change height because Emacs interprets the
> click as a drag event (even though the mouse cursor has not moved).

`auto-resize-tool-bars' doesn't work with either of the GTK builds,
since tool bars there don't wrap at all, and their dimensions are not
under the control of Emacs.

So the solution is to stop setting that variable.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]