Bug#268623: gedit: Autosave continues to save files that are no
longer open
Gaetan de Menten
Gaetan de Menten <ged@bugfactory.org>, 268623@bugs.debian.org
Sat, 28 Aug 2004 15:15:49 +0200
Package: gedit
Version: 2.6.2-1
Severity: important
When the autosave feature is used, and a file is "saved as", it seems to
continue to autosave the old filename in addition to (the expected behavior)
to save the new filename. This can seem unimportant but it can cause (has caused)
data loss in some circumstance. I *think* the circumstance of this dataloss was
when I reopened the "old" filename and modified it: gedit seemingly kept
autosaving the old version of the file (as if it was still open), thus
loosing my modifications. hmmm, this probably isn't that clear so...
Say I am editing "aaaa.tex", it gets autosaved regularily as expected.
I save "aaaa.tex" (let's call it aaaa.tex version 1) and then
"save it as" "bbbb.tex". This new file now gets autosaved
as expected, BUT "aaaa.tex" keeps being saved too asif it was still open.
Then, I reopend "aaaa.tex" (in parallel to editing
"bbbb.tex" but this is probably irrelevant), and I modify it. The "aaaa.tex"
file is then regulary saved but, NOT the version I see on the screen.
It is the version 1 from above that is saved!
I hope it's clear now... (tell me if it's not, I'll try to reexplain)
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages gedit depends on:
ii gedit-common 2.6.2-1 light-weight text editor support f
ii libart-2.0-2 2.3.16-5 Library of functions for 2D graphi
ii libaspell15 0.50.5-3 The GNU Aspell spell-checker runti
ii libatk1.0-0 1.6.1-2 The ATK accessibility toolkit
ii libbonobo2-0 2.6.2-4 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.6.1-1 The Bonobo UI library
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libeel2-2 2.6.2-1 Eazel Extensions Library (for GNOM
ii libgail-common 1.4.1-1 GNOME Accessibility Implementation
ii libgail17 1.4.1-1 GNOME Accessibility Implementation
ii libgconf2-4 2.6.3-2 GNOME configuration database syste
ii libglade2-0 1:2.4.0-1 Library to load .glade files at ru
ii libglib2.0-0 2.4.5-1 The GLib library of C routines
ii libgnome2-0 2.6.1.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.6.1.1-2 A powerful object-oriented display
ii libgnomeprint2.2-0 2.6.2-2 The GNOME 2.2 print architecture -
ii libgnomeprintui2.2-0 2.6.2-1 The GNOME 2.2 print architecture U
ii libgnomeui-0 2.6.1.1-3 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.6.1.1-5 The GNOME virtual file-system libr
ii libgtk2.0-0 2.4.4-2 The GTK+ graphical user interface
ii libgtksourceview1.0-0 1.0.1-2 Shared libraries for the GTK+ synt
ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.4.1-1 Layout and rendering of internatio
ii libpopt0 1.7-4 lib for parsing cmdline parameters
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management
ii libxml2 2.6.11-1 GNOME XML library
ii scrollkeeper 0.3.14-8 A free electronic cataloging syste
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- no debconf information