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: Fri, 24 Feb 2017 10:07:36 +0200 Message-ID: <83vas0rozb.fsf@gnu.org> References: <87a89c51qb.fsf@moondust.localdomain> <831suoub86.fsf@gnu.org> <87lgswmi6a.fsf@moondust.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1487923762 11957 195.159.176.226 (24 Feb 2017 08:09:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2017 08:09:22 +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 Fri Feb 24 09:09: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 1chAwF-0002HW-1O for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2017 09:09:15 +0100 Original-Received: from localhost ([::1]:35347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chAwK-0007dn-WC for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Feb 2017 03:09:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chAw7-0007bx-NX for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 03:09:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chAw2-0003oF-NR for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 03:09:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chAw2-0003oB-L4 for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 03:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1chAw2-0008Rg-4P for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2017 03:09: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: Fri, 24 Feb 2017 08:09: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.148792369532412 (code B ref 25851); Fri, 24 Feb 2017 08:09:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 24 Feb 2017 08:08:15 +0000 Original-Received: from localhost ([127.0.0.1]:53505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chAvH-0008Qi-IS for submit@debbugs.gnu.org; Fri, 24 Feb 2017 03:08:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chAvF-0008QW-W8 for 25851@debbugs.gnu.org; Fri, 24 Feb 2017 03:08:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chAv5-0003YL-Tb for 25851@debbugs.gnu.org; Fri, 24 Feb 2017 03:08:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chAv5-0003YH-Pl; Fri, 24 Feb 2017 03:08:03 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1236 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1chAv4-0002vI-EL; Fri, 24 Feb 2017 03:08:03 -0500 In-reply-to: <87lgswmi6a.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:129718 Archived-At: > From: nljlistbox2@gmail.com (N. Jackson) > Cc: 25851@debbugs.gnu.org > Date: Thu, 23 Feb 2017 21:33:33 -0500 > > At 18:24 +0200 on Thursday 2017-02-23, Eli Zaretskii wrote: > > > > 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. > > This warning is emitted by line 11414 of > `gtk_window_parse_geometry' in gtkwindow.c in the gtk+-3.22.8 > sources. The code looks like this: Thanks for the footwork and all the useful information this uncovered. I will look closer at that later, but right now I believe I am (or was) confused... > Lisp Backtrace: > "x-create-frame" (0xffff8ed0) > "x-create-frame-with-faces" (0xffff9408) > 0x1550b80 PVEC_COMPILED > "apply" (0xffff9a70) > "frame-creation-function" (0xffffa010) > "make-frame" (0xffffa560) > "make-frame-on-display" (0xffffaac8) > "frameset--restore-frame" (0xffffb0c0) > "frameset-restore" (0xffffb610) > "desktop-restore-frameset" (0xffffbba8) > "desktop-read" (0xffffc100) This seems to indicate Emacs is restoring desktop into a new GUI session. But in your original report you said: > When starting Emacs from a terminal/console window, GTK emits the > following message which I interpreted to mean you were starting "emacs -nw". Did I misinterpret what you were saying? If so, what is the significance of the "terminal/console window" part?