Closed Bug 189651 Opened 23 years ago Closed 23 years ago

browser saves new (sequentially numbered) bookmarks-*.html file on every close.

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 157152

People

(Reporter: zuk123, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 the browser saves a new bookmarks file every time it closes including popup windows. the file names take the form " bookmarks-*.html " where * is sequentially increasing numbers. I had 300+ bookmarks files when I finally noticed. this results in not being able to save bookmarks since the original bookmarks.html file is the file opened when the browser starts. I installed 1.2.1 in a clean directory with nothing but my bookmarks.html from my netscape 4.78 install. Install correctly showed those bookmarks (from my 4.78 install) in my new mozilla install, I can edit them, make a folder my "personal toolbar folder" and the changes are applied to the running instance of the browser, but after closing and restarting, the changes are gone. In fact, they've been saved in a bookmarks-*.html file, but this doesn't help because this folder is never opened again. Reproducible: Always Steps to Reproduce: 1.start mozilla, add a new bookmark(or not) 2.open file manager to the proper profile folder 3.close mozilla 4.watch a new bookmarks-*.html appear in the profile's folder, whith * being one number higher than any other bookmarks.html file. 5.reopen mozilla, confirm that your original unchanged bookmarks are displayed. 6.close mozilla 7.watch another bookmarks-*.html file appear. Actual Results: any changes to bookmarks are saved in the new, highest number file. a new bookmarks file is generated everytime mozilla closes, including every popup window. Expected Results: saved changes to "bookmarks.html" so they would be available on restarting mozilla. was using the default theme, on a clean install of win2k with all current service packs applied. had previously installed netscape 7, noticed a similar problem (ie. changes to bookmarks didn't appear to be saved.) Fully uninstalled netscape before installing mozilla. In both cases, I started with a copy of the bookmarks file from my previous (pre-hard disk replacement) install of netscape 4.78 in the profile's directory.
Confirmed. I was seeing this in 1.2, but only to a small degree: bookmarks-1.html and bookmarks-2.html would be created, but that'd be about it. In Mozilla 1.3b, I'm currently up to 28 270k files, all named sequentially, as per the original report.
In hindsight, I'm now having some difficulty nailing down reproduction. After seeing someone had written a bug report for this, I closed Mozilla and Quickstart. Then, I deleted all bookmarks*.html files EXCEPT for the last one (in my case, bookmarks-28.html). I renamed that file to bookmarks.html, restarted Mozilla (Quickstart became enabled again), and I've yet to reproduce the multiple file issue, either with Quickstart on or off. If I find more, I'll let you know.
Zukley: Check to see if you have a "bookmarks.bk!" file in your Profile directory. I seem to recall deleting that file when I deleted all my other bookmarks-*.html instances (after which I couldn't reproduce the problem). I suspect the "bookmarks.bk!" is some some of lock file or similar "don't edit bookmarks.html" function, which then causes Moz to start creating new sequentially named files (which are only created, and never edited).
*** This bug has been marked as a duplicate of 157152 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.