After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346575 - data loss when disk is full
data loss when disk is full
Status: VERIFIED FIXED
Product: anjuta
Classification: Applications
Component: plugins: editor: scintilla
2.0.x
Other All
: Normal critical
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-04 18:16 UTC by hariseldon78
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description hariseldon78 2006-07-04 18:16:24 UTC
Please describe the problem:
data loss when disk is full

Steps to reproduce:
1. fill your disk
2. open a file 
3. save it



Actual results:
the file is empty

Expected results:
the file shouldn't be saved

Does this happen every time?
yes

Other information:
Comment 1 Johannes Schmid 2006-07-19 11:33:57 UTC
Can you please tell us which editor you are using (scintilla or gtksourceview)?

Thanks
Comment 2 hariseldon78 2006-07-19 12:36:09 UTC
(In reply to comment #1)
> Can you please tell us which editor you are using (scintilla or gtksourceview)?
scintilla

roby
Comment 3 Naba Kumar 2006-10-27 11:47:21 UTC
This is a tricky situation.

You only know disk is full when there is a write error during the file save and by that time, the original file was already deleted. How does it work with other editors (e.g. gedit, emacs etc.)?
Comment 4 Johannes Schmid 2006-10-27 14:07:19 UTC
Other editors handle do this:

- Save file to filename~
- Check if this worked:
  If file was saved: move filename~ to filename
  Else Error
Comment 5 Naba Kumar 2006-10-29 18:37:58 UTC
Fixed in CVS HEAD 2006-10-29
Comment 6 Naba Kumar 2006-12-04 10:01:26 UTC
Closing all fixed bugs. Sorry for the mass update :( ...