Public bug reported:
https://launchpad.net/malone/bugs/33087

Affects: gedit (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Description:
Normally, if you have an unsaved document in gedit and you attempt to
log out, gedit will halt the log out process and present a dialog asking
do you want to save and logout, don't save and logout or cancel the
logout. When a restart is initiated using the purple arrows in the
notification area gedit does not pop this dialog box up and instead
crashes.

Steps to reproduce:
1. Start gedit .
2. Type 'a' so the document becomes new and unsaved.
3. Run /usr/bin/update-manager as root.
4. Ensure that an update that will suggest a restart (e.g. a kernel update) is 
selected and click Install Updates.
5. After the updates are installed an icon containing purple arrows will appear 
in the notification tray. Click on it.
6. In the Restart Required dialog choose the "Restart Now" button.

Expected results:
gedit to pop up a dialog saying: 'Save the changes to document "Unsaved 
Document 1" before closing?' with the options of "Logout without saving", 
"Cancel Logout" and "Save" or for gedit to save recovery files so that the work 
can be resumed when the system is restarted.

Actual results:
gedit briefly pops up a GNOME crash dialog before that closes by itself and the 
GNOME logs out and the computer restarts.

--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to