From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: contovob@tcd.ie, 47234@debbugs.gnu.org
Subject: bug#47234: 28.0.50; frame-inner-height fails without window system on tab-bar-height
Date: Thu, 18 Mar 2021 22:05:02 +0200 [thread overview]
Message-ID: <83ft0sfcsx.fsf@gnu.org> (raw)
In-Reply-To: <87v99owali.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 18 Mar 2021 21:00:41 +0200)
> From: Juri Linkov <juri@linkov.net>
> Cc: contovob@tcd.ie, rudalics@gmx.at, 47234@debbugs.gnu.org
> Date: Thu, 18 Mar 2021 21:00:41 +0200
>
> >> Please note this should be fixed on the release branch in Emacs 27.2
> >> because the change in commit 6c5ddf0e0b was recently made in emacs-27.
> >
> > Why does it have to be done in Emacs 27.2?
> >
> > Please be aware that Emacs 27.2 is all but released at this point.
>
> Martin said that the commit 6c5ddf0e0b added recently in emacs-27
> should be reverted from Emacs 27.2.
>
> >> I wonder why only tab-bar-height was added to frame-inner-height,
> >> why not menu-bar-height as well? Moreover, such function as
> >> menu-bar-height doesn't exist at all. Why only tab-bar-height is needed?
> >
> > Maybe tab-bar-height is not needed in this case, either. We could
> > instead modify the code that attempts to call it.
>
> Grepping shows that the only code that calls frame-inner-height
> is mouse-drag-frame-resize.
Thanks.
After thinking some more about this, I think we should leave the
frame.el part of 6c5ddf0e0b alone, but augment it with the fboundp
test, such that on TTY frames the tab bar would be included in the
frame's inner height, like the menu bar is. This is also consistent
with what happens on TTY frames in a build with X: tab-bar-height
returns zero.
Basil, can you please install such a change on the emacs-27 branch? I
will then make another RC.
next prev parent reply other threads:[~2021-03-18 20:05 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 13:41 bug#47234: 28.0.50; frame-inner-height fails without window system on tab-bar-height Basil L. Contovounesios
2021-03-18 14:30 ` Eli Zaretskii
2021-03-18 14:57 ` Basil L. Contovounesios
2021-03-18 15:12 ` Eli Zaretskii
2021-03-18 15:22 ` Basil L. Contovounesios
2021-03-18 15:53 ` Eli Zaretskii
2021-03-18 17:07 ` Juri Linkov
2021-03-18 17:51 ` martin rudalics
2021-03-18 18:55 ` Eli Zaretskii
2021-03-19 8:14 ` martin rudalics
2021-03-19 8:22 ` Eli Zaretskii
2021-03-18 18:48 ` Eli Zaretskii
2021-03-18 19:00 ` Juri Linkov
2021-03-18 20:05 ` Eli Zaretskii [this message]
2021-03-18 22:24 ` Basil L. Contovounesios
2021-03-19 7:02 ` Eli Zaretskii
2021-03-19 8:15 ` martin rudalics
2021-03-26 17:44 ` Basil L. Contovounesios
2021-03-18 15:51 ` martin rudalics
2021-03-18 17:36 ` Juri Linkov
2021-03-26 17:46 ` Basil L. Contovounesios
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=83ft0sfcsx.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=47234@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=juri@linkov.net \
/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.