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: Mon, 27 Feb 2017 20:37:06 +0200 Message-ID: <83h93fpjjh.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1488220736 16522 195.159.176.226 (27 Feb 2017 18:38:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2017 18:38:56 +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 Mon Feb 27 19:38:52 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 1ciQC7-0003dg-NI for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 19:38:47 +0100 Original-Received: from localhost ([::1]:55686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciQCD-0006Hl-NY for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 13:38:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciQBR-0005m4-N3 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:38:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciQBO-0003od-K8 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:38:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciQBO-0003oZ-GM for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ciQBO-0005Bo-9z for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:38: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: Mon, 27 Feb 2017 18:38: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.148822064919910 (code B ref 25851); Mon, 27 Feb 2017 18:38:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 27 Feb 2017 18:37:29 +0000 Original-Received: from localhost ([127.0.0.1]:58650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciQAr-0005B4-AA for submit@debbugs.gnu.org; Mon, 27 Feb 2017 13:37:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciQAp-0005As-Uk for 25851@debbugs.gnu.org; Mon, 27 Feb 2017 13:37:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciQAj-0003eW-K7 for 25851@debbugs.gnu.org; Mon, 27 Feb 2017 13:37:22 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciQAd-0003d3-Lg; Mon, 27 Feb 2017 13:37:15 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2866 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ciQAc-00056N-Qr; Mon, 27 Feb 2017 13:37:15 -0500 In-reply-to: <874lzfwkv0.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:129893 Archived-At: > From: nljlistbox2@gmail.com (N. Jackson) > Cc: 25851@debbugs.gnu.org, Martin Rudalics > Date: Mon, 27 Feb 2017 13:26:43 -0500 > > At 18:18 +0200 on Monday 2017-02-27, Eli Zaretskii wrote: > > > Unless Martin will be able to resolve the issue "properly", I guess > > the only way of shutting up the warning is to use > > g_log_set_writer_func to temporarily set the glib log writer function > > to a dummy one that does nothing, then restore the original writer > > function. That's gross, but what else can be done when you deal with > > libraries which think they are smarter than you are?.. > > > > Thanks. > > [I'm sure your question is rhetorical, but if it weren't, at one time I > would have said the what could be done is to leave the world of > paternalistic proprietary software and use Free software instead! Sadly, > the paternalistic-proprietary-software thinking has infected Free > software and we increasingly see libraries and tools that do what they > think the user should want them to do, rather than flexibly doing what the > user asks them to do.] Hear, hear. > 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()? That's what I meant with "resolve the issue properly". Hopefully, Martin will be able to rescue us from ourselves (and from glib's log tyranny).