From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#11177: 24.0.95; gtk_window_parse_geometry warning Date: Fri, 06 Apr 2012 07:27:45 -0400 Message-ID: <4F7ED331.6000802@cornell.edu> References: <4F7CA84A.7010906@cornell.edu> <44C72D45-F636-4A2A-B0AC-76C98EC0E524@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333711712 2817 80.91.229.3 (6 Apr 2012 11:28:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2012 11:28:32 +0000 (UTC) Cc: 11177-done@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 06 13:28:31 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SG7LC-00028f-WF for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 13:28:31 +0200 Original-Received: from localhost ([::1]:44740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SG7LB-0008LN-7I for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2012 07:28:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SG7L8-0008Ka-8f for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 07:28:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SG7L6-0001bm-EH for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 07:28:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SG7L6-0001ba-Aw for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 07:28:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SG7Li-0006NE-6x for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2012 07:29:02 -0400 Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Apr 2012 11:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 11177 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 11177@debbugs.gnu.org, kbrown@cornell.edu Original-Received: via spool by 11177-done@debbugs.gnu.org id=D11177.133371173024479 (code D ref 11177); Fri, 06 Apr 2012 11:29:01 +0000 Original-Received: (at 11177-done) by debbugs.gnu.org; 6 Apr 2012 11:28:50 +0000 Original-Received: from localhost ([127.0.0.1]:42271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SG7LW-0006Mm-CM for submit@debbugs.gnu.org; Fri, 06 Apr 2012 07:28:50 -0400 Original-Received: from limestone4.mail.cornell.edu ([128.253.83.164]:54083) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SG7LT-0006MZ-L1 for 11177-done@debbugs.gnu.org; Fri, 06 Apr 2012 07:28:49 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from soapstone1.mail.cornell.edu (soapstone1.mail.cornell.edu [128.253.83.143]) by limestone4.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q36BS492003932 for <11177-done@debbugs.gnu.org>; Fri, 6 Apr 2012 07:28:04 -0400 (EDT) Original-Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q36BSDpK020202 for <11177-done@debbugs.gnu.org>; Fri, 6 Apr 2012 07:28:14 -0400 (EDT) Original-Received: from [192.168.1.3] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q36BS5Nc017264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 6 Apr 2012 07:28:06 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 In-Reply-To: <44C72D45-F636-4A2A-B0AC-76C98EC0E524@swipnet.se> X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.4.6.111814 X-Original-Sender: kbrown@cornell.edu - Fri Apr 6 07:28:07 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-MIME-Autoconverted: from 8bit to quoted-printable by limestone4.mail.cornell.edu id q36BS492003932 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58552 Archived-At: On 4/6/2012 6:57 AM, Jan Dj=E4rv wrote: > Hello. > > 4 apr 2012 kl. 22:00 skrev Ken Brown: > >> When emacs is built with gtk3 and the window geometry is specified on = the command line or in .Xdefaults, the following warning appears in the t= erminal from which emacs was started: >> >> Gtk-WARNING **: gtk_window_parse_geometry() called on a window with no= visible children; the window should be set up before gtk_window_parse_ge= ometry() is called. >> >> To reproduce: >> >> 1. Build emacs with the configure option --with-x-toolkit=3Dgtk3. >> >> 2. emacs -Q --geometry=3D80x34+340+40& >> >> I don't know enough about gtk to know whether this warning can safely = be ignored, but here's a quote from the source file gtk/gtkwindow.c in wh= ich gtk_window_parse_geometry is defined: >> >> * Note that for gtk_window_parse_geometry() to work as expected, it ha= s >> * to be called when the window has its "final" size, i.e. after callin= g >> * gtk_widget_show_all() on the contents and gtk_window_set_geometry_hi= nts() >> * on the window. >> > > This is a false warning. There are known issues with the rows in the ge= ometry given to Emacs (you may get less rows than you ask for) but the po= sitions are AFAIK more or less correct (i.e. both Gtk and the window mana= ger modifyes it in an effort to keep the window onscreen). I don't know = why they added this warning in Gtk+ 3, the code is more or less the same = as in Gtk+2. OK, thanks for the information. I'm closing the bug. Ken