gedit crashes when GNOME is logging out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug 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/
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.
Thanks for the report.
It might be tricky to get a backtrace for this one. Could you run gedit in a terminal with the following command and reproduce the crash, please?
gedit > ~/gedit_output.txt
If gedit produces any output relating to the crash, hopefully it should be captured in 'gedit_output.txt' in your home directory. If it is, please attach the file.
What version of the gedit package do you have installed?
Thanks