GNU bug report logs - #19972
24.4; Font size change doesn't update (window-total-width)

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Sun, 1 Mar 2015 02:32:02 UTC

Severity: normal

Found in version 24.4

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: joostkremers <at> fastmail.fm, 19972 <at> debbugs.gnu.org
Subject: Re: bug#19972: 24.4;
 Font size change doesn't update (window-total-width)
Date: Mon, 02 Mar 2015 20:25:54 +0200
> Date: Mon, 02 Mar 2015 19:12:42 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: joostkremers <at> fastmail.fm, 19972 <at> debbugs.gnu.org
> 
>  > I don't understand why that would happen.  It doesn't seem to happen
>  > for me, with the current emacs-24 branch.
> 
> Your backtrace was from Emacs 25.  Emacs 24 doesn't have
> adjust_frame_size.
> 
>  >>   > #1  0x01011f3e in adjust_frame_size (f=0x17d7a30 <dumped_data+2428016>,
>  >>   >      new_width=800, new_height=700, inhibit=5, pretend=false, parameter=8064)
>  >>   >      at frame.c:524
> [...]
>  >> Note that x_new_font _always_ calls adjust_frame_size (even for the
>  >> `set-frame-font' KEEP-SIZE non-nil case) trying to adjust the frame
>  >> size.
>  >>
>  >> I sincerely hope your frame was not maximized here.  Otherwise,
>  >> resize_frame_windows should not have been called ...
>  >
>  > It is called with maximized frames as well, see the backtrace below.
>  >
>  > #0  0x010913a4 in resize_frame_windows (f=0x3a7b5d0, size=2396, horflag=true,
>  >      pixelwise=true) at window.c:4211
>  > #1  0x0100ea3e in change_frame_size_1 (f=0x3a7b5d0, new_width=2360,
>  >      new_height=1300, pretend=false, delay=false, safe=false, pixelwise=true)
>  >      at dispnew.c:5610
> 
> This backtrace is from Emacs 24 where resize_frame_windows gets called
> by change_frame_size_1.

Sorry, I didn't realize you were talking about the master branch.
Yes, there resize_frame_windows doesn't get called, and the frame
dimensions don't change, if it is maximized to begin with.




This bug report was last modified 7 years and 285 days ago.

Previous Next


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