From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Stephens Newsgroups: gmane.emacs.devel Subject: gtk toolbar bug (was Re: What is the proper way to set the default font these days?) Date: Mon, 29 Jun 2009 12:44:49 +0100 Message-ID: <80eit38dse.fsf_-_@tiny.isode.net> References: <7b501d5c0906060758n3113b6cdr37a5635b389428b8@mail.gmail.com> <87ab4k3g04.fsf@catnip.gol.com> <4A2BB621.201@harpegolden.net> <8763f6g61q.fsf@uwakimon.sk.tsukuba.ac.jp> <7b501d5c0906080759wba474b4re93ecbfdf94c9629@mail.gmail.com> <873aaag1wf.fsf@cyd.mit.edu> <871vpug0np.fsf@uwakimon.sk.tsukuba.ac.jp> <87prdebsvd.fsf@cyd.mit.edu> <7b501d5c0906080928jde3c545o67a1731680f1dace@mail.gmail.com> <7b501d5c0906100217w62516bd8o4f5905665135a2a9@mail.gmail.com> <87prdcccha.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246290219 26867 80.91.229.12 (29 Jun 2009 15:43:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2009 15:43:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 29 17:43:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLJ0O-0002Gg-6C for ged-emacs-devel@m.gmane.org; Mon, 29 Jun 2009 17:42:53 +0200 Original-Received: from localhost ([127.0.0.1]:56667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLJ0N-0003KV-Kx for ged-emacs-devel@m.gmane.org; Mon, 29 Jun 2009 11:42:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLFIC-0005JM-SZ for emacs-devel@gnu.org; Mon, 29 Jun 2009 07:45:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLFI7-00059o-1i for emacs-devel@gnu.org; Mon, 29 Jun 2009 07:44:59 -0400 Original-Received: from [199.232.76.173] (port=38577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLFI6-00059U-Rd for emacs-devel@gnu.org; Mon, 29 Jun 2009 07:44:54 -0400 Original-Received: from rufus.isode.com ([62.3.217.251]:45719) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLFI6-0000gy-6g for emacs-devel@gnu.org; Mon, 29 Jun 2009 07:44:54 -0400 Original-Received: from tiny.isode.net (shiny.isode.com [62.3.217.250]) by rufus.isode.com (smtp internal) via TCP with SMTP id for ; Mon, 29 Jun 2009 12:44:49 +0100 Original-Received: by tiny.isode.net (sSMTP sendmail emulation); Mon, 29 Jun 2009 12:44:49 +0100 X-Hashcash: 1:20:090629:emacs-devel@gnu.org::KiyI4hmCocRoWIwp:000000000000000000000000000000000000000000BfGX In-Reply-To: <87prdcccha.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 10 Jun 2009 11:52:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 29 Jun 2009 11:33:16 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111812 Archived-At: Chong Yidong writes: > Deniz Dogan writes: > >> Having talked to some people on the XMonad mailing list, it seems that >> it is probably Emacs that has the bug in this case. > > What's the reasoning behind this conclusion? > > It sounds like you have two separate issues: (i) font setting in X > resources not being recognized, and (ii) incorrect window sizing. It's > plausible that (ii) is an Emacs bug, since interaction with window > managers is a tricky issue; one thing you can try is to compile Emacs > without GTK support, and see if that makes a difference. For (ii), GTK does make a difference. I built using --with-x-toolkit=lucid, and "emacs -Q" shows no problem (I can see a toolbar and the minibuffer). With gtk, I see the toolbar, but the frame is obviously too tall and I don't see the minibuffer. It is as though the frame is being displayed correctly without the toolbar, and then the toolbar is just added moving the rest down, without the proper interaction with the window manager to readjust the size. [...]