* bug#18720: 25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value
@ 2014-10-14 18:00 Drew Adams
2014-10-21 7:35 ` martin rudalics
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-10-14 18:00 UTC (permalink / raw)
To: 18720
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@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'
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18720: 25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value
2014-10-14 18:00 bug#18720: 25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value Drew Adams
@ 2014-10-21 7:35 ` martin rudalics
2014-10-21 14:29 ` Drew Adams
0 siblings, 1 reply; 4+ messages in thread
From: martin rudalics @ 2014-10-21 7:35 UTC (permalink / raw)
To: Drew Adams, 18720
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18720: 25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value
2014-10-21 7:35 ` martin rudalics
@ 2014-10-21 14:29 ` Drew Adams
2014-12-31 18:37 ` martin rudalics
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-10-21 14:29 UTC (permalink / raw)
To: martin rudalics, 18720
> 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.)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-31 18:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-14 18:00 bug#18720: 25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value Drew Adams
2014-10-21 7:35 ` martin rudalics
2014-10-21 14:29 ` Drew Adams
2014-12-31 18:37 ` martin rudalics
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).