GNU bug report logs - #6354
23.2; set-frame-size sets incorrect size

Previous Next

Package: emacs;

Reported by: Phil Johnson <phil_johnson <at> stanfordalumni.org>

Date: Fri, 4 Jun 2010 18:45:02 UTC

Severity: normal

Tags: moreinfo

Found in version 23.2

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

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: 6354 <at> debbugs.gnu.org
Subject: Re: 23.2; set-frame-size sets incorrect size
Date: Sat, 03 Jan 2015 19:45:32 +0100
> The set-frame-size function sets a frame height that is one less than
> requested.  This can be demonstrated by evaluating the following code:
>
>   (set-frame-size (selected-frame) 80 32)
>   (message "Frame size is %dx%d (requested 80x32)" (frame-width) (frame-height))
>
> The message that gets printed is
>
>   Frame size is 80x31 (requested 80x32)
>
> The width is occasionally set incorrectly, too, although I'm not certain
> how to reproduce this reliably.
>
> This functionality works correctly in Emacs 23.1 built with exactly the
> same configuration options.
>
> In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
>  of 2010-06-01 on dcamd12

Works here with current master/trunk and a Lucid build with Xaw3d scroll
bars.  Can you try it?

Thanks, martin




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

Previous Next


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