← Back to team overview

desktop-packages team mailing list archive

[Bug 132788] Re: gedit doesn't notice that a file has been renamed

 

** Changed in: gedit
   Importance: Medium => Wishlist

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/132788

Title:
  gedit doesn't notice that a file has been renamed

Status in Light-Weight Text Editor for Gnome:
  Confirmed
Status in gedit package in Ubuntu:
  Triaged

Bug description:
  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
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/132788/+subscriptions