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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18720 in the body.
You can then email your comments to 18720 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18720; Package emacs. (Tue, 14 Oct 2014 18:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 Oct 2014 18:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; `set-frame-size' reduces height instead of increases it,
 when set to larger value
Date: Tue, 14 Oct 2014 11:00:31 -0700 (PDT)
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.

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

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).

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-06 on LEG570
Bzr revision: 118063 monnier <at> iro.umontreal.ca-20141006174756-y7ha091r491l1ijw
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 CPPFLAGS=-DGLYPH_DEBUG=1'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18720; Package emacs. (Tue, 21 Oct 2014 07:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 18720 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, 18720 <at> debbugs.gnu.org
Subject: Re: 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18720; Package emacs. (Tue, 21 Oct 2014 14:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 18720 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: martin rudalics <rudalics <at> gmx.at>, 18720 <at> debbugs.gnu.org
Subject: RE: bug#18720: 25.0.50; `set-frame-size' reduces height instead of
 increases it, when set to larger value
Date: Tue, 21 Oct 2014 07:29:45 -0700 (PDT)
> 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.

OK; that's in fact what I see in my setup.  But I could not repro it
from emacs -Q, for some reason.

(I replied to your msg about #15174 before reading this.  Great that
both are fixed. Thx.)




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Wed, 31 Dec 2014 18:38:02 GMT) Full text and rfc822 format available.

Notification sent to Drew Adams <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Wed, 31 Dec 2014 18:38:03 GMT) Full text and rfc822 format available.

Message #16 received at 18720-done <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, 18720-done <at> debbugs.gnu.org
Subject: Re: bug#18720: 25.0.50; `set-frame-size' reduces height instead of
 increases it, when set to larger value
Date: Wed, 31 Dec 2014 19:37:32 +0100
>> Should be fixed with revision 118172 on trunk.

Bug closed.

Thanks, martin






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Jan 2015 12:24:04 GMT) Full text and rfc822 format available.

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.