GNOME Bugzilla – Bug 561309
Existing bookmarks in nautilus disappear when the disk partition gets full
Last modified: 2021-06-18 15:15:15 UTC
Please describe the problem: I use the bookmarks in nautilus frequently. I have 10 to 15 bookmarks. But whenever my hard disk gets full, the bookmarks disappear. This is the third time this is happening. I checked the ~/.gtk-bookmarks file. It is empty. Worser, there is no backup for this file. Hence I have to rebuild my bookmarks from scratch every time this happens, which is painful. The first time this happened, I observed that many gnome applications were behaving strangely as well. Crashing or not-responding in this circumstance is ok. But loosing data should be avoided. Maybe at least if a backup was present, we could restore from it. This problem will now be experienced by more people with the advent of netbooks with limited space (I myself am using an eee-pc with a 80GB HDD which fills up frequently). I installed the OS (ubuntu 8.04) in a single partition with a swap partition. May be having a separate partition for /tmp will solve the problem. Have not tried it yet. But anyway this should not happen either way. Steps to reproduce: 1. Install Ubuntu 8.04 in a single partition. 2. Open Nautilus and bookmark a couple of items. 3. Open ~/.gtk-bookmarks file and observe that the bookmarks are there. 4. Fill up the disk (/ partition). Actual results: 5. Open Nautilus and observe that the bookmarks are lost. 6. Open ~/.gtk-bookmarks file and observe that the bookmarks are lost. Expected results: The bookmarks should not disappear. Does this happen every time? Yes. Other information:
This happens for the way Nautilus has of using the .gtk-bookmarks file, i.e. reading and writing the full file when saving. We need to consider this when fixing bug 532911.
I confirm this bug for Nautilus 2.24.1, Ubuntu Intrepid. It is really very annoying losing data and configuration files :( Should be fixed ASAP.
The same bug in Ubuntu Karmic Koala 9.10. Nautilus 2.28.1
*** Bug 553860 has been marked as a duplicate of this bug. ***
See my comment in the duplicate. Now the code has changed, however, the current location where I suspect the error, is here: http://git.gnome.org/browse/nautilus/tree/src/nautilus-bookmark-list.c?id=e6a7039162d4eb37afe329cc4d8378f9edb446c7#n591 My guess is that FALSE (for make_backup) should be TRUE.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Files (nautilus), then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/nautilus/-/issues/ Thank you for your understanding and your help.