Gedit does not restore open tabs after crash correctly

Bug #1157253 reported by Vaclav Petras
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When Gedit crashes a bug report is generated and a dialog offers to relaunch application. If I choose to relaunch, a gedit window appears, however all tabs contains empty files. Only file names are correct. (It seams that all files are gone.)

In other words, only filenames are used instead of full path to restor tabs.

In the crash report, there was a command line key with the value with only file names (not with paths).

The possible reason could be that gedit was launched form cmd line not in home folder but the restored is launched in the home folder. (All files has the ~ in the brackets, so user can discover that these files are not files which were open.)

Note: The crash is not related to this ticked. This is bug is about restoring after crash.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gedit 3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-38.61-generic-pae 3.2.37
Uname: Linux 3.2.0-38-generic-pae i686
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: i386
Date: Tue Mar 19 16:28:09 2013
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: Upgraded to precise on 2012-05-10 (312 days ago)

Revision history for this message
Vaclav Petras (wenzeslaus) wrote :
Revision history for this message
Dominique Poulain (dominique-poulain) wrote :

Thanks for filing this bug.

The best I get, by way of a reproducer, on 14.04, with 3.10.4-0ubuntu4: sending SIGKILL to an gedit instance with several tabs open, I get a restored session, upon relaunch, that only features a single tab titled 'Untitled Document'. While this doesn't match your description, this differs from expected behaviour as well.

Could you please tell me if you reproduce on 14.04 with 3.10.4-0ubuntu4?

Changed in gedit (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gedit (Ubuntu) because there has been no activity for 60 days.]

Changed in gedit (Ubuntu):
status: Incomplete → Expired
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.