all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: martin rudalics <rudalics@gmx.at>
Cc: 37609@debbugs.gnu.org
Subject: bug#37609: Tool-bar-mode grows the frame's height
Date: Wed, 05 May 2021 23:37:58 +0300	[thread overview]
Message-ID: <87y2ctf3td.fsf@mail.linkov.net> (raw)
In-Reply-To: <332adca2-1088-3dc6-d18f-778b73b24e0c@gmx.at> (martin rudalics's message of "Wed, 5 May 2021 09:24:48 +0200")

>>> Can you please check again?
>
> Did you check with Lucid?

In Lucid

((outer-size 696 . 706) (outer-size 696 . 706))

>> Now the frame's height doesn't grow but shrinks on GTK:
>>
>> ((outer-size 694 . 690) (outer-size 694 . 738))
>
> Here when I start a GTK3 build with
>
> emacs -Q -f tool-bar-mode
>
> and do
>
> (let ((initial (assq 'outer-size (frame-geometry))))
>   (tool-bar-mode 1)
>   (tool-bar-mode 0)
>   (list (assq 'outer-size (frame-geometry)) initial))
>
> I get
>
> ((outer-size 762 . 697) (outer-size 762 . 697))
>
> an invariable frame height of 36, a frame pixel height of 648 (which
> sums up correctly with a menu bar height of 25, a title bar height of 14
> and an external border of 5 pixels) and no visible change of any kind.

I get in a GTK3 build

((outer-size 694 . 690) (outer-size 694 . 690))

(frame-height)
36

>> Do you think now it's improved?
>
> It's up to you to decide.  I can try to fix all inconsistencies you
> still see.

Thanks.

> As far as outer sizes are concerned be aware that snippets like
>
> (progn
>   (tool-bar-mode 1)
>   (assq 'outer-size (frame-geometry)))
>
> might not tell the whole truth because the frame geometry may not have
> changed yet at the time you call that function.  And please make sure
> to associate every result you report with the corresponding toolkit.

Noted 👍.





  reply	other threads:[~2021-05-05 20:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 22:20 bug#37609: Tool-bar-mode grows the frame's height Juri Linkov
2019-10-05  8:41 ` martin rudalics
2019-10-05 18:11   ` martin rudalics
2019-10-05 19:04     ` Eli Zaretskii
2019-10-05 22:44       ` Juri Linkov
     [not found]     ` <626bf59c-99e7-b6ac-5e0e-7493d214d4e2@gmx.at>
2022-01-24 18:03       ` Juri Linkov
2021-05-04  9:15 ` martin rudalics
2021-05-04 21:42   ` Juri Linkov
2021-05-05  7:24     ` martin rudalics
2021-05-05 20:37       ` Juri Linkov [this message]
2021-05-06  7:45         ` martin rudalics
2021-05-07 16:50           ` Juri Linkov
2021-05-08  7:16             ` martin rudalics
2021-05-08 20:23               ` Juri Linkov
2021-05-09  8:41                 ` martin rudalics
2021-05-09 17:43                   ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2ctf3td.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=37609@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.