Closed Bug 333479 Opened 20 years ago Closed 8 years ago

Make bookmarks.html not get copied into new profiles

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: brettw, Unassigned)

Details

Having this file is confusing and it shouldn't be there. People might mistaken it for their bookmarks and back it up instead of the real file.
Priority: -- → P3
Target Milestone: --- → Firefox 2 beta1
Assignee: bugs → nobody
should just import directly from the default profile. see also patch in bug 381365.
Target Milestone: Firefox 2 beta1 → ---
Priority: P3 → P4
Whiteboard: [good first bug]
But don't break upgrading old profiles!
So we just delete the code for creating a bookmarks.html in a new profile and make sure to import the bookmarks.html from defProf when bookmarks.html doesn't exist? Could somebody please assign me to this bug?
Assignee: nobody → michaelkohler
We should just make sure bookmarks.html doesn't get copied from default profile folder, right? Isn't this http://mxr.mozilla.org/mozilla-central/source/profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp#249 ? When I delete these lines (just that else if) and recompile it, it still creates a bookmarks.html when creating a new profile.
Whiteboard: [good first bug]
Assignee: michaelkohler → nobody
New approach: * Taking bookmarks.html out of "profDef" and put it into an other folder (which one?). * So it wouldn't get copied, upgrading old profile wouldn't break. * We check if there is a bookmarks.html in the profile folder, if so, we take this one for generate the sqlite. If not, we take the default bookmarks.html from the other folder (see * number 1) How's this one?
we need to know what is copying it before taking any decision...
> * So it wouldn't get copied, upgrading old profile wouldn't break. "it wouldn't get copied" = the bookmarks.html file wouldn't get copied from "profDef" to the profile folder when creating a new profile. (sorry)
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
Priority: P4 → --
I created a couple of new profiles today for some other testing. Neither of them has a bookmarks.html. Looks like this was probably fixed by bug 1235107 or maybe something even earlier.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.