From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame Date: Thu, 23 Feb 2017 18:24:09 +0200 Message-ID: <831suoub86.fsf@gnu.org> References: <87a89c51qb.fsf@moondust.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1487867119 19201 195.159.176.226 (23 Feb 2017 16:25:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2017 16:25:19 +0000 (UTC) Cc: 25851@debbugs.gnu.org To: nljlistbox2@gmail.com (N. Jackson) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 23 17:25:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgwCb-0004Od-DD for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 17:25:09 +0100 Original-Received: from localhost ([::1]:59612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgwCh-0002d3-B2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 11:25:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgwCa-0002c0-1D for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2017 11:25:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgwCU-00008V-Bu for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2017 11:25:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgwCU-00008Q-8c for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2017 11:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cgwCU-0003dV-2N for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2017 11:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2017 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25851-submit@debbugs.gnu.org id=B25851.148786708913954 (code B ref 25851); Thu, 23 Feb 2017 16:25:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 23 Feb 2017 16:24:49 +0000 Original-Received: from localhost ([127.0.0.1]:53201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgwCH-0003d0-8I for submit@debbugs.gnu.org; Thu, 23 Feb 2017 11:24:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgwCF-0003co-QD for 25851@debbugs.gnu.org; Thu, 23 Feb 2017 11:24:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgwC7-0008SA-Cl for 25851@debbugs.gnu.org; Thu, 23 Feb 2017 11:24:42 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgwC7-0008S4-8s; Thu, 23 Feb 2017 11:24:39 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4263 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cgwC6-00079t-HH; Thu, 23 Feb 2017 11:24:39 -0500 In-reply-to: <87a89c51qb.fsf@moondust.localdomain> (nljlistbox2@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:129695 Archived-At: > From: nljlistbox2@gmail.com (N. Jackson) > Date: Thu, 23 Feb 2017 11:08:28 -0500 > > When starting Emacs from a terminal/console window, GTK emits the > following message in the terminal/console: > > Gtk-WARNING **: gtk_window_parse_geometry() called on a window > with no visible children; the window should be set up before > gtk_window_parse_geometry() is called. > > The message is emitted n - 1 times, where n is the number of > frames specified in the desktop file; with no desktop file, or > with a desktop file specifying just the one frame, no such message > is emitted. > > Once Emacs is up and running, creating new frames does not cause > this message to be emitted. > > I tried deleting the desktop file and starting fresh, but the > problem persists. > > I'm seeing this in rc2 of Emacs 25.2 built from the tarball. I > didn't see it in Emacs 25.1. I do however see it in 25.1.91. > > If needed I'm happy to try to find a minimal recipe for this from > `emacs -Q' but I would need some pointers on how to create / read > desktop files from `emacs -Q'. Thanks. It might be enough if you run Emacs under a debugger with a breakpoint in the GTK function which emits this warning, then show us the backtrace from that function. That should point to the code that gets executed when it probably shouldn't.