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 Mar 2017 17:24:55 +0200 Message-ID: <83inn0583c.fsf@gnu.org> References: <87a89c51qb.fsf@moondust.localdomain> <58D3804E.5030109@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1490282779 23167 195.159.176.226 (23 Mar 2017 15:26:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2017 15:26:19 +0000 (UTC) Cc: nljlistbox2@gmail.com, 25851@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 23 16:26:16 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 1cr4cq-0004uy-Rw for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Mar 2017 16:26:08 +0100 Original-Received: from localhost ([::1]:56993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr4cv-000467-5i for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Mar 2017 11:26:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr4cp-000462-PC for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:26:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cr4ck-0000Xa-Rw for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:26:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cr4ck-0000XP-Oc for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cr4ck-0000KR-Dr for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2017 11:26:02 -0400 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 Mar 2017 15:26: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.14902827081201 (code B ref 25851); Thu, 23 Mar 2017 15:26:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 23 Mar 2017 15:25:08 +0000 Original-Received: from localhost ([127.0.0.1]:41164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr4bs-0000JI-81 for submit@debbugs.gnu.org; Thu, 23 Mar 2017 11:25:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr4bq-0000Il-Fd for 25851@debbugs.gnu.org; Thu, 23 Mar 2017 11:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cr4bg-0000CX-H0 for 25851@debbugs.gnu.org; Thu, 23 Mar 2017 11:25:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr4bg-0000CQ-EW; Thu, 23 Mar 2017 11:24:56 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2287 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cr4bf-0005H8-Gn; Thu, 23 Mar 2017 11:24:56 -0400 In-reply-to: <58D3804E.5030109@gmx.at> (message from martin rudalics on Thu, 23 Mar 2017 08:59:10 +0100) 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:130846 Archived-At: > Date: Thu, 23 Mar 2017 08:59:10 +0100 > From: martin rudalics > > > 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. > > Thinking about this twice - frameset should _not_ try to restore frame > positions by default. ISTR that there was a long discussion about this when Juanma implemented these features, so the current behavior is not just a random choice on his part. FWIW, I'm rather fond of the current behavior, since whenever I need to restart Emacs, it recreates the precise frame arrangement I had when I shut it down.