unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jim Porter <jporterbugs@gmail.com>
Cc: 64812@debbugs.gnu.org
Subject: bug#64812: 29.1; Setting the default face height on startup only sometimes resizes the frame
Date: Mon, 24 Jul 2023 14:29:11 +0300	[thread overview]
Message-ID: <83zg3lsg3c.fsf@gnu.org> (raw)
In-Reply-To: <23c75747-a891-08d1-433f-c3b66ac2c285@gmail.com> (message from Jim Porter on Sun, 23 Jul 2023 13:36:30 -0700)

merge 64812 64809
thanks

> Date: Sun, 23 Jul 2023 13:36:30 -0700
> From: Jim Porter <jporterbugs@gmail.com>
> 
> Normally, when starting Emacs and setting the default face size, Emacs 
> will resize the frame so it still has the same number of columns. On 
> 29.1, this sometimes works that way, but other times the frame pops back 
> to its original pixel size. To see this in action, try running the 
> following:
> 
> emacs -Q --eval "(progn (tool-bar-mode -1) (menu-bar-mode -1) 
> (set-face-attribute 'default nil :height 90))"
> 
> You might need to try this a few times before the bug happens. (The 
> 'tool-bar-mode' and 'menu-bar-mode' calls above might not be strictly 
> necessary, but they seem to make the issue happen more frequently for 
> me.) Even when it does work, I notice that the frame's size bounces back 
> and forth a couple of times before settling.
> 
> When I test this on 28.2, the frame starts out at its initial size, and 
> then shrinks exactly once to the new, slightly smaller size.
> 
> I'm seeing this on a GNU/Linux system using X with the default 
> configuration, building revision 906ecf442c43da98e6b8c7488f549691901690e9.
> 
> (Sorry for only noticing this when testing the release candidate; I 
> normally run the development version of Emacs in a terminal, so I didn't 
> encounter this issue until doing some final tests of the RC. It's also 
> possible there's just something messed up on my system, though Emacs 
> 28.2 does behave properly...)

This is a duplicate; merged.





      parent reply	other threads:[~2023-07-24 11:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-23 20:36 bug#64812: 29.1; Setting the default face height on startup only sometimes resizes the frame Jim Porter
2023-07-23 21:31 ` Jim Porter
2023-07-24 10:27   ` Robert Pluim
2023-07-24 11:35   ` Eli Zaretskii
2023-07-24 11:29 ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83zg3lsg3c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64812@debbugs.gnu.org \
    --cc=jporterbugs@gmail.com \
    /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 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).