GNU bug report logs - #18720
25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 14 Oct 2014 18:06:02 UTC

Severity: normal

Found in version 25.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, 18720 <at> debbugs.gnu.org
Subject: bug#18720: 25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value
Date: Tue, 21 Oct 2014 09:35:52 +0200
> emacs -Q
>
> Resize the frame using the mouse, so that the menu bar extends (is
> wrapped) to be 3 lines.
>
> (frame-height) ; ==> call it N
>
> (set-frame-height nil (1+ N))
>
> The frame height is *reduced* by one, not increased by one.

Should be fixed with revision 118172 on trunk.

> If the menu bar is wrapped to only 2 lines then the bug does not occur.

With a two lines menu bar here the frame height was reduced by one as
well.

> It does not matter what value option `frame-resize-pixelwise' has.
> (And it should not matter - frame resizing should work regardless of its
> value, with the only difference being the granularity - not the
> direction - of resizing).

This option is completely unrelated to the problem at hand.

Thanks, martin




This bug report was last modified 10 years and 205 days ago.

Previous Next


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