From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame Date: Mon, 27 Feb 2017 12:56:16 -0500 Message-ID: <878torwm9r.fsf@moondust.localdomain> References: <87a89c51qb.fsf@moondust.localdomain> <831suoub86.fsf@gnu.org> <87lgswmi6a.fsf@moondust.localdomain> <83vas0rozb.fsf@gnu.org> <87k28fso3o.fsf@moondust.localdomain> <83o9xrsmrd.fsf@gnu.org> <874lzjsh8t.fsf@moondust.localdomain> <87y3wvqqos.fsf@moondust.localdomain> <58B13EA5.3000505@gmx.at> <87shn0mux2.fsf@moondust.localdomain> <8760jwmkym.fsf@moondust.localdomain> <58B3DD98.6050701@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1488218235 23914 195.159.176.226 (27 Feb 2017 17:57:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2017 17:57:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 25851@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 18:57:12 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 1ciPXr-0005kV-Bj for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 18:57:11 +0100 Original-Received: from localhost ([::1]:55442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciPXx-00057o-3A for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 12:57:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciPXl-00053m-Rx for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 12:57:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciPXi-0007q9-Ov for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 12:57:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciPXi-0007po-LH for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 12:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ciPXi-0004E4-EB for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 12:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2017 17:57: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.148821818616196 (code B ref 25851); Mon, 27 Feb 2017 17:57:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 27 Feb 2017 17:56:26 +0000 Original-Received: from localhost ([127.0.0.1]:58633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciPX7-0004D9-Ak for submit@debbugs.gnu.org; Mon, 27 Feb 2017 12:56:26 -0500 Original-Received: from mail-io0-f175.google.com ([209.85.223.175]:34132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciPX5-0004Cx-PD for 25851@debbugs.gnu.org; Mon, 27 Feb 2017 12:56:24 -0500 Original-Received: by mail-io0-f175.google.com with SMTP id 90so33380352ios.1 for <25851@debbugs.gnu.org>; Mon, 27 Feb 2017 09:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=bU6FLIZzyyGUQFQb2NqETSKBXHFCjHwgEM8iqJY035Q=; b=PItO26Rkdo4z10fUzte+CuAEbLh1s0BatS3x4KJZeeiVhE309XLVSZtpy9DasNKUqH gUhQXnN4p098auNUKjHc0ha5wji43VZeMnE+XAosPhVNU2voZrlsZ0HPm4TXE7KJKE+I VogMJENhHyf6qsAaKDxcbk1STGTL0ku7y4VyHx98UaVDjAdWpIKqS7Sn3QIRCWfcVhJ1 RwuqVQ5wfxiZNF/g6efvcP4ET6t9fJY3UG9uHnGNfHAtAKgt1sLuwxS0QbQHoFdpLKvS lj608tY17tz1tLe3LVIohrcIrD6C5qPAAS2Q4iMtHbikrDiCMMfseL9TzsO7WMpSKZrM BSqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=bU6FLIZzyyGUQFQb2NqETSKBXHFCjHwgEM8iqJY035Q=; b=ltZdccf9LxRoY98imvR8OdtETA91mU8ZGBUlso88fWwTiDEtfOGmPtDv01veGYYITP XN8u9FwLfasPFt/U0FhlRywsW/RJNxhbuO5Uw3VShvHcwiz8P1s7PzDEHgB55rN+FVmd krvj69eqjN5Fsuir1P/eH+BxgOPMOTi75aMfDPrnGKpEqdh+H4X6S7J1dZUG3M74YrLP Cppn59aEZ79SSG6Ed8Nz4fqB6lVDf4rEYlHiN9cgaMxaEok42hjAEIZfJFH7vOIXl56z RWr2K0AXGM050HHpydr4xbP3kVlamT8L41kw/bThTD6nsPfoOu0p4vQQDjJFqX5RgSl+ bcQA== X-Gm-Message-State: AMke39mmzUcDDGQvN40qMr3nqBKpZHVMarI8DLrs/JTXZ6f/l9J0lZX5Eu1h0trm915SqA== X-Received: by 10.107.30.75 with SMTP id e72mr14640091ioe.62.1488218177880; Mon, 27 Feb 2017 09:56:17 -0800 (PST) Original-Received: from moondust.localdomain.nodomain.none ([72.143.113.194]) by smtp.gmail.com with ESMTPSA id b88sm4562040itd.21.2017.02.27.09.56.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Feb 2017 09:56:17 -0800 (PST) In-Reply-To: <58B3DD98.6050701@gmx.at> (martin rudalics's message of "Mon, 27 Feb 2017 09:04:40 +0100") 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:129891 Archived-At: At 09:04 +0100 on Monday 2017-02-27, martin rudalics wrote: > > Thanks. Please try now with a small init file containing a > =E2=80=98make-frame=E2=80=99 call with the parameters from these attachme= nts. > For your first entry I'd suggest to start with bisecting the > parameter list in calls like > > (make-frame > '((font-backend xft x) > (font . "-Bits-Bitstream Vera Sans Mono-normal-normal-normal-*-11-*-*-= *-m-0-iso10646-1") > (font-parameter) > (border-width . 0) > (internal-border-width . 0) > (right-divider-width . 0) > (bottom-divider-width . 0) > (vertical-scroll-bars . right) > (horizontal-scroll-bars) > (foreground-color . "wheat") > (background-color . "black") > (mouse-color . "black") > (border-color . "black") > (screen-gamma) > (line-spacing) > (left-fringe . 8) > (right-fringe . 0) > (scroll-bar-foreground) > (scroll-bar-background) > (menu-bar-lines . 0) > (tool-bar-lines . 0) > (title) > (wait-for-wm . t) > (tool-bar-position . top) > (icon-type . t) > (auto-raise) > (auto-lower) > (cursor-type . box) > (scroll-bar-width . 16) > (scroll-bar-height . 0) > (alpha) > (fullscreen . fullboth) > (display-type . color) > (background-mode . dark) > (cursor-color . "thistle") > (visibility . t) > (sticky) > (frameset--id . "8B00-9439-83D1-B48B") > (frameset--mini t) > (modeline . t) > (minibuffer . t) > (unsplittable) > (icon-name) > (display . ":0") > (explicit-name) > (fullscreen-restore . maximized) > (height . 59) > (width . 191) > (left . 0) > (top . 0))) > >From `emacs -Q' the above call to `make-frame' causes the GTK warning message. After bisecting, I find that if I omit the last two lines, the GTK warning is not emitted. Either or both of these two lines is sufficient to produce the warning message: $ src/emacs -Q --eval "(make-frame '((left . 0)))" (emacs:13000): Gtk-WARNING **: gtk_window_parse_geometry() called on a wi= ndow with no visible children; the window should be set up before gtk_windo= w_parse_geometry() is called. $ src/emacs -Q --eval "(make-frame '((top . 0)))"=20=20=20=20 (emacs:13008): Gtk-WARNING **: gtk_window_parse_geometry() called on a wi= ndow with no visible children; the window should be set up before gtk_windo= w_parse_geometry() is called. $ src/emacs -Q --eval "(make-frame '((left . 0)(top . 0)))" (emacs:13020): Gtk-WARNING **: gtk_window_parse_geometry() called on a wi= ndow with no visible children; the window should be set up before gtk_windo= w_parse_geometry() is called. And finally, $ src/emacs -Q --eval "(make-frame)" produces no warning. > IIUC you saved two frames. Please try whether you can reproduce the > problem with one frame only. If not, you need two =E2=80=98make-frame=E2= =80=99 calls. There is no warning message issued for the first/main Emacs frame. So there is one less warning message than there are frames restored from the desktop file. So in my previous examples I had three frames and two warning messages. I hope that helps clarify things. N.