Bug#268623: marked as done (gedit: Autosave continues to save files that are no longer open)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 20 Jan 2005 05:18:10 -0800


Your message dated Thu, 20 Jan 2005 14:07:50 +0100
with message-id <20050120130750.GG28506@via.ecp.fr>
and subject line gedit: Autosave continues to save files that are no longer open
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Aug 2004 13:05:32 +0000
>From ged@bugfactory.org Sat Aug 28 06:05:32 2004
Return-path: <ged@bugfactory.org>
Received: from outmx010.isp.belgacom.be [195.238.3.233] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C12tg-0007IW-00; Sat, 28 Aug 2004 06:05:32 -0700
Received: from outmx010.isp.belgacom.be (localhost [127.0.0.1])
        by outmx010.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i7SD5QYx002147
        for <submit@bugs.debian.org>; Sat, 28 Aug 2004 15:05:27 +0200
        (envelope-from <ged@bugfactory.org>)
Received: from localhost.localdomain (19.88-201-80.adsl.skynet.be [80.201.88.19])
        by outmx010.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i7SD5NvR002122;
	Sat, 28 Aug 2004 15:05:23 +0200
        (envelope-from <ged@bugfactory.org>)
Message-Id: <200408281305.i7SD5NvR002122@outmx010.isp.belgacom.be>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gaetan de Menten <ged@bugfactory.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gedit: Autosave continues to save files that are no longer open
X-Mailer: reportbug 2.64
Date: Sat, 28 Aug 2004 15:15:49 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

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

---------------------------------------
Received: (at 268623-done) by bugs.debian.org; 20 Jan 2005 13:07:53 +0000
>From lool@pig.zood.org Thu Jan 20 05:07:53 2005
Return-path: <lool@pig.zood.org>
Received: from pig.zood.org [194.242.112.24] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Crc2S-0006dE-00; Thu, 20 Jan 2005 05:07:52 -0800
Received: by pig.zood.org (Postfix, from userid 1000)
	id 2F2604C094; Thu, 20 Jan 2005 14:07:50 +0100 (CET)
Date: Thu, 20 Jan 2005 14:07:50 +0100
From: =?iso-8859-1?Q?Lo=EFc?= Minier <lool@dooz.org>
To: Gaetan de Menten <ged@bugfactory.org>,
	268623-done@bugs.debian.org
Subject: Re: gedit: Autosave continues to save files that are no longer open
Message-ID: <20050120130750.GG28506@via.ecp.fr>
References: <200408281305.i7SD5NvR002122@outmx010.isp.belgacom.be> <20050120082437.GA19885@bugs.debian.org> <1106227443.1125.7.camel@anakin>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <1106227443.1125.7.camel@anakin>
Content-Transfer-Encoding: quoted-printable
Delivered-To: 268623-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

     Hi,

Gaetan de Menten <ged@bugfactory.org> - Thu, Jan 20, 2005:

> I tried to reproduce the problem with gedit 2.8.2 just now and failed t=
o
> do so (it seems to be fixed).

 I am glad it's fixed, and I'm closing the bug, thanks!

--=20
Lo=EFc Minier <lool@dooz.org>
"Neutral President: I have no strong feelings one way or the other."