GNU bug report logs - #22298
25.1.50; Enabling tool-bar-mode caused frame size setting failure

Previous Next

Package: emacs;

Reported by: CHENG Gao <chenggao <at> royau.me>

Date: Sun, 3 Jan 2016 18:42:02 UTC

Severity: normal

Tags: notabug

Found in version 25.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: CHENG Gao <chenggao <at> royau.me>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#22298: 25.1.50;
 Enabling tool-bar-mode caused frame size setting failure
Date: Mon, 11 Jan 2016 20:03:24 +0800
,----
| Here, Emacs use its standard frame size whereas it should use the newly
| specified size (155x38).
`----

You are right.


,----
| (when window-system
|    (set-frame-position (selected-frame) 0 0)
|    (set-frame-size (selected-frame) 156 41 nil))
| 
| (sleep-for 3)
| 
| (when window-system
|    (tool-bar-mode nil))
`----

I added sleep-for to check startup process, and I can see frame size is
resized correctly, and then shrink back by tool-bar-mode. So
tool-bar-mode does not use newly set size but standard frame size.





This bug report was last modified 3 years and 122 days ago.

Previous Next


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