GNU bug report logs - #57758
Using menu-bar-mode and tool-bar-mode changes frame size

Previous Next

Package: emacs;

Reported by: uzibalqa <uzibalqa <at> proton.me>

Date: Mon, 12 Sep 2022 21:47:02 UTC

Severity: normal

Tags: notabug

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: uzibalqa <uzibalqa <at> proton.me>
To: uzibalqa <uzibalqa <at> proton.me>
Cc: Po Lu <luangruo <at> yahoo.com>, 57758 <at> debbugs.gnu.org
Subject: bug#57758: Using menu-bar-mode and tool-bar-mode changes frame size
Date: Tue, 13 Sep 2022 03:52:02 +0000
------- Original Message -------
On Tuesday, September 13th, 2022 at 3:20 AM, uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> wrote:


> ------- Original Message -------
> On Tuesday, September 13th, 2022 at 2:28 AM, Po Lu luangruo <at> yahoo.com wrote:
> 
> 
> 
> > uzibalqa uzibalqa <at> proton.me writes:
> > 
> > > I have noticed that calling repeatedly "frame-fullscreen" followed by "frame-normal" changes
> > > the size of the frame. The problem happens when calling "menu-bar-mode" and "tool-bar-mode".
> > 
> > Not a bug. On most builds, setting frame-inhibit-implied-resize to t
> > should resolve that problem.
> 
> 
> Why does a resize happen and why is it not a bug?

Should I use 

(setq frame-inhibit-implied-resize t) 

before calling

(toggle-frame-fullscreen) ? 

Then reset it again with 

(setq frame-inhibit-implied-resize nil) 

when going to the normal frame size?

I do not think I would have to change frame-inhibit-implied-resize before
going fullscreen, but only before going back to the original frame size.









This bug report was last modified 2 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.