From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem with new frame not recognizing `default-frame-alist' width and height
Date: Tue, 27 Feb 2024 12:14:13 +0200 [thread overview]
Message-ID: <86y1b6tdsa.fsf@gnu.org> (raw)
In-Reply-To: <86v86ab9yb.fsf@p200300d627023ae90d6736c6a94e74f4.dip0.t-ipconnect.de> (message from Joost Kremers on Tue, 27 Feb 2024 09:14:20 +0100)
> From: Joost Kremers <joostkremers@fastmail.fm>
> Cc: help-gnu-emacs@gnu.org
> Date: Tue, 27 Feb 2024 09:14:20 +0100
>
> On Mon, Feb 26 2024, tpeplt wrote:
> > The following problem seems like it is an error in Emacs that needs to
> > be reported, but it ought to be so common that it would have been
> > noticed already. Since it hasn’t, perhaps it is a user error with
> > something I am overlooking.
>
> It's a bug! I've been noticing the same thing since I switched to Emacs 29.2,
> but also figured it's probably user error. Since I don't often create a second
> frame, it didn't bother me enough to investigate, but if it's happening to
> others as well, it's probably a bug.
>
> > The problem is happening when running Emacs 29.2 on GNU/Linux running
> > GNOME window manager.
>
> Yes, that's my setup as well.
>
> > In brief, the problem is that when a new frame is created, the new
> > frame’s default width and height are both small,
>
> Yup. I actually never had any window size settings in my default-frame-alist,
> but up until Emacs 28, the default width/height was fine. And if I start Emacs
> by calling emacsclient, the frame that pops up is still that same size. But
> creating a new frame with `C-x 5 2` produces a much smaller frame. Unusably
> small, in fact.
>
> > 6. Try the ‘clone-frame’ command that was introduced in Emacs 28: Type
> > C-x 5 c. The new frame does not clone the current frame’s width
> > and height, but instead keeps the small 8x20 size as all other
> > newly-created frames.
>
> Indeed. Note that if you clone a frame with the `fullscreen` frame parameter set
> (to `maximized` in my case), cloning the frame yields another maximised frame.
>
> > Are other Emacs 28/29 users able to reproduce this problem?
>
> Emacs 29.2. I don't recall having this problem with Emacs 28, though I can't be
> entirely sure.
>
> > If not, can you point to something erroneous that I am doing?
>
> I don't think there is anything you're doing wrong.
>
> Stefan Monnier suggested you report it as a bug, which is probably a good idea.
Isn't this bug#67654? Are we talking about a GTK 3 build?
next prev parent reply other threads:[~2024-02-27 10:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 3:11 Problem with new frame not recognizing `default-frame-alist' width and height tpeplt
2024-02-27 3:31 ` tpeplt
2024-02-27 3:56 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-02-27 16:13 ` tpeplt
2024-02-27 8:14 ` Joost Kremers
2024-02-27 10:14 ` Eli Zaretskii [this message]
2024-02-27 11:19 ` Joost Kremers
2024-02-27 16:53 ` tpeplt
2024-02-27 19:50 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-02-27 20:28 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-02-27 22:05 ` tpeplt
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=86y1b6tdsa.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.