Open Bug 271437 Opened 20 years ago Updated 2 years ago

Option for Bookmarks Merge on Import

Categories

(Firefox :: Bookmarks & History, enhancement, P5)

enhancement

Tracking

()

Future

People

(Reporter: davetrainer, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I would like to "merge" a Bookmarks file when Importing, so that I can append
only those entries (including folders) which do not already exist.

Not sure if this operation should be separate from Import. A "don't Import
duplicates" option in the Import dialog would seem to have the same net effect.

Apologies if this is considered a duplicate of bug #10198, but this request
involves the action of Importing Bookmarks, not Bookmarking a page, so they
seemed distinct enough.


Reproducible: Always
Steps to Reproduce:
1. Click Bookmarks, Manage Bookmarks, File, Import...
2. Select "From File" and click Next
3. Browse to a Bookmarks file and click Open
Actual Results:  
All the Bookmarks in the file being Imported are appended to the current set of
Bookmarks.

Expected Results:  
There should be an option to merge, rather than append, the entries in the
Bookmarks file.
Assignee: vladimir → vladimir+bm
Valid RFE. See also bug 261744 and Seamonkey bug 18152 and bug 10198.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Version: unspecified → Trunk
*** Bug 306046 has been marked as a duplicate of this bug. ***
*** Bug 306165 has been marked as a duplicate of this bug. ***
Assignee: vladimir+bm → nobody
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
This bug is NOT solved at all.
Even in the most recent Firefox versions (3.0.x) when you import favorites from file the Toolbar bookmarks are NOT merged in the current folder... it CREATES a new folder UNDER Favorites... very strange behavior. Every time I do this operation I have to go to Organize Favorites and copy all the icons to the upper Toolbar Favorites folder and delete de new and empty duplicated Toolbar Favarites folder.
This may be a silly idea: I wonder if we can use the Sync mirror here, with a `:memory:` database, since it already does merging and deduping. `SyncedBookmarksMirror#store` expects items in a slightly different format (Sync records, not the JSON nodes that `PlacesUtils.promiseBookmarksTree` emits), and doesn't handle all bookmark properties. If this sounds interesting, though, it might not be much more work.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.