Restart/Shutdown anyway fails when a program is still running

Bug #949555 reported by crep4ever
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
New
Undecided
Unassigned

Bug Description

I use emacs in a server/client mode and when I try to shutdown or restart, the dialog "a program is still running" (see attachment 1) appears and prevents the action.

The problem is that the dialog presents an action labeled "restart anyway" that does not work. It kills the "still running" process (my emacs server) and closes the dialog but does not shutdown/restart. You have to click on "shutdown" a second time and then it behaves correctly.

Now, this is a bug as the action is not performed as indicated but I think that we shouldn't even see this dialog in the first place. At least, there could be a counter that would trigger automatically the shutdown/restart action after a brief delay.

If it can help someone to reproduce the bug, I use this alias in ~/.bashrc :

alias emacs='emacsclient -c -a ""'

Revision history for this message
crep4ever (romain-goffe) wrote :
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1079820 , so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.