From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics 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 09:04:40 +0100 Message-ID: <58B3DD98.6050701@gmx.at> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1488182733 17386 195.159.176.226 (27 Feb 2017 08:05:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2017 08:05:33 +0000 (UTC) Cc: 25851@debbugs.gnu.org To: "N. Jackson" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 09:05:26 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 1ciGJ9-0003c4-Ux for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 09:05:24 +0100 Original-Received: from localhost ([::1]:50938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciGJG-0003Ea-0s for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 03:05:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciGIs-00032C-4l for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 03:05:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciGIq-00049W-LC for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 03:05:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciGIq-00049Q-H9 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 03:05:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ciGIp-0000OV-4Q for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 03:05:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2017 08:05:03 +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.14881826941490 (code B ref 25851); Mon, 27 Feb 2017 08:05:03 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 27 Feb 2017 08:04:54 +0000 Original-Received: from localhost ([127.0.0.1]:57477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciGIf-0000Ny-Pq for submit@debbugs.gnu.org; Mon, 27 Feb 2017 03:04:54 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:57463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciGIe-0000Nl-Jn for 25851@debbugs.gnu.org; Mon, 27 Feb 2017 03:04:53 -0500 Original-Received: from [192.168.1.100] ([213.162.68.43]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lu7ty-1cIEu01C7C-011PUC; Mon, 27 Feb 2017 09:04:46 +0100 In-Reply-To: <8760jwmkym.fsf@moondust.localdomain> X-Provags-ID: V03:K0:9kMJWIlHlYAjGeuRMhf2nMkdlaHJzdReQCvOSWe2f0fV4gHCY/p zX6XPqqXmCkYeiNBil5ww+5wFMjiwjZZyqQJmjxewp+WRnwkwnQHB9+YqGhpakjczHuI6Nt 8KoLn8JIORVrG2ZDR8t1GAh44U3inhawNMBsMUp5PAkKv21Xg8UUrQshqkPScTR9c3SMNwn uxJRSMghjvSxe7LAM4Haw== X-UI-Out-Filterresults: notjunk:1;V01:K0:SA83xmqndfI=:Pgi5yavRxETCXiFYq76QWd Q24oT5zpcQ0bIuFvkgZUYieroko7kSgqWN3/QUHStGAgfagt/0hBpX74xILZ7kS4wILQ3sGZx PEhFmLMIppMiv4U57UHe+4Eq3uCUOMVL0BmM5AXc0C5sbw8+yyYWDVABIzOwpmJ16DCoWl3UL YNDKG3O17GmnN35IYjZcea1hlEnHAKnKoT79S5jgdkTXMIJj+YYzv7+HjGx9e61tFM2AqQX8i 1TvnYQEdwo/n8h37NEE0WVC8ah9uNjW5S5OgO1JgJDaZbakj7MFe/sx+IjIoWs1udrV1R8ptM 96p2UbuhDJYxhdk+MsSZiZVqwi3S5MAWIvcAnk2CRgmD5BtKfGP5iYTGahz7JD3Nc7jDwU2/B zfhkIfXi4dSl3zdKMaxMwYEWNUPc5S9PSwXV1G/DUAd/VwwFBl2agseSk80r8aFFLLcIcA1zI rrhFQQdxfdS2eaEfCJDi4SC6KMsoXakNbNoUMgliBO5QRmS7mzgsRZmm4DH0rHRvQ0YyUQypX +ALb8pmhs8QYEbfSIusV4vNH0cAlJ4ZlETjCtcJhxSxXSei4xz8iN5Z5AMd6TwKPi4Tvmzg2i CgzYDMMShEzBNiw9PjxSUrM3++RW6NnZCfmK++CHhne54FEhwVdSGQjbjR7XeqGTpKR8YNm4Y zN6lP6/uSOaMzEZx9EoO2HlnmHTEqg/gr9h0JXy46t5TSDO48QnAhcmAI8tJDd3+gQeNpaOXC X2/nuzH3Dcm24/XrIFKdl95dRJuLgtfLKO1u6RSl8uJtPywvQmu+orsC8FqbK0np0NBeBJHV 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:129871 Archived-At: > With a desktop file specifying three frames, there seem to be two > calls to `make-frame-on-display' (when the second and third frames > are created). Each call ultimately results in one of the reported > GTK warning messages. > > Detailed backtraces at these two calls to `make-frame-on-display' > are attached. Thanks. Please try now with a small init file containing a =E2=80=98make= -frame=E2=80=99 call with the parameters from these attachments. 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))) Everything contained in these (((min-height . 4) (min-width . 21) (min-height-ignore . 2) (min-width-ignore . 21) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 52) (min-pixel-width . 147) (min-pixel-height-ignore . 26) (min-pixel-width-ignore . 147) (min-pixel-height-safe . 13) (min-pixel-width-safe . 28)) hc (pixel-width . 1366) (pixel-height . 755) (total-width . 195) (total-height . 58) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 686) (pixel-height . 755) (total-width . 98) (total-height . 58) (normal-height . 1.0) (normal-width . 0.5034246575342466) (buffer "gtkutil.c" (selected . t) (hscroll . 0) (fringes 8 0 nil) (margins 4) (scroll-bars nil 3 t nil 0 t) (vscroll . 0) (dedicated) (point . 25202) (start . 23482))) (leaf (last . t) (pixel-width . 680) (pixel-height . 755) (total-width . 97) (total-height . 58) (normal-height . 1.0) (normal-width . 0.4965753424657534) (buffer "gtkwindow.c" (selected) (hscroll . 0) (fringes 8 0 nil) (margins 5) (scroll-bars nil 3 t nil 0 t) (vscroll . 0) (dedicated) (point . 346800) (start . 346686)))) that is stuff prefixed by min-, hc, vc and leaf is hopefully irrelevant. The following ((background-color . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-predicate . :never) (buried-buffer-list . :never) (font . frameset-filter-shelve-param) (foreground-color . frameset-filter-sanitize-color) (fullscreen . frameset-filter-shelve-param) (GUI:font . frameset-filter-unshelve-param) (GUI:fullscreen . frameset-filter-unshelve-param) (GUI:height . frameset-filter-unshelve-param) (GUI:width . frameset-filter-unshelve-param) (height . frameset-filter-shelve-param) (outer-window-id . :never) (parent-id . :never) (tty . frameset-filter-tty-to-GUI) (tty-type . frameset-filter-tty-to-GUI) (width . frameset-filter-shelve-param) (window-id . :never) (window-system . :never) (name . :never) (left . frameset-filter-iconified) (minibuffer . frameset-filter-minibuffer) (top . frameset-filter-iconified)) might be relevant but if so we have to consult Juanma how to extract useful information from it. 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. Thanks again, martin