From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#3145: 23.0.92; detaching GTK+ tool bar crashes emacs --daemon Date: Sun, 03 May 2009 01:35:46 +0200 Message-ID: <87bpqbqdrh.fsf@escher.local.home> References: <87hc07gdd2.fsf@cyd.mit.edu> <49F959F7.6030002@swipnet.se> <49FC7A02.5030208@swipnet.se> Reply-To: Stephen Berman , 3145@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1241308340 5414 80.91.229.12 (2 May 2009 23:52:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 May 2009 23:52:20 +0000 (UTC) Cc: 3145@emacsbugs.donarmstrong.com, Chong Yidong To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 03 01:52:10 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M0P05-0002g4-1y for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 May 2009 01:52:09 +0200 Original-Received: from localhost ([127.0.0.1]:54142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0P04-0001De-1T for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2009 19:52:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0Ozy-0001DN-O5 for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 19:52:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0Ozt-00018X-2Q for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 19:52:02 -0400 Original-Received: from [199.232.76.173] (port=59043 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0Ozs-00018G-EH for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 19:51:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41187) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0Ozr-0002yx-R0 for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 19:51:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n42NpqYX021865; Sat, 2 May 2009 16:51:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n42Ne8LL018164; Sat, 2 May 2009 16:40:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 02 May 2009 23:40:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3145 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3145-submit@emacsbugs.donarmstrong.com id=B3145.124130736417795 (code B ref 3145); Sat, 02 May 2009 23:40:08 +0000 Original-Received: (at 3145) by emacsbugs.donarmstrong.com; 2 May 2009 23:36:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n42NZxsb017788 for <3145@emacsbugs.donarmstrong.com>; Sat, 2 May 2009 16:36:01 -0700 Original-Received: (qmail invoked by alias); 02 May 2009 23:35:54 -0000 Original-Received: from i59F5B268.versanet.de (EHLO escher.local.home) [89.245.178.104] by mail.gmx.net (mp012) with SMTP; 03 May 2009 01:35:54 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1974GNVAZJ7iCkpEuXuMPc+CKWelkXUZHljeNwKsL P2aLKp5+iJ41Ju Original-Received: by escher.local.home (Postfix, from userid 1000) id 70C0D1D1576; Sun, 3 May 2009 01:35:47 +0200 (CEST) In-Reply-To: <49FC7A02.5030208@swipnet.se> ("Jan =?UTF-8?Q?Dj=C3=A4rv"'s?= message of "Sat, 02 May 2009 18:51:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 02 May 2009 19:52:02 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27634 Archived-At: On Sat, 02 May 2009 18:51:14 +0200 Jan Dj=C3=A4rv wrot= e: > Sorry, no workaround is possible. > The part in Gtk+ that handles detaching uses a hidden window which it sto= res > in a static variable. So it get created on the first display, but is sti= ll > used on the second, but that is not a valid window anymore: [...] > This is another instance of the "there is just one display and it is alwa= ys > open"-mindset of Gtk+. > > I have filed a Gtk+ bug on this > (http://bugzilla.gnome.org/show_bug.cgi?id=3D581110). Not sure what we sh= ould do > about this bug though. Keep it until Gtk+ fixes/rejects the bug report or > close it? As long as this does not change in GTK+ and no workaround is possible in Emacs, I (sadly) think you should seriously consider disabling detaching the tool bar in the GTK+ build. When used in conjunction with --daemon it is a ticking time bomb for data loss because of the crash it causes. I don't make this suggestion lightly, since detaching the tool bar is to me an acceptable workaround for the very annoying shrinking frame bug (see bug#3195), but precluding a crash and possible data loss should probably take precedence over avoiding annoyance. Steve Berman