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: Wed, 01 Mar 2017 15:05:46 -0500 Message-ID: <87h93ciwyt.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> <83fuj2smzr.fsf@gnu.org> <87wpccmv71.fsf@moondust.localdomain> <87d1e4mq48.fsf@moondust.localdomain> <83innvppz4.fsf@gnu.org> <874lzfwkv0.fsf@moondust.localdomain> <58B54703.7060103@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488398843 9395 195.159.176.226 (1 Mar 2017 20:07:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 20:07:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (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 Wed Mar 01 21:07:20 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 1cjAWq-0001bA-4c for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 21:07:16 +0100 Original-Received: from localhost ([::1]:48552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjAWw-0001AY-6y for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 15:07:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjAVi-0000RF-MQ for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 15:06:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjAVf-0002kk-7q for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 15:06:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjAVe-0002jz-DM for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 15:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cjAVe-0000by-74 for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 15:06: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: Wed, 01 Mar 2017 20:06: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.14883987572340 (code B ref 25851); Wed, 01 Mar 2017 20:06:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 1 Mar 2017 20:05:57 +0000 Original-Received: from localhost ([127.0.0.1]:34848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjAVY-0000be-91 for submit@debbugs.gnu.org; Wed, 01 Mar 2017 15:05:57 -0500 Original-Received: from mail-it0-f65.google.com ([209.85.214.65]:34428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjAVW-0000bP-An for 25851@debbugs.gnu.org; Wed, 01 Mar 2017 15:05:54 -0500 Original-Received: by mail-it0-f65.google.com with SMTP id r141so6177307ita.1 for <25851@debbugs.gnu.org>; Wed, 01 Mar 2017 12:05:54 -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; bh=qdLxWG1kRE1tYghgSXa0YQDCoAuz0QXdnXbaTBXTgP8=; b=A9t4u/TS19pkMqjj59FXuPhLcExriiaF5mkGO4Ah2d+uBl2jzzaTL/GBt7Y9lrV92G NGTpHHMPzO6YPAo23uecVlv7x8RVZx2D1sXOvt5KOcnhub1i2mx9uzH4ZwuQdyy8Qfg2 Pyxco4n0e5mCekTO1y/+rtq1rBtdvKVvM0sJktG/SfY07uON/JNiq3rv+myFuG6/FMSy Xwu3XhGZo8RfaPsLcw6sdfUkz6YmwtO/MaTPyv7a2ngYPHyPhTCvxAI1cOc6IVXaAMxJ eMDO/MhJSRi60giXTXgm2VYKZtRN15hR+yo4vsJBGUhlF/1lxzAL90WKwyAK396fmJQ1 i5yQ== 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; bh=qdLxWG1kRE1tYghgSXa0YQDCoAuz0QXdnXbaTBXTgP8=; b=dJOVg/WzlzR8knZ1gJYzecuSpptbbDoQ2C2Gk5zL9rAXBAaH0gt9aPSCip28luzUGe fsmIzLyfSBtu16d3B4h7QB2i97/NDu9ck+LrBzW6Q5hjfVJGAJE76chEDbeGQ4q7tgHW c9Rl4qMrhDhfyO1y+8bf7PgRrvZQX6QrjQeK1CDAJw6bifWbxf/m8UrUadQi/mjyq9dJ EPwiBm0X6W+3S8HtcDe95iHWQlbs87tCrl/oKBYiABrpr867CEMNlJ7UEPR0s6yiCuxV Oln6Dd5tyMNHj18bX5jhQYoLPKd9ZYSLjb0rA7KQwnKXiObT81Ij4vm9Mm/FJGT1Tg83 EsIQ== X-Gm-Message-State: AMke39nonbuUNVMQ5QyIdh+0yh0v+HXMRzlUK7taEoQw9HkBbzOF7Vmh1/HpXWsb8V01ow== X-Received: by 10.36.219.10 with SMTP id c10mr6203409itg.1.1488398748810; Wed, 01 Mar 2017 12:05:48 -0800 (PST) Original-Received: from moondust.localdomain.nodomain.none ([72.143.113.194]) by smtp.gmail.com with ESMTPSA id v1sm2500222iof.52.2017.03.01.12.05.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Mar 2017 12:05:47 -0800 (PST) In-Reply-To: <58B54703.7060103@gmx.at> (martin rudalics's message of "Tue, 28 Feb 2017 10:46:43 +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:130004 Archived-At: At 10:46 +0100 on Tuesday 2017-02-28, martin rudalics wrote: >> Rather that trying to cover up the warning, can we not just do what the >> library wants; is it impossible for us to call "gtk_widget_show_all() on >> the contents and gtk_window_set_geometry_hints() on the window" before >> calling gtk_window_parse_geometry()? > > Did you try? I suppose that gtk_widget_show_all would introduce some > additional flicker. No, sorry, I didn't try. This is my first glimpse of any of the Emacs window management code, and I'm not familiar with the GTK. Is there documentation anywhere giving an overview of this area of Emacs? For example, the "Commentary" section in frame.el is empty. The question above was simply from a higher-level perspective. It looks like we're not using the library in the way it is designed to be used, so I assumed that there must be a reason why we are not. And I wondered if that reason might not be worth reconsidering. As for additional flicker, when I start Emacs things jump about like a scalded cat, including a phantom random vertical scroll bar that often makes a momentary appearance in the middle of my display. I've never really understood why Emacs does this then other programs seem to manage without such problems, but I've come to accept the behaviour -- after all, it's only momentary while Emacs starts up -- and I don't think additional flicker would necessary be much worse! N.