From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Minimized Emacs and Gnome logout Date: Sun, 20 Aug 2006 18:40:37 +0200 Message-ID: <44E89085.1050605@swipnet.se> References: <87hd0a6n3w.fsf@stupidchicken.com> <44E6BF42.20701@swipnet.se> <87k654witj.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156100616 29565 80.91.229.2 (20 Aug 2006 19:03:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Aug 2006 19:03:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 20 21:03:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GEsa2-00057y-S5 for ged-emacs-devel@m.gmane.org; Sun, 20 Aug 2006 21:03:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEsa1-0001t9-59 for ged-emacs-devel@m.gmane.org; Sun, 20 Aug 2006 15:03:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GEqMQ-0003NS-3D for emacs-devel@gnu.org; Sun, 20 Aug 2006 12:41:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GEqMM-0003Jq-PS for emacs-devel@gnu.org; Sun, 20 Aug 2006 12:41:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEqMM-0003J3-0H for emacs-devel@gnu.org; Sun, 20 Aug 2006 12:41:14 -0400 Original-Received: from [81.228.9.179] (helo=av6-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GEqTX-0003ve-7p for emacs-devel@gnu.org; Sun, 20 Aug 2006 12:48:40 -0400 Original-Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 7A6353819B; Sun, 20 Aug 2006 18:41:10 +0200 (CEST) Original-Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 6C40537E46; Sun, 20 Aug 2006 18:41:10 +0200 (CEST) Original-Received: from coolsville.localdomain (81-235-205-204-no59.tbcn.telia.com [81.235.205.204]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 20D7437E44; Sun, 20 Aug 2006 18:41:09 +0200 (CEST) User-Agent: Thunderbird 1.5.0.5 (X11/20060719) Original-To: Chong Yidong In-Reply-To: <87k654witj.fsf@stupidchicken.com> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58557 Archived-At: Chong Yidong wrote: > "Jan D." writes: > > >> Chong Yidong skrev: >> >>> 1. Run Emacs in Gnome >>> 2. Iconify (minimize) the Emacs window, >>> (e.g. by clicking on its taskbar entry) >>> 3. Gnome menu -> Quit -> Log Out >>> 4. Nothing happens. >>> 5. Now de-iconify Emacs (e.g. by clicking on its taskbar entry). >>> 6. Gnome logs out. >>> >>> `kill' and `kill -9' seem to work fine on the iconified Emacs, so is >>> there some other signal that the Gnome logout sends that we are not >>> responding properly to? >>> >>> FWIW, I'm using the version of Gnome that comes with Ubuntu Dapper. >>> This behavior has been present for several months, but I haven't been >>> able to identify the problem. >>> >> I can not reproduce this on Ubuntu Dapper. But sometimes the session >> manager hangs, and just moving the mouse will continue the logout. Have >> you tried that (i.e. move the mouse instead of deiconify Emacs)? Can >> you try KDE and see if you have the same problem? >> >> What are your settings for sessions in Gnome, i.e. save at logout, ask >> at logout and so on? >> > > I investigated some more, and found that this is related to me turning > off the "use Nautilus to draw the desktop" feature in gconf-editor -> > apps -> nautilus -> preferences -> show desktop. With Nautilus turned > on, logging out works. > > Chances are, this is a Gnome bug (though as far as I know, it only > affects Emacs; an iconified xterm logs out fine). I see this now, thanks for the clarification. I don't have to deiconfy Emacs for the logout to continue, I just need to give focus to some window, for example a gnome-terminal window. I beleive it is a bug in the Gnome version delivered with Ubuntu. This error does not happen with Fedora Core 5. I will debug this a bit further when I have more time. Jan D.