unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Minimized Emacs and Gnome logout
@ 2006-08-18 16:10 Chong Yidong
  2006-08-19  7:35 ` Jan D.
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2006-08-18 16:10 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minimized Emacs and Gnome logout
  2006-08-18 16:10 Minimized Emacs and Gnome logout Chong Yidong
@ 2006-08-19  7:35 ` Jan D.
  2006-08-19 20:51   ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: Jan D. @ 2006-08-19  7:35 UTC (permalink / raw)
  Cc: emacs-devel

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?

    Jan D.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minimized Emacs and Gnome logout
  2006-08-19  7:35 ` Jan D.
@ 2006-08-19 20:51   ` Chong Yidong
  2006-08-20 16:40     ` Jan D.
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2006-08-19 20:51 UTC (permalink / raw)
  Cc: emacs-devel

"Jan D." <jan.h.d@swipnet.se> 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).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minimized Emacs and Gnome logout
  2006-08-19 20:51   ` Chong Yidong
@ 2006-08-20 16:40     ` Jan D.
  2006-08-23 16:25       ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: Jan D. @ 2006-08-20 16:40 UTC (permalink / raw)
  Cc: emacs-devel

Chong Yidong wrote:
> "Jan D." <jan.h.d@swipnet.se> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Minimized Emacs and Gnome logout
  2006-08-20 16:40     ` Jan D.
@ 2006-08-23 16:25       ` Jan Djärv
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2006-08-23 16:25 UTC (permalink / raw)
  Cc: Chong Yidong, emacs-devel



Jan D. skrev:
> Chong Yidong wrote:
>>
>> 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.
> 

I've looked at this now.  Emacs does exactly the same thing w.r.t. the session 
manager regardless of it is iconfied or not.  I think this is a Gnome bug.

	Jan D.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-23 16:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-18 16:10 Minimized Emacs and Gnome logout Chong Yidong
2006-08-19  7:35 ` Jan D.
2006-08-19 20:51   ` Chong Yidong
2006-08-20 16:40     ` Jan D.
2006-08-23 16:25       ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).