Comment 0 for bug 132788

Revision history for this message
Till Ulen (tillulen) wrote :

Binary package hint: gedit

When you edit a file in gedit and the file is renamed, gedit doesn't notice that the file on disk has disappeared. Instead, when trying to save a file that has been renamed, a warning should appear, similar to the yellow warning bar that appears when a file content has been modified by another program.

Steps to reproduce the problem:

1. Open a new file in gedit. Save it to ~/foobar
2. Rename the file ~/foobar to ~/foobar.new
3. Modify the file inside gedit (this step can be omitted)
4. Press the Save button

A new file ~/foobar is silently written. No indication is given to the user that the file was not there when saving.

Expected behavior:

Show a warning that the file has been renamed, moved, or deleted. Ask the user whether she really wants to save the file under the old name (to the old location). Better yet, determine what exactly happened to the file (was it renamed, moved, or deleted). If the file has been moved or renamed, suggest to save the file in the new location or under the new name, respectively.

ProblemType: Bug
Architecture: i386
Date: Thu Aug 16 00:52:51 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gedit
Package: gedit 2.18.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: gedit file:///home/users/alexkon/notebook/passwords/freechess.org
ProcCwd: /home/users/alexkon
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
Uname: Linux chronos 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux